Commit Graph
100 Commits
Author SHA1 Message Date
Lorenz Meier 3195eb1005 estimator: Remove bogus timeout flag, do not reset states not in need of a reset. Do not alter baro offset or GPS positions. 2014-06-27 13:35:23 +02:00
Lorenz Meier 615277d346 Better comments in estimator 2014-06-27 13:29:04 +02:00
Lorenz Meier 7f41ec52f1 estimator: Introduce debug level to allow high-res bench debugging - set with ekf_att_pos_estimator debug <level, e.g. 100> 2014-06-24 20:48:18 +02:00
Lorenz Meier 32319722a6 Retry fusion sooner on failures 2014-06-24 20:47:22 +02:00
Lorenz Meier ac319a7240 23 state estimator: Prepare GPS accel init (not yet active), clean up init calls 2014-06-22 16:51:48 +02:00
Lorenz Meier 1018dec246 estimator: Get offsets under control, prepare GPS acceleration based initialization, but do not activate it yet 2014-06-22 16:51:02 +02:00
Lorenz Meier 0673740e0e Initialize velNED fields correctly, preventing a bogus initial filter reset 2014-06-21 19:44:30 +02:00
Lorenz Meier 6bab694e45 estimator: Improve error reporting and status printing (less flash, better resolution), move check and reset logic to a position AFTER the filter init. Do not externally zero the filter on resets but let the reset logic handle this. 2014-06-21 19:44:09 +02:00
Thomas Gubler 80e95c628c Merge remote-tracking branch 'upstream/mtecs_estimator' into navigator_rewrite_estimator 2014-06-15 14:46:55 +02:00
Thomas Gubler 0700a4f6b8 att pos estimator: correctly initialize fusionModeGPS variable, this makes the system use gps again and hence fixes the huge drift problems 2014-06-15 14:46:30 +02:00
Thomas Gubler 2f9415ffd8 Merge remote-tracking branch 'upstream/mtecs_estimator' into navigator_rewrite_estimator 2014-06-15 12:15:45 +02:00
Thomas Gubler bd8b071875 att pos estimator: on reset use projected gps position instead of [0,0,0] to set position state 2014-06-15 12:15:25 +02:00
Thomas Gubler eda926d7d5 Merge remote-tracking branch 'upstream/mtecs_estimator' into navigator_rewrite_estimator 2014-06-15 10:56:29 +02:00
Thomas Gubler de5c3580b3 adding individual warnings for all defined reset conditions 2014-06-15 10:56:07 +02:00
Thomas Gubler d4f9914d19 Merge remote-tracking branch 'upstream/mtecs_estimator' into navigator_rewrite_estimator 2014-06-13 23:38:17 +02:00
Lorenz Meier a419a2ebf3 Report excessive covariances 2014-06-12 15:57:13 +02:00
Lorenz Meier 3685ec5c97 Loosen velocity threshold to 20 m/s to only catch the really bad instances and let the system live in peace else 2014-06-12 15:52:15 +02:00
Lorenz Meier 7983e105bf Much more aggressive reset logic bounding the filter effectively 2014-06-12 15:28:21 +02:00
Julian Oes 4247fc7585 Merge remote-tracking branch 'px4/mtecs_estimator' into navigator_rewrite_estimator 2014-06-11 13:16:38 +02:00
Lorenz Meier 5602d5dfa3 New gyro offset based divergence detection and protection. Pending flight tests 2014-06-10 23:14:57 +02:00
Thomas Gubler a89ed8eed9 Merge remote-tracking branch 'upstream/mtecs_estimator' into navigator_rewrite_estimator 2014-06-10 22:50:30 +02:00
Lorenz Meier 2219dd3fc6 Undo hacking 2014-06-07 20:16:41 +02:00
Lorenz Meier 33f98abf80 Fill error report 2014-06-07 20:16:17 +02:00
Julian Oes 11912e0a5e Merge remote-tracking branch 'px4/mtecs_estimator' into navigator_rewrite_estimator 2014-06-07 17:22:51 +02:00
Lorenz Meier f4075b5623 Switching back to 23 states, fixed mag update logic 2014-06-07 16:06:18 +02:00
Julian Oes e70604ea95 Merge remote-tracking branch 'px4/mtecs_estimator' into navigator_rewrite_estimator
Conflicts:
	src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
2014-06-07 13:15:44 +02:00
Lorenz Meier b9a3fa60bc Add support for 21 and 23 state estimators. Promoto a number of small delta variables to double 2014-06-07 13:03:11 +02:00
Lorenz Meier 5bf68dad94 Rename / move 23 state filter 2014-06-07 12:52:06 +02:00
Julian Oes 078eed41af Merge remote-tracking branch 'px4/mtecs' into navigator_rewrite 2014-06-06 23:16:39 +02:00
Lorenz Meier 241837c9df change numbers in printing routine to match 0-based indices 2014-06-05 17:03:31 +02:00
Lorenz Meier 5aef22310e Ensure states are actually copied in non-error mode 2014-06-04 10:31:23 +02:00
Lorenz Meier 19154f29d8 Copy estimator status updates to system status logging 2014-06-04 09:52:34 +02:00
Lorenz Meier cf67e810a4 More detailed estimator status feedback 2014-06-04 09:52:21 +02:00
Lorenz Meier ed65d1748e Fix initialization of position variable 2014-06-03 17:55:33 +02:00
Lorenz Meier 94bed70e32 Reworked the estimator initialization and recovery logic. Should be more resilient to mishaps now 2014-06-03 16:37:58 +02:00
Lorenz Meier 50342f9661 att / pos estimator: Publishing wind estimate 2014-06-01 15:35:01 +02:00
Julian Oes 5f91fe7d15 Merge remote-tracking branch 'px4/master' into navigator_rewrite 2014-05-27 23:24:34 +02:00
Lorenz Meier 7e7d78f506 ekf_att_pos_estimator: Default printing to off 2014-05-27 21:53:21 +02:00
Julian Oes 063caba36b Merge branch 'master' into navigator_rewrite
Conflicts:
	src/drivers/gps/gps.cpp
	src/drivers/gps/mtk.cpp
	src/modules/commander/commander.cpp
	src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
	src/modules/navigator/mission.cpp
	src/modules/navigator/mission.h
	src/modules/navigator/navigator_main.cpp
	src/modules/navigator/navigator_state.h
	src/modules/position_estimator_inav/position_estimator_inav_main.c
2014-05-26 20:19:11 +02:00
Lorenz Meier 36495cdb62 Allow wider param range for accel offset, lower gain\ 2014-05-24 18:52:48 +02:00
Lorenz Meier 328fc04d29 apps: Compile warning fixes 2014-05-21 14:22:01 +02:00
Anton Babushkin 98fcec243b ekf_att_pos_estimator: module.mk fixed 2014-05-17 09:21:47 +02:00
Anton Babushkin f52edc4cde ekf_att_pos_estimator: fixed files names and perf counters names 2014-05-17 09:18:54 +02:00
Lorenz Meier a4c4080d63 Fixed alt ref init 2014-05-15 14:18:38 +02:00
Lorenz Meier ec409a1337 EKF / Paul Riseborough: Added guards for mag and airspeed innovations 2014-05-13 08:53:09 +02:00
Lorenz Meier 6906dc4eda Minor improvements to estimator 2014-05-12 11:23:48 +02:00
Lorenz Meier 1b3007aa81 Re-enabled time compensation 2014-05-11 20:18:09 +02:00
Lorenz Meier 077de5eb0b Clean implementation of filter startup delay implementation 2014-05-11 20:16:04 +02:00
Lorenz Meier eeba000b87 stupid fix 2014-05-11 19:29:43 +02:00
Lorenz Meier 5581802f0f ekf: Move dt inside class 2014-05-11 18:45:55 +02:00