Hi, in APMP2 I see airspeed and groundspeed in the Info View panel under the HUD. It shows these as type (float) - what units are these in reality? Metres/sec or kph or knotts? Anyone got a definitive answer?
2nd question - can we configure the units in APMP2?
you can get AirSpeed in m/s by selecting the ‘.’ period message and then airSpeed
if you select one of the ‘raw’ MAVLink message the units are whatever the message support i.e. for VFR_HUD it would be m/s see https://pixhawk.ethz.ch/mavlink/#VFR_HUD
There’s no way in magically pulling that from the [message definition] for MAVLink.
This is a quick fix I though of got the info view. The only challenge is that its not ubiquitous, so you would be in trouble of getting it wrong in widgets and entry points for speed.
Also not that it doesn’t preserve the order if you modify the element in the quick view ( i need to fix it, but the code is obscure)
you can reorder the elements once you have quit AP2 by looking in the ~/.config/org.ardupilot/APM Planner.ini file and reordering the entry index values. As an example