78 Commits

Author SHA1 Message Date
Julian Oes
08ce231d76 ekf2: compile fixes after rebase 2016-04-11 18:01:49 +02:00
Julian Oes
f21f82223c ekf2: fix stupid bug caught by travis on Mac 2016-04-11 18:01:49 +02:00
Julian Oes
1f44fb1efd commander: internalize system status bools
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.

Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
2016-04-11 18:01:47 +02:00
Paul Riseborough
e66a3bd99f ekf2: incorporate fixes to covariance prediction and initialisation
Update ecl library reference.
Update default parameters
2016-04-05 19:08:39 -07:00
Paul Riseborough
222566de6e ekf2: Fix error in parameter documentation 2016-04-05 19:08:39 -07:00
CarlOlsson
16dea15d54 AStyle 2016-04-05 16:23:26 -07:00
CarlOlsson
7c88d599ee publish wind_estimate topic 2016-04-05 16:23:25 -07:00
tumbili
08be5b3f3a fixed formatting 2016-04-01 13:54:47 +02:00
tumbili
4da93a316d ekf2 replay logic:
support recent change in ekf2 module which made it only publish the output
when an ekf update was occuring. in case the ekf2 module does not update
the replay module will be informed and will thus not wait for an update
but continue preparing the next sample of sensor data
2016-04-01 13:54:46 +02:00
tumbili
2f48317a9e ekf2: publish indicated airspeed in control state topic 2016-03-31 14:03:42 +02:00
CarlOlsson
1bb07ff50c adopted ekf2_params.c 2016-03-30 17:33:37 +02:00
CarlOlsson
3af01a8c5e adopted ekf2_main.cpp 2016-03-30 17:33:37 +02:00
Daniel Agar
6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Daniel Agar
70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Julian Oes
bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Paul Riseborough
75ebdda179 ekf2: Improved publishing rules
If the ekf has not completed alignment or encounters a serious error that produces NaN's on the attitude states, then the control, attitude and position topics are not published
The control topic is published first to reduce latency
2016-03-19 19:07:23 +04:00
Lorenz Meier
0cab41075b Fix pparam meta data 2016-03-14 09:43:51 +01:00
Paul Riseborough
58e08339e8 ekf2: Update parameter documentation
Updates parameter documentation to take advantage of the range finder height option.
2016-03-14 09:42:06 +01:00
Daniel Agar
9c94acc3e3 ekf2 remove @unit None 2016-03-14 09:12:34 +01:00
Daniel Agar
b89fbc9dbd ekf2 fix comment formatting 2016-03-14 09:12:34 +01:00
Daniel Agar
7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar
5af98549b9 ekf2 param @unit 2016-03-14 09:10:29 +01:00
MaEtUgR
d1e0cbe325 fixing all "argc < 1" to avoid segmentation fault when calling the module with no parameters
argc is never smaller than one because the first element of the array is the program name!
2016-03-13 17:52:33 +01:00
Paul Riseborough
cecec86081 ekf2: Update documentation for height source param option
The GPS and range finder options are still under development but should be reserved in the interface
2016-03-13 17:47:56 +01:00
Paul Riseborough
c037b30aeb ekf2: add missing GPS status data to ekf2 replay 2016-03-13 17:47:56 +01:00
Roman
8e1b824ecb ekf2 app: only copy flow and range into replay message if they updated 2016-03-13 17:47:56 +01:00
Roman
181a5fd60d ekf2 app: only publish gps in replay if updated 2016-03-13 17:47:56 +01:00
Paul Riseborough
b1f656c4b8 ekf2: Add optical flow and range finder data to ekf2 replay logging 2016-03-13 17:47:56 +01:00
Paul Riseborough
1ca857404f ekf2: Enable tuning of terrain estimator 2016-03-13 17:47:56 +01:00
Paul Riseborough
735f2942c8 ekf2: Enable tuning of range finder and optical flow fusion parameters 2016-03-13 17:47:56 +01:00
Paul Riseborough
dcb47e425d ekf2: Add local position ground clearance reporting 2016-03-13 17:47:56 +01:00
Paul Riseborough
e540315da8 ekf2: Publish height above ground fusion data 2016-03-13 17:47:56 +01:00
Roman
5abd11c6b9 fixed rebasing issues 2016-03-13 17:47:56 +01:00
bugobliterator
01ee608117 sdlog: setup flow innovation logging 2016-03-13 17:47:56 +01:00
bugobliterator
e2901a7c2f ekf2: use yaw estimation of ekf for local position yaw value 2016-03-13 17:47:56 +01:00
bugobliterator
d33dbb8cbb ekf2: use estimator's estimate of variance for standard deviation calculation 2016-03-13 17:47:56 +01:00
bugobliterator
c02d17f56e ekf2: calculate dist from bottom values 2016-03-13 17:47:56 +01:00
bugobliterator
6c5812c528 ekf2: add listeners for range and optical flow data 2016-03-13 17:47:56 +01:00
Lorenz Meier
2fa43e35f5 Compile fixes for EKF2 2016-03-12 12:15:10 +01:00
tumbili
36e3600809 take into account laneded and armed flag for ekf2 replay 2016-02-27 11:51:05 +01:00
tumbili
652fb5e99e ekf2 app:
- support use of replay
2016-02-27 11:48:31 +01:00
Roman
15b0baf555 ekf2: fixed call to save parameter 2016-02-15 12:52:49 +01:00
Paul Riseborough
af5bbc916c ekf2: Enable user defeatible saving of declination for next startup 2016-02-15 12:52:49 +01:00
Paul Riseborough
2ca48037fd ekf2: Add mavlink adjustable parameters for control of magnetometer fusion 2016-02-15 12:52:49 +01:00
Roman
11df8168ee provide ekf2 with landed flag from landing detector 2016-02-14 21:26:47 +01:00
Roman
2177c0e18a ekf2: remove unused print functions 2016-02-14 20:51:01 +01:00
Lorenz Meier
3edf304e55 EKF2: Fix home altitude reporting 2016-02-10 08:38:03 +01:00
Roman
fcf642fe4e fixed bad formating of ekf2 CMakeFile 2016-02-05 18:28:32 +01:00
Paul Riseborough
371e5f70b1 ekf2: fix formatting 2016-02-05 18:28:32 +01:00
Paul Riseborough
a37daf4cec ekf2: Add position observation noise parameter for flying without GPS
A larger position uncertainty is required when flying without GPS to reduce tilt attitude estimation errors caused by vehicle manoeuvring. This needs to be tuneable to allow optimisation for different use cases (e.g. outdoor vs indoor).
2016-02-05 18:28:32 +01:00