TSC21
efe312d4a6
style and format clean
2018-09-18 09:52:33 +02:00
TSC21
183a63cce9
purge vehicle_vision_position alias
2018-09-18 09:52:33 +02:00
TSC21
8f23a073a4
ekf2: add vehicle_odometry usage and data validation check; update replay as well
2018-09-18 09:52:33 +02:00
Dion Gonano
7691990a50
Pass through horizontal and vertial covariances
2018-09-16 21:30:20 -04:00
Paul Riseborough
c2fcef8fc1
ekf2: Tighten preflight GPS quality checks
...
Enable drift checks and reduce thresholds to reduce likelihood of commencing use of a unstable GPS position.
Publish drift data to assist with tuning.
2018-08-17 10:44:07 +10:00
Beat Küng
e4485fc8cf
ekf2 replay: use correct timestamp for attitude publication
2018-08-06 07:15:51 +02:00
Daniel Agar
0626527d2c
EKF2 estimator_status fill n_states and use correct type for health_flags and timeout_flags
2018-08-03 17:42:48 -04:00
Daniel Agar
da68ea0d11
estimator_status delete unused nan_flags
2018-08-03 17:42:48 -04:00
Daniel Agar
bbe18ed5fd
EKF2_MAG_DECL move to system category
2018-08-03 16:48:49 +02:00
Daniel Agar
92ff391c97
ekf2 fix GPS fix_type comparison
...
- fixes Coverity CID 306253
2018-08-02 07:46:43 +10:00
Daniel Agar
77751d4822
EKF2 set param EKF2_MAG_DECL volatile
2018-07-26 08:32:09 +02:00
Paul Riseborough
77f0883cb9
ekf2: Reinstate saving of mag declination for use next start
...
This capability was removed unintentionally by previous changes.
Requires ecl version with updated declination accessor function
2018-07-26 08:32:09 +02:00
Paul Riseborough
fc65939f0e
ekf2: Add support for use of multiple GPS receivers ( #9765 )
2018-07-22 12:18:30 -04:00
Paul Riseborough
c9ca27e7c2
ekf2: Update documentation for EKF2_RNG_AID parameter
2018-07-22 17:42:31 +10:00
Paul Riseborough
4e3f7bdcc6
ekf2: Move range min/max checks to inside the ecl library
2018-07-16 21:59:04 +10:00
Philipp Oettershagen
da2fbf60b5
distance sensors: Improve variable naming / description
2018-07-16 21:59:04 +10:00
Philipp Oettershagen
35bde5c9fc
LL40LS: Implement driver-specific filtering based on the datasheet and experiments
2018-07-16 21:59:04 +10:00
Daniel Agar
850b1ad6a7
EKF2 split output predictor and publish attitude immediately ( #9832 )
...
* EKF2 split output predictor and publish attitude immediately
* ecl: incorporate magic number tidy up
2018-07-09 08:11:24 +10:00
Daniel Agar
9ce83f2208
fix all sign-compare warnings
2018-07-01 09:36:55 +00:00
Paul Riseborough
a04468ba9f
ekf2: Fix EKF preflight check fail false positives
...
Uses a relaxed yaw innovation check threshold for fixed wing vehicle that can recover from larger yaw errors after takeoff.
Replaces the peak hold with decay filtering applied to the magnetic yaw innovations with a conventional lowpass filter. This prevents mag heading innovation transients caused by preflight handling from failing the check, but catches persistent errors. Sign swapping of innovations due to angle wrapping is not a problem due to the way that innovations are calculated inside the EKF, so a simple LPF sufficient.
2018-06-29 16:36:38 +00:00
Daniel Agar
96f47d4772
EKF2 add perf counters ( #9795 )
2018-06-28 17:28:03 -04:00
Paul Riseborough
366e36a07b
ekf2: Update parameter description
2018-06-09 13:38:04 +02:00
Mohammed Kabir
8f5ceac936
ekf2 : use INFINITY when altitude limiting is not needed
2018-06-09 13:38:04 +02:00
Mohammed Kabir
6a9377846f
ekf2 : update to use new navigation limits architechture
2018-06-09 13:38:04 +02:00
Paul Riseborough
9e567cadd6
ekf2: Update parameter description
2018-06-09 13:38:04 +02:00
Daniel Agar
2e92484325
ecl update to latest master with separate libraries ( #9406 )
2018-05-03 23:48:09 -04:00
Paul Riseborough
cbb4559c15
ecl : update to version that fixes wind relative dead reckoning bug
2018-04-24 00:02:48 -04:00
Daniel Agar
35cb2d0a9e
EKF2 fix airspeed orb_copy check
2018-04-24 00:02:48 -04:00
Paul Riseborough
477a42e6f6
ekf2: Enable adjustment of nav validity timeout
2018-04-24 00:02:48 -04:00
Daniel Agar
1ecfb22dbc
EKF2 move all orb_subscribe/unsubsribe to the constructor/destructor
2018-04-11 23:26:58 -04:00
Daniel Agar
2a58c7a28c
EKF2 and replay add all consumed messages to ekf2_timestamps and refactor
2018-04-11 23:26:58 -04:00
Daniel Agar
3b5b12e1d1
move baro and magnetometer data out of sensor_combined
2018-04-11 23:26:58 -04:00
Daniel Agar
5dc23def2a
move pressure altitude from baros to sensors module
2018-04-11 23:26:58 -04:00
Daniel Agar
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Roman
d9fbf85c20
ekf2: remove early advertising of wind estimate topic
...
- if it's not estimating wind it won't publish it below (was fixed)
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-21 18:46:58 +01:00
Roman
d2ebb0c7a2
ekf2: advertise wind topic early to make sure ekf2 get the first instance
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-21 18:46:58 +01:00
Daniel Agar
1abf90c6d4
EKF2 only publish wind_estimate if wind velocity is being estimated
...
- refactor body wind velocity calculation
2018-03-15 07:18:58 +01:00
Beat Küng
279b66bfbd
ekf2: use new Param class
...
reduces RAM usage by 1.3KB
2018-03-13 17:35:15 +01:00
Daniel Agar
458db2e508
vehicle_global_position remove redundant evh and evv
...
- vehicle_status_flags condition_global_velocity_valid is also unnecessary
2018-03-05 13:20:28 -05:00
Daniel Agar
b9081fb0ab
vehicle_global_position delete unused pos_d_deriv
2018-03-05 01:41:18 -05:00
Daniel Agar
4c4f990b3b
EKF2 remove FW_ARSP_MODE check
2018-03-02 08:58:08 +01:00
Paul Riseborough
fc78de4c26
ekf2: Update parameter descriptions for air data fusion
2018-01-29 22:30:34 +01:00
Paul Riseborough
f866698fb2
ekf2: Update parameter description for max optical flow rate
2018-01-29 22:30:34 +01:00
Paul Riseborough
b117fddb21
ekf2: publish estimator position control limits
2018-01-29 22:30:34 +01:00
ChristophTobler
66c67f89e6
ekf2: check if vision_position pos/vel are valid before using them
2018-01-15 11:11:56 +01:00
ChristophTobler
c7cf442e16
ekf2: use ev eph/v for noise parameter if bigger than noise param
2018-01-15 11:11:56 +01:00
Nicolas de Palezieux
d9b9b4407a
ekf2 : add support for precision landing measurement fusion
2018-01-15 10:27:23 +01:00
Daniel Agar
7b1b255158
EKF2 set zero unused estimator_status fields
2018-01-12 23:19:46 +01:00
Lorenz Meier
73348b6c4e
EKF2: Update param metadata
2018-01-08 09:27:22 +01:00
Lorenz Meier
ca0267b4e9
EKF: Add required flags to parameters
...
This marks the learned bias parameters as volatile (as they change in flight without external configuration) and marks them as system level, which should hide them by default from the UI
2018-01-08 09:27:22 +01:00