[server] change again airspeed field position

for compatibility with PPRZonDroid beta version
This commit is contained in:
Gautier Hattenberger
2014-04-08 16:00:14 +02:00
parent 7b8b32c641
commit 1f0d1c9c65
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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">
+3 -3
View File
@@ -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;
}