Paul Riseborough
29d383edbf
EKF: Allow mag field estimates to stabilise before use
7 years ago
Paul Riseborough
363edf5eb9
EKF: Fix yaw reset for fixed wing
...
Ensures that a complete reset of velocity and position states will always be performed if yaw has had to be reset using GPS velocity.
Ensures that the yaw_align status cannot be set to false once the filter has aligned.
7 years ago
Paul Riseborough
7852c0ed03
Merge pull request #312 from PX4/pr-ekfExtVisQuat
...
EKF: Enable operation with arbitrary External Vision reference frame
7 years ago
Paul Riseborough
5fd006ca48
EKF: remove redundant code
7 years ago
ChristophTobler
368248fe6d
Merge pull request #353 from PX4/pr-expo_int_cast
...
EKF: use uint64_t cast for XeY to avoid float casting of variables
7 years ago
ChristophTobler
e388e59f32
EKF: use uint64_t cast for XeY to avoid float casting of variables
...
The default type for XeY is float
7 years ago
Paul Riseborough
bba3f70a0e
EKF: reduce prediction time step from 12 to 8 sec
...
Reduces susceptibility to incorrect estimation of acceleration bias during sustained yaw rate.
Requires an increase in RAM allocation of 837 Bytes to allow for the longer IMU and output predictor buffers that can be created.
7 years ago
Paul Riseborough
01d68ef67c
EKF: Enable use of rotated external nav estimates
7 years ago
Paul Riseborough
f921b2de5c
Merge pull request #348 from PX4/pr-ekfAddImuBiasReset
...
EKF: Add method to enable the IMU bias states to be reset externally
7 years ago
Paul Riseborough
063533afae
EKF: Add method to enable the IMU bias states to be reset externally
7 years ago
Paul Riseborough
cd2ca57ec2
Merge pull request #339 from PX4/ekfPosCtrlLimits-wip
...
Ekf pos ctrl limits wip
7 years ago
Daniel Agar
22a51c6afd
PX4_ISFINITE -> ISFINITE
7 years ago
Daniel Agar
9e13a2cb21
tecs move initialization
7 years ago
Daniel Agar
31a8e047d7
tecs one line setters and group
7 years ago
Daniel Agar
4f2d571c89
tecs fix code style
7 years ago
Paul Riseborough
79995b2c15
Create total energy control system implementation
...
This is a new, clean and streamlined variant of the mathematical derivation I created a few years ago.
7 years ago
Daniel Agar
9eb860fabd
travis-ci fix gcc and clang compilation jobs ( #344 )
...
- allow the python testing to fail without failing the entire build
7 years ago
Paul Riseborough
e10ec59058
EKF: Use consistent test for navigation validity reporting
...
This will enable controller to take advantage of non-inertial dead reckoning.
7 years ago
Paul Riseborough
19074fdd9e
EKF: Use consistent time limit for inertial dead reckoning test
7 years ago
Paul Riseborough
55a2dc94df
EKF: handle air data fusion covariance reset consistently
...
Both the sideslip and airspeed fusion should not be resetting covariances for states they do not modify.
7 years ago
Paul Riseborough
0d32128701
EKF: Use dead-reckoning status to determine if air data should modify non-wind states
7 years ago
Paul Riseborough
e4ffe199ed
EKF: fix bug in sideslip fusion activation
7 years ago
Paul Riseborough
59f1c3e19e
EKF: Update dead-reckoning definition
...
Use of air data to navigate should be classified as dead-reckoning because neither ground relative velocity or position is observed directly and errors grow faster.
7 years ago
Paul Riseborough
a2dcd5b9b6
EKF: Consolidate no aiding reset logic
7 years ago
Paul Riseborough
929c5c2b37
EKF: enable gps fusion flag to be false while fusing air data
7 years ago
Paul Riseborough
204a218ee6
EKF: Allow dead-reckoning using air data
7 years ago
ChristophTobler
f5fd90533a
fix gps and flow flag handling
...
gps flag was not turning false if there was flow
only reset states if we were relying on that sensor only
7 years ago
Paul Riseborough
9857fb9eb6
EKF: publish control limits for optical flow navigation
7 years ago
Paul Riseborough
afa8844eb7
Merge pull request #341 from CarlOlsson/fix/fw_yaw_align2
...
EKF: If aligning yaw for fw with low GPS velocity, use mag
7 years ago
CarlOlsson
2e03084d34
EKF: If aligning yaw for fw with low GPS velocity, use mag
7 years ago
Paul Riseborough
61e0c04811
Merge pull request #338 from CarlOlsson/fix/fw_pos_reset
...
EKF: Fix bug when resetting position and velocities for fw due to som…
7 years ago
CarlOlsson
c81cdfa1ce
EKF: Fix bug when resetting position and velocities for fw due to something else than bad yaw estimate
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
7 years ago
Paul Riseborough
410697cb0c
Merge pull request #337 from CarlOlsson/fix/comment
...
EKF: fixed comment
7 years ago
CarlOlsson
8c83167857
EKF: fixed comment
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
7 years ago
Paul Riseborough
32b795ee10
EKF: Add readme file to EKF documentation directory
7 years ago
Paul Riseborough
8dd4800a2c
EKF: Add preliminary documentation for filter mathematics
7 years ago
Paul Riseborough
a34bba87fc
Merge pull request #322 from PX4/pr-ekfMagFusionMode
...
EKF Add mag fusion mode for VTOL
7 years ago
Paul Riseborough
dbff89fbcb
EKF: Fix error preventing selection of MAG_FUSE_TYPE_AUTOFW
7 years ago
Paul Riseborough
6f7f05fdc0
EKF: Move MAG_FUSE_TYPE_AUTOFW control to the expected place
7 years ago
Paul Riseborough
e834522f62
EKF: Use fixed wing status flag in MAG_FUSE_TYPE_AUTOFW logic
7 years ago
Paul Riseborough
7b4c957ad4
ekf2: Add new mag fusion mode
...
Adds a mode where mag fusion is only used update the field estimates
7 years ago
Paul Riseborough
9c65968c3d
Merge pull request #334 from PX4/pr-ekf_minor_flow_fix
...
ekf: fix optical flow bugs
7 years ago
Paul Riseborough
68bad48598
Merge pull request #330 from CarlOlsson/pr-add_get_wind_vel_var
...
EKF: added get_wind_velocity_var function
7 years ago
Paul Riseborough
4db23b7b2e
EKF: Don't report terrain estimate invalid immediately when HAGL observations fail checks
7 years ago
Paul Riseborough
1119a9b0ac
EKF: Enable optical flow reversion to work if flow data is lost
...
Also improve reporting.
7 years ago
ChristophTobler
cdf6e6cd36
EKF: use delta_time to avoid division by zero
7 years ago
Paul Riseborough
d293c4231d
EKF: Protect against divide by zero caused by invalid optical flow
7 years ago
Paul Riseborough
ab9b8e1964
EKF: Prevent bad optical flow quality causing loss of aiding when on ground
7 years ago
ChristophTobler
b7e589b98a
EKF: only fuse optical flow if terrain is valid
7 years ago
ChristophTobler
81a64c0479
ekf: fix flow direction when on ground
7 years ago