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
3ada1da71a
uncrustify
2014-04-30 22:20:07 +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
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
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
Alessio Morale
11b269f898
Merge remote-tracking branch 'origin/next' into amorale/OP-1058_uavo_named_accessors
2013-08-31 16:03:30 +02:00
Erik Gustavsson
e39c3f897e
Use xTaskGetTickCount() to time long intervals rather than PIOS_DELAY_GetRaw(), because of wrap-around issues.
2013-08-26 19:14:47 +02:00
Corvus Corax
0db395b4a2
uncrustify
2013-08-11 15:33:59 +02:00
Alessio Morale
9e1acc3165
OP-1058: fix needed for fw_revolution code compilation
2013-07-31 15:24:26 +02:00
Oleg Semyonov
77a6db3007
Merge remote-tracking branch 'origin/os/baro-offset-lpf' into next
2013-07-30 23:41:37 +02:00
Alessio Morale
b4d2423680
OP-1048 fix CF stateestimation bug using AccelTau.
...
move *_filtered to stateestimator data struct and initialize them at init.
they were previously used uninitialized thus causing estimation to fail validations, restarting the filter continously
+review OPReview
2013-07-30 23:41:21 +02:00
Oleg Semyonov
1bfa66c2b6
Change settings for baro altitude offset correction
2013-07-26 21:14:44 +02:00
Corvus Corax
72e33a11e4
uncrustification, changed ekf glitch recognition to warning, since its now benign
2013-07-19 15:40:57 +02:00
Corvus Corax
b9ae8844a1
return error if ekf has not inited to prevent arming without proper state estimation
2013-07-19 15:37:50 +02:00
Oleg Semyonov
aa560653d4
Make baro altitude offset (relative to GPS alt) filter configurable
2013-07-19 09:53:44 +03:00
Corvus Corax
27eadc200b
Merge branch 'corvuscorax/lla2nedfilter' into next
...
Conflicts:
flight/modules/StateEstimation/stateestimation.c
2013-07-10 14:38:12 +02:00
Corvus Corax
0107432e45
Added a low pass filter for accels to the altitude filter
2013-07-02 23:17:08 +02:00
Corvus Corax
ba87f32812
typo fix
2013-06-30 19:46:28 +02:00
Corvus Corax
51a4b16af5
New Filter to calculate NED from LLA as part of StateEstimation
2013-06-30 18:49:29 +02:00
Corvus Corax
7745f93935
changed default coefficients and exposed them to a settings uavobject as they should be
2013-06-29 01:16:02 +02:00
Corvus Corax
2621b087a2
fixed filter in first bench test tries, works surprisingly well...
2013-06-28 21:27:05 +02:00
Corvus Corax
2fb0c0a3ce
some uncrustification
2013-06-28 19:52:09 +02:00
Corvus Corax
b9038e5ed6
new simple complementary filter to calculate current altitude and vertical speed
2013-06-28 17:22:16 +02:00
Corvus Corax
f2abe1f5c7
StateEstimation: removed (not yet implemented) 16 state EKF support for now
2013-06-25 19:30:21 +02:00
Corvus Corax
5bdfad4bdb
removed redundant check as suggested in review
2013-06-23 19:39:00 +02:00