1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Corvus Corax
5edb2dbae3 Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation 2014-07-26 17:01:03 +02:00
Corvus Corax
5451003a58 Merge branch 'next' into corvuscorax/OP-1317_IMU_wind_estimation
Conflicts:
	flight/modules/Airspeed/airspeed.c
	flight/modules/Airspeed/gps_airspeed.c
2014-07-26 16:16:02 +02:00
Andres
df4d211f8b OP-1317 added a proper initialization of the Butterworth filter values 2014-07-20 16:22:27 +02:00
Alessio Morale
1b823b7b92 Merge remote-tracking branch 'origin/Bertrand/OP-1308_Set_Same_Logic_To_Alarms' into next
Conflicts:
	flight/libraries/sanitycheck.c
	flight/modules/StateEstimation/filtermag.c
	flight/modules/System/systemmod.c
2014-06-26 20:31:27 +02:00
Corvus Corax
7898d507ca drive-by bugfix in #ifdefed code affecting simposix 2014-06-18 20:41:58 +02:00
Alessio Morale
eb5deb3eca OP-1274 Remove unneeded cast from task name in xTaskCreate call 2014-06-18 01:47:43 +02:00
Andres
f273abf6c8 OP-1317 Merged with next 2014-05-22 17:01:38 +02:00
Alessio Morale
36e304f579 OP-1274 fixes for revolution 2014-05-18 22:56:48 +02:00
Alessio Morale
7155805b79 OP-1329 Move gps airspeed initialization checks under "sensor changed" test 2014-05-11 11:33:11 +02:00
Andres
02e62f91ed OP-1317 Apadted airspeed calculation from ground speed and orientattion changes: applied extended IMU wind estimation, filtering takes place now with Holt-Winters double exponential smoothing on orientation vector and speed vector, matrix calculation replaced by a direct calculation of the fuselage vector, renamed gps_airspeed into imu_airspeed because estimation relies on imu results and a n estimate of ground speed and not directly a GPS signal 2014-05-10 14:50:24 +02:00
Alessio Morale
3a451c9737 OP-1329 Trigger a SensorType change the first time Task runs to set AirspeedSensor UAVO when sensor is None 2014-05-08 19:58:42 +02:00
Alessio Morale
08dcdefc1f OP-1329 set SensorConnected to false when sensorType is changed to none. 2014-05-08 19:48:30 +02:00
Alessio Morale
516f359645 OP-1329 fix a cherry-pick issue 2014-05-07 23:23:51 +02:00
Alessio Morale
7645209809 OP-1329 Various fixes to airspeed:
- Prevent Airspeed module with Sensor=none from constantly running and updating AirspeedSensor
- Do not call gps_airspeedInitialize if not needed
2014-05-07 20:38:24 +02:00
Corvus Corax
08a627db6f Merge remote-tracking branch 'origin/Bertrand/OP-1314_Fix_Airspeed_Stack_Size' into next 2014-05-04 12:34:07 +02:00
Andres
0d6e8c8efb OP-1315 changed error alarm in gps_airspeedGet for |v|<1 into a warning to allow arming. cos(5deg) exchanged by a constant expression. pow (x,2.0f) exchanged by a inline function based on multiplication. Deleted arispeedalarm.h and airspeedalarm.c and exchanged AirspeedAlarm() by a direct call to AlarmsSet(). 2014-04-30 18:39:35 +02:00
Bertrand Oresve
333ccc7e42 OP-1314 Fix the Airspeed stack size 2014-04-27 22:42:54 +02:00
Andres
5ed417323e OP-1273 OP-1282 OP-1283 bug fixes on I2C library: check for intialization and hot-plug robustness 2014-03-31 22:16:29 +02:00
Andres
9a207fbb80 OP-1273 OP-1282 OP-1283 diverse improvements in airspeed sensor handling including implementation of PixHaw sensor, airspeedalarm in Systemhealth and in all airspeed sensors; file changes 2014-03-28 16:59:52 +01:00
Andres
7ec855af5f OP-1273 added and implemented Airpeed alarm for the PixHawk sensor 2014-03-28 14:18:14 +01:00
Andres
c5dc556a43 OP-1273 Uncrustify 2014-03-27 16:19:22 +01:00
Andres
8e26338f24 OP-1273 I2C Alarm reset to default when AirspeedSensorType is changed. Small cosmetic corrections 2014-03-27 09:32:17 +01:00
Andrés Chavarría Krauser
f8f53d8801 OP-1273 Adaptations to include MS4525DO PixHawk speed sensor 2014-03-25 09:18:25 +01:00
Alessio Morale
0db9a9bf8d OP-1058 Add xxxGet and xxxSet functions to handle multielement fields as struct
for example:
EKFStateVariancePSet(EKFStateVariancePData *NewP);
EKFStateVariancePGet(EKFStateVariancePData *NewP);
Also in this case array accessors are renamed as xxxArrayGet/Set:
EKFStateVariancePArraySet(float *NewP);
EKFStateVariancePArrayGet(float *NewP);

Nothing changes for anonymous items as default functions continues to deal with arrays

+review OPReview-552
2013-09-01 13:23:20 +02:00
Corvus Corax
be583dd8bf fixes to gps airspeed sensor 2013-07-19 15:30:33 +02:00
Corvus Corax
842b4e361b moved airspeed sensor code to correct location 2013-07-19 15:29:04 +02:00