ArduPilot / ArduPilot/MAVProxy

MAVExplorer race condition when processing multiple commands

Open
#459 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

Running a graph command at the same time as another command (IE Display -> Map) causes a race condition and results in the graph and map both losing data.

The top map and graph were made at the same time, note the outages in the GPS.Status line, and the straight line segments on the map. The bottom graph was created from the same data set without running any other commands at the same time, there are no lost data points on that graph.

![untitled](https://user-images.githubusercontent.com/567688/32077991-1fa3e90a-ba5a-11e7-8af5-307ca88e8177.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the race condition in MAVExplorer by running a graph command concurrently with Display  Map, then compare the results with a graph run alone. Trace how the graph and map commands process the same data; done means concurrent commands no longer lose graph points, GPS.Status data, or map segments.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.