ArduPilot / ArduPilot/MAVProxy

MAVExplorer - blank figure when condition is set

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

MAVExplorer shows an empty graph when the variable in the condition is not present in graph command.
I set condition with:
`set condition GPS2.Spd>5`

When I try this:
`graph BARO.Alt GPS2.Spd>5`, it works:
![obraz](https://user-images.githubusercontent.com/69608896/90078860-7fafee80-dd06-11ea-8820-1aa65b4c5a49.png)
When I try this:
`graph BARO.Alt`, it doesn't:
![obraz](https://user-images.githubusercontent.com/69608896/90078878-8cccdd80-dd06-11ea-8772-fa9a699fcbc9.png)

I've tried with different files and different variables.
I use Ubuntu on WSL2.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in MAVExplorer using `set condition GPS2.Spd>5`, then compare `graph BARO.Alt GPS2.Spd>5` with `graph BARO.Alt`. Trace the graph and condition command entry points to find why omitting the condition variable produces an empty figure. Done means `graph BARO.Alt` still renders while the condition remains active.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.