[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4254] Updated to use true airspeed from simulation
From: |
Vassilis V. |
Subject: |
[paparazzi-commits] [4254] Updated to use true airspeed from simulation model. |
Date: |
Fri, 16 Oct 2009 01:57:27 +0000 |
Revision: 4254
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4254
Author: vassilis
Date: 2009-10-16 01:57:26 +0000 (Fri, 16 Oct 2009)
Log Message:
-----------
Updated to use true airspeed from simulation model.
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/airspeed.c
Modified: paparazzi3/trunk/sw/airborne/airspeed.c
===================================================================
--- paparazzi3/trunk/sw/airborne/airspeed.c 2009-10-15 15:38:16 UTC (rev
4253)
+++ paparazzi3/trunk/sw/airborne/airspeed.c 2009-10-16 01:57:26 UTC (rev
4254)
@@ -50,7 +50,8 @@
adc_airspeed_val = airspeed_ets_raw;
#endif
#else // SITL
- EstimatorSetAirspeed(gps_gspeed / 100.0); // FIXME: should calculate
airspeed in the simulation model, use ground speed for now
+ extern float sim_air_speed;
+ EstimatorSetAirspeed(sim_air_speed);
adc_airspeed_val = 0;
#endif //SITL
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4254] Updated to use true airspeed from simulation model.,
Vassilis V. <=