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
661bea2372
OP-1296 - some explicit const declarations in stateestimation
2014-04-10 20:17:01 +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
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
Corvus Corax
e916902c9e
changed alarm return states, so cf initialisation will cause visible LED blinks...
2013-06-23 19:26:17 +02:00
Corvus Corax
407817f959
backport of complementary filter bugfix
2013-06-23 18:37:43 +02:00
Corvus Corax
d8f9f839f2
startup grace time for filter initialisation
2013-06-09 21:49:04 +02:00
Corvus Corax
a99255a36a
allow smaller nonzero variances during runtime
2013-06-09 13:57:36 +02:00
Corvus Corax
022f1a1ac0
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
...
Conflicts:
flight/modules/Attitude/revolution/attitude.c
2013-06-09 13:49:52 +02:00
Corvus Corax
6fdf554d4a
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
...
Conflicts:
flight/modules/Attitude/revolution/attitude.c
ground/openpilotgcs/src/plugins/opmap/opmapgadgetwidget.cpp
shared/uavobjectdefinition/attitudesettings.xml
2013-06-06 19:25:54 +02:00
Corvus Corax
fcc3f519d8
filterekf: Remember critical divergence and set error flag to prevent (re)arming so the user will notice
2013-06-06 17:59:27 +02:00
Corvus Corax
b0db191703
Divide mag variance by Be squared to cope with normalization correctly
2013-06-06 17:54:59 +02:00
Corvus Corax
bab95e7ca8
check variances for validity and reinitialize if invalid
2013-06-06 00:07:11 +02:00
Corvus Corax
f22a0d299e
EKF: Averaging term for dT
...
- prevent scheduling jitter from screwing with the filter while keeping dT accurate
2013-06-06 00:06:12 +02:00