101 Commits

Author SHA1 Message Date
Julian Oes
7d64aa8057 ekf2: raise stack size on Snapdragon
It seems that the stack size was exhausted on Snapdragon.
2016-05-11 14:53:55 +02:00
Paul Riseborough
4480e4206d ekf2: remove use of arm status 2016-05-11 14:53:55 +02:00
Paul Riseborough
af9a7a39f2 ekf2: add handling of filter internal fault message 2016-05-11 14:53:55 +02:00
Paul Riseborough
2c6b7a008f ekf2: Update tuning parameters
Remove unused gyro scale factor parameter
Change gyro and accelerometer bias noise parameters to more intuitive units
Updated tuning defaults
2016-05-11 14:53:55 +02:00
Paul Riseborough
7f1632d65b ekf2: correct control state message for 3D acc bias 2016-05-11 14:53:55 +02:00
CarlOlsson
6b5e77250f ekf2: Added airspeed to rpl logging 2016-05-10 21:32:55 +02:00
tumbili
57f73e59b7 warn immediately if ekf2 instance allocation has failed 2016-05-03 16:09:26 +02:00
tumbili
9f5e9594f5 implement ekf instance and block parameter instance as class members
in order to avoid memory management
2016-05-03 16:09:26 +02:00
Julian Oes
99286cf1bd ekf2: replace !isnan with PX4_ISFINITE (#4374) 2016-04-26 22:15:30 +02:00
Paul Riseborough
631040b30b ekf2: publish filter control mode status 2016-04-20 21:47:29 +02:00
Paul Riseborough
07eb4feed8 ekf2: publish GPS check status 2016-04-20 21:47:29 +02:00
tumbili
d227c61246 update all fields of the control state message 2016-04-19 13:25:41 +02:00
Sebastian Verling
184a2fa7de publishing velocity and position to control state in ekf2
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2016-04-19 13:25:41 +02:00
Roman
c6668cae6c provide ekf2 with eas2tas factor 2016-04-19 11:20:57 +02:00
Paul Riseborough
25dbb5d628 ekf2: Add missing tuning parameters 2016-04-18 11:15:38 +02:00
Paul Riseborough
0d50dd03d6 ekf2: Specify display precision for parameters 2016-04-18 11:15:38 +02:00
Paul Riseborough
81292c1e65 ekf2: Enable position of range finder and flow sensor to be adjusted 2016-04-18 11:15:38 +02:00
Paul Riseborough
66fe3ab583 ekf2: Use corrected local position and velocity
Corrects for IMU offset from body frame origin
2016-04-18 11:15:38 +02:00
Paul Riseborough
43e56f9fdc ekf2: Add tuneable parameters for sensor positions 2016-04-18 11:12:09 +02:00
Paul Riseborough
7acd5fda22 ekf2: send flow sensor yaw rate data 2016-04-18 11:12:09 +02:00
Lorenz Meier
40546647b3 Update EKF2 interface 2016-04-17 16:21:49 +02:00
Lorenz Meier
236304b929 Update EKF2 version 2016-04-17 16:16:29 +02:00
James Goppert
967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
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