Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airspeed VTOL mode incorrectly displayed #294

Open
anaam-wingxpand opened this issue Oct 8, 2024 · 1 comment
Open

Airspeed VTOL mode incorrectly displayed #294

anaam-wingxpand opened this issue Oct 8, 2024 · 1 comment

Comments

@anaam-wingxpand
Copy link

https://logs.px4.io/plot_app?log=e5a88de6-8e76-4f7d-be2b-e94e56f7fd44

In Flight Review, it shows that the VTOL has transitioned to fixed-wing when True Airspeed is ~14 m/s.
But in PlotJuggler, it shows that VTOL has transitioned to fixed-wing when True Airspeed is ~11 m/s.

Screenshot from 2024-10-08 09-24-58

Screenshot from 2024-10-07 18-10-06

I'm leaning towards PlotJuggler being correct because we set the transition airspeed to 10 m/s. PlotJuggler confirms this happens if you look at the calibrated airspeed.

Screenshot from 2024-10-08 09-30-29

Why does the Flight Review graph look so different?

@bkueng
Copy link
Member

bkueng commented Oct 14, 2024

Very keen observation. Flight Review uses vehicle_status/in_transition_mode for the VTOL state, which happens to change a bit later:

image

There's 2 options for more accuracy:

  • let PX4 publish vehicle_status on vtol transition change immediately
  • change Flight Review to use vtol_vehicle_state (it currently does not use and thus depend on that topic)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants