ArduPilot / ArduPilot/MissionPlanner
The calling thread must be STA
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 2.9k
- Avg merge
- 19h 16m
- Merged PRs (30d)
- 4
Description
#### Issue details
When I connect to a vehicle using TCP I get `System.InvalidOperationException: 'The calling thread must be STA, because many UI components require this.'` error
#### Screenshot

#### Steps to reproduce
1. Clone and build MP
2. Connect pixhwk and run mavros
3. Connect using tcp
#### Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ X ] Rover
[ ] Sub
#### Hardware type
pixhawk
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Rover TCP connection with a Pixhawk while running mavros, then capture the full InvalidOperationException stack trace and identify the UI operation reached from that path. Done means the same connection sequence completes without the calling-thread STA error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100