flight_review icon indicating copy to clipboard operation
flight_review copied to clipboard

Airspeed VTOL mode incorrectly displayed

Open anaam-wingxpand opened this issue 1 year ago • 1 comments

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?

anaam-wingxpand avatar Oct 08 '24 13:10 anaam-wingxpand

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)

bkueng avatar Oct 14 '24 09:10 bkueng