ArduPilot / ArduPilot/MissionPlanner

The calling thread must be STA

Open
#2,034 0 comments 0 reactions 0 assignees View on GitHub
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
![untitled](https://user-images.githubusercontent.com/8853887/49608644-5da78a00-f9c3-11e8-911e-4d8b4e37314f.png)

#### 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.