Alessio Morale
57a43a5587
OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one
2014-08-02 20:48:34 +02:00
Corvus Corax
a199fd1cb0
OP-1412 do not dicard mags after init
2014-07-23 22:40:43 +02:00
Corvus Corax
95799cf11b
OP-1412 delay ekf initialization until magnetometers are reporting valid data
2014-07-22 23:49:41 +02:00
Corvus Corax
80d3d7c954
OP-1374 hotfix to filtercf on checking of magnetometer calibration fabsf()
2014-06-29 18:36:46 +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
Alessio Morale
6226aec2a7
OP-943 uses pios_mem API for heap allocation
2014-06-11 22:15:40 +02:00
Alessio Morale
3c5a41049b
Merge branch 'amorale/OP-1302_updated_led_behaviour' into next
2014-05-11 12:01:53 +02:00
Alessio Morale
e5d6726bb6
Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour
2014-05-08 22:27:08 +02:00
Bertrand Oresve
fd1b786868
Merge branch 'next'
...
Conflicts:
flight/libraries/sanitycheck.c
flight/modules/Stabilization/stabilization.c
2014-05-08 21:36:54 +02:00
Corvus Corax
1add404d80
OP-1161 reimplemented magnetometer plausibikity check using vector
...
length only
2014-05-07 23:47:14 +02:00
Corvus Corax
14652440a2
OP-1161 skip magnetometer entirelly if complementary (no mag) mode, thus not triggering magnetometer alarms
2014-05-06 18:46:58 +02:00
Corvus Corax
2bd7609de9
Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
...
Conflicts:
ground/openpilotgcs/share/openpilotgcs/diagrams/default/system-health.svg
2014-05-06 17:30:00 +02:00
Bertrand Oresve
b2ebb1faf8
OP-1308 merging filterlaltitude with OP-1235
2014-05-05 21:33:57 +02:00
Corvus Corax
2b00cb31a4
Merge branch 'next' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 12:12:51 +02:00
Corvus Corax
c63540b2ec
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
shared/uavobjectdefinition/stabilizationsettings.xml
2014-05-02 18:25:57 +02:00
Corvus Corax
944f3f5d2f
OP-1309 provide faster GyroState updates for more prompt response and less stabilization lag
2014-05-01 17:46:13 +02:00
Corvus Corax
0ea1ccf5c3
OP-1316 fix gravity constants
2014-05-01 15:50:02 +02:00
Corvus Corax
b6b03b767a
Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
...
Conflicts:
shared/uavobjectdefinition/revosettings.xml
shared/uavobjectdefinition/systemalarms.xml
2014-05-01 10:26:53 +02:00
Corvus Corax
3ada1da71a
uncrustify
2014-04-30 22:20:07 +02:00
Bertrand Oresve
70ba6850d0
OP-1308 Uncrustify operation
2014-04-30 08:49:50 +02:00
Bertrand Oresve
6d3ade4947
OP-1308 Set the same logic for alarms
2014-04-29 22:25:49 +02:00
Alessio Morale
001ee66b06
Merge remote-tracking branch 'origin/amorale/OP-1235_fix_altitude_estimation' into next
2014-04-26 23:03:48 +02:00
Alessio Morale
5763ed3d8d
OP-1235 make Initialization Acceldrift KI configurable
2014-04-14 10:58:46 +02:00
Alessio Morale
20508314f2
OP-1302 use pios_notify api to alert user of ongoing CF gyro calibration
2014-04-13 17:56:20 +02:00
Corvus Corax
661bea2372
OP-1296 - some explicit const declarations in stateestimation
2014-04-10 20:17:01 +02:00
Alessio Morale
4764186a5f
OP-1235 cleanup "magic numbers"
2014-04-08 20:51:16 +02:00
Corvus Corax
cb16cf04e1
Merge branch next into 'corvuscorax/OP-1296_barometer-initialization-fix'
2014-04-08 19:26:43 +02:00
Corvus Corax
011c598793
OP-1296 only use GPS in filterchains when explicitly requested
...
disallow arming when GPS is needed for initialization until lock is acquired
2014-04-08 18:31:11 +02:00
Alessio Morale
6540c69698
Merge remote-tracking branch 'origin/andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into next
2014-04-01 22:05:12 +02: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
Andres
9d30673d18
OP-1273 attitude estimation uses airspeedSensor.TrueAirspeed when available (e.g. from MS4525DO; available when TrueAirspeed >=0 ) instead of using an altitude correction IAS2TAS(alt). When not available it falls back to IAS2TAS(alt)
2014-03-26 09:15:56 +01:00
Bertrand Oresve
199193aa3f
OP-1267 Fix UAV position after a HomeLocation Update (adding #define to be clearer)
2014-03-25 21:00:10 +01:00
Bertrand Oresve
10dec58a10
OP-1267 Fix UAV position after a HomeLocation Update
2014-03-23 12:56:01 +01:00
Alessio Morale
7f6175d817
OP-1235 allows AccelBiasValue to quickly reach the target value at initialization
2014-02-23 13:05:20 +01:00
Alessio Morale
a2386f548b
OP-1235 allow for live update of altitude estimation settings
2014-02-23 13:05:20 +01:00
Alessio Morale
bc3636bbd6
OP-1235 gives better names to state variables
...
Conflicts:
flight/modules/StateEstimation/filteraltitude.c
2014-02-23 13:05:20 +01:00
Corvus Corax
9a6072d58c
Merge branch 'next' into corvuscorax/OP-942_task-diagnostics-for-callbacks
...
Conflicts:
flight/targets/boards/simposix/firmware/Makefile
2014-02-07 00:31:32 +01:00
Corvus Corax
28be9cc8ce
OP-1211 adapted existing code to use new pios functionality instead of separate error prone implementations
2014-02-04 19:48:33 +01:00
Corvus Corax
49a1c4c28f
OP-942 refactored callback scheduler to fit into PiOS naming scheme
2014-02-02 22:08:16 +01:00
Corvus Corax
b076ba02a1
OP-942 API change to CallbackScheduler - include unique ID for each callback for a taskinfo like UAVObject
2014-02-02 19:54:17 +01:00
Corvus Corax
3b635693a5
OP-1161 changed the way magnetometer-errors are handled - and defaults
...
* ekf will ignore magnetometer errors for initialization
(errors might be caused by not yet existing attitude estimation)
* defaults changed for filtering
* magnetometer sensor will be available for all filters, alarms need to
be checked separately
2014-01-14 21:09:14 +01:00
Corvus Corax
75b1a7ff5f
OP-1161 moved mag validity check function from sensors to state estimation
2014-01-14 16:45:44 +01:00
Corvus Corax
c180846ca9
OP-1161 discard magnetometer in filters if plausibility alarm is set
2014-01-14 16:45:21 +01:00
Corvus Corax
84af4b7651
fixes to barofilter
2013-12-08 14:00:09 +01:00
Corvus Corax
66b0ffd682
small fix to baro state filter - more init cycles
2013-12-08 13:35:00 +01:00
Corvus Corax
b3ebb91ceb
uncrustification
2013-10-19 21:59:07 +02:00
Alessio Morale
c0cfd3dffe
Merge branch 'amorale/OP-1058_uavo_named_accessors' into next
2013-09-10 21:20:12 +02: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
Alessio Morale
e91bc28667
OP-1058 Get rid of Unions.
...
They caused stack usage increase with -fstrict-aliasing as stack slots are not reused when dealing with unions.
It has now been added the cast_struct_to_array macro in pios_struct_helper.h to handle such case where it is useful to access those homogeneous structs as arrays
+review OPReview-552
2013-09-01 12:10:55 +02:00