mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-25 23:46:04 +08:00
[server] change again airspeed field position
for compatibility with PPRZonDroid beta version
This commit is contained in:
+1
-1
@@ -2584,13 +2584,13 @@
|
||||
<field name="lat" type="float" unit="deg"/>
|
||||
<field name="long" type="float" unit="deg"/>
|
||||
<field name="speed" type="float" unit="m/s"/>
|
||||
<field name="airspeed" type="float" unit="m/s"/>
|
||||
<field name="course" type="float" unit="deg" format="%.1f"/>
|
||||
<field name="alt" type="float" unit="m"/>
|
||||
<field name="climb" type="float" unit="m/s"/>
|
||||
<field name="agl" type="float" unit="m"/>
|
||||
<field name="unix_time" type="float" unit="s (Unix time)"/>
|
||||
<field name="itow" type="uint32" unit="ms"/>
|
||||
<field name="airspeed" type="float" unit="m/s"/>
|
||||
</message>
|
||||
|
||||
<message name="AP_STATUS" id="12">
|
||||
|
||||
@@ -37,13 +37,13 @@
|
||||
<field name="lat" type="float" unit="deg"/>
|
||||
<field name="long" type="float" unit="deg"/>
|
||||
<field name="speed" type="float" unit="m/s"/>
|
||||
<field name="airspeed" type="float" unit="m/s"/>
|
||||
<field name="course" type="float" unit="deg" format="%.1f"/>
|
||||
<field name="alt" type="float" unit="m"/>
|
||||
<field name="climb" type="float" unit="m/s"/>
|
||||
<field name="agl" type="float" unit="m"/>
|
||||
<field name="unix_time" type="float" unit="s (Unix time)"/>
|
||||
<field name="itow" type="uint32" unit="ms"/>
|
||||
<field name="airspeed" type="float" unit="m/s"/>
|
||||
</message>
|
||||
*/
|
||||
|
||||
@@ -117,13 +117,13 @@ static void update_gps(struct gps_data_t *gpsdata,
|
||||
gpsdata->fix.latitude,
|
||||
gpsdata->fix.longitude,
|
||||
fix_speed,
|
||||
0.0, // airspeed
|
||||
fix_track, // course
|
||||
fix_altitude,
|
||||
fix_climb,
|
||||
0.0, // agl
|
||||
gpsdata->fix.time,
|
||||
0); // itow
|
||||
0, // itow
|
||||
0.0); // airspeed
|
||||
|
||||
fix_time = gpsdata->fix.time;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user