Airspeed and groundspeed units?

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.

(https://github.com/mavlink/mavlink/blob/master/message_definitions/v1.0/common.xml#L2886) file

Cheers for that Bill. Is there no way to get the displayed units to be km/h? Maybe alternative unit choice to be a future enhancement??

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.

Is this in the daily version of 20/11/16??

this one has the change in http://firmware.us.ardupilot.org/Tools/APMPlanner/daily/2016-11-20/

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

[UAS_QUICK_VIEW_ITEMS]
2\name=GCS Imperial.Alt REL (ft)
2\type=text
10\name=GCS Status.Voltage (V)
10\type=text
11\name=GCS Status.Yaw (deg)
11\type=text
12\name=GCS Status.Yaw (deg)
12\type=text
1\name=GCS Metric.Alt MSL (m)
1\type=text
3\name=GCS GPS.GPS HDOP ()
3\type=text
4\name=GCS GPS.GPS Sats (n)
4\type=text
5\name=GCS Status.Battery (%)
5\type=text
6\name=GCS Status.Climb (m/s)
6\type=text
7\name=GCS Status.Current (A)
7\type=text
8\name=GCS Status.Pitch (deg)
8\type=text
9\name=GCS Status.Roll (deg)
9\type=text
size=11