priseborough
5df733a883
AP_NavEKF: Allow flight transition to optical flow mode if GPS is lost
10 years ago
priseborough
04810c012d
AP_NavEKF: Increase flow data valid timeout to handle arming delays
...
When Copter arms, the AHRS/EKF may not be run for a few hundred msec depending on conditions. This can cause the arming check to fail the optical flow sensor and place the EKF in a constant position mode.
10 years ago
priseborough
073b8e7c43
AP_NavEKF: Always explicitly set required const pos or vel mode when arming
...
This additional explicit setting of the constPosMode and constVelMode reduces the likelihood of logic errors being introduced in the future as it places the intended setting of these parameters at arming in the one place. the constVelmode and constPosMode only have one set of conditions each that can trigger these modes in flight, so if these modes are true after arming it will be clear that it was the in-flight condition that triggered.
10 years ago
priseborough
9c6dabe1cc
AP_NavEKF: Add separate flow default parameters for platform types
...
Also reduces flow measurement noise default for copter only and increases gate to compensate.
10 years ago
priseborough
d2da16e652
AP_NavEKF: Consistently set timeout flags whenever aiding is inhibited
...
This ensures the position and velocity measurement status will be set as timed out immediately after use of those measurements is inhibited. This will improve the timeliness of filter status reporting.
10 years ago
priseborough
824425625c
AP_NavEKF: Update public method used to inhibit GPS use
...
This method is not currently used by any of our vehicle types, but will be required to enable a user selectable 'indoor mode'.
10 years ago
priseborough
1033f5fc1e
AP_NavEKF: Apply flow nav vehicle limits regardless of sensor health
...
It does not make sense to relax the limits on vehicle speed and nav gains just because we have received some invalid flow data. This could make the situation worse if the invalid data was being caused by too much speed.
If we are relying on flow data the vehicle limits should always be applied.
10 years ago
priseborough
14b51f6d74
AP_NavEKF: Unconditionally fuse velocity in constant velocity mode
...
The zero velocity measurements in this mode are by definition always correct and should never be rejected
10 years ago
priseborough
6663d80176
AP_NavEKF: Simplify nested logic - functionally equivalent
...
Additional if else statement was unnecessary
10 years ago
priseborough
12c3368c4d
AP_NavEKF: Bypass GPS glitch logic when not aiding
...
When we are not using GPS measurements, we should not be allowing the GPS glitch logic to reset position states as this can interfere with operation of non GPS modes.
10 years ago
priseborough
5c8e71a8d1
AP_NavEKF: Don't reset the position measurement timeout if not aiding
...
When PV aiding is disabled, then the timeout time reference should not be reset becasue we want the position measurement timeout status to remain true the whole time the measurement is not being used.
10 years ago
priseborough
c505a458de
AP_NavEKF: Always declare a position measurement timeout if aiding not used
...
If position and velocity aiding is turned off, then the position measurement should always be reported as timed out.
10 years ago
priseborough
3b166372cc
AP_NavEKF: Always declare a velocity measurement timeout if velocity not used
...
If position and velocity aiding is turned off, then the velocity measurement should always be reported as timed out.
10 years ago
priseborough
95c3197170
AP_NavEKF: Ensure velocity will not be reset unless needed for aiding
10 years ago
priseborough
8aeec82846
AP_NavEKF: Continually turn off aiding whilst the vehicle is disarmed
...
This prevents the possibility of any logic errors turning aiding back on.
AP_NavEKF: Fix bug in logic
10 years ago
priseborough
81ee339e25
AP_NavEKF: Synchronise non-aiding mode state corrections
...
Synchronise with covariance prediction to improve numerical stability and accuracy of angle corrections. The 'noise' this produces in the position and velocity estimate is irrelevantbecause these are not used by the control loops during this mode of operation (they are nominally zero anyway).
10 years ago
priseborough
ae6b85e63d
AP_NavEKF: Explicitly set aiding to off when disarmed
...
This fixes a bug that could cause the AHRS to drift whilst the vehicle was disarmed depending sensor combinations at startup.
10 years ago
priseborough
fb1962b111
AP_NavEKF: Let reported position whilst disarmed show inertial errors
...
Showing the positon states (which are nominally zero) in addition to the last known offset can provide useful log information.
10 years ago
Randy Mackay
01c669ee15
RangeFinder: minor param description update
...
Also initialise primary instance to 0.
No functional change.
10 years ago
Randy Mackay
c24e997fb2
AC_Fence: use inertial nav's get_filter_status
10 years ago
Randy Mackay
f35efc56e0
InertialNav_EKF: get_filter_status replaces position_ok
10 years ago
Randy Mackay
5d80481723
InertialNav: get_filter_status replaces position_ok
...
altitude_ok also replaced.
10 years ago
Andrew Tridgell
61be4ce2d2
HAL_Linux: fixed #if for linux builds
10 years ago
Víctor Mayoral Vilches
2b74d018fe
HAL_Linux: Adjust set_system_clock
...
Do nothing for HAL_BOARD_SUBTYPE_NONE.
10 years ago
Víctor Mayoral Vilches
974f243c7e
HAL_Linux: Add set_system_clock
10 years ago
Jonathan Challinger
d679831c75
GCS_MAVLink: run generate.sh
10 years ago
Jonathan Challinger
0997ab23a4
GCS_MAVLink: merge upstream changes to common.xml
10 years ago
Grant Morphett
236efad159
AP_HAL_AVR: Increased number of AVR input channels from 8 to 11
10 years ago
mirkix
d11c5286c3
AP_HAL: HAL_COMPASS_AK8963 used but not defined anywhere
10 years ago
mirkix
9a65a8c8fb
AP_Compass: add AK8963 to auto-detect in test suite
10 years ago
mirkix
e9d4165a8d
AP_Compass: add AK8963 support to test suite
10 years ago
mirkix
7ceb93befa
AP_HAL: make the examples usable with Linux
10 years ago
Andrew Tridgell
5512a6f8a0
SITL: lower the default noise in SITL
...
the noise levels were well above realistic levels, especially for gyro
noise, and were causing EKF issues
10 years ago
Randy Mackay
842efe71be
DataFlash: move COMPASS2,3 formats to extra structures
10 years ago
Randy Mackay
e7471c5fe5
DataFlash: fix message id and CURR formatting
10 years ago
Randy Mackay
09e3dcd821
DataFlash: pass ahrs, batt, targets by reference
10 years ago
Randy Mackay
f23959b5fa
DataFlash: fix missing slash lost in merge
10 years ago
Robert Lefebvre
80929c389e
DataFlash: Handle multiple compass instances natively inside the Library.
10 years ago
Robert Lefebvre
5b70550b73
DataFlash: Fix potentially uninitialized variable compiler warning.
10 years ago
Robert Lefebvre
be803f4f39
DataFlash: Minor whitespace changes/cleanup. No effect.
10 years ago
Robert Lefebvre
2657610373
DataFlash: Add common-vehicle Mode logging method.
...
Conflicts:
libraries/DataFlash/DataFlash.h
10 years ago
Robert Lefebvre
12c3593bc3
DataFlash: Add common-vehicle Compass logging method.
10 years ago
Robert Lefebvre
2fdcd99db2
Arducopter: Move Attitude Message structure definition to the Base Structures section.
...
Conflicts:
libraries/DataFlash/DataFlash.h
10 years ago
Robert Lefebvre
d2adf2cdd7
DataFlash.h: Move format characters string to a more convenient location.
10 years ago
Robert Lefebvre
392e5257cc
DataFlash: Add voltage2 data to Current log, to be used by plane.
10 years ago
Robert Lefebvre
50b5376945
DataFlash: Add common-vehicle Current logging message.
10 years ago
Robert Lefebvre
db1a066f43
DataFlash: Add common-vehicle Attitude logging message.
10 years ago
Robert Lefebvre
743c5e4fde
AC_AttitudeControl: Remove un-needed #include
10 years ago
Andrew Tridgell
8b59c72eb9
AP_InertialSensor: cope with 2 IMUs in SITL
10 years ago
Andrew Tridgell
a37f3680e4
AP_Arming: support skip_gyro_cal
...
also break up arming INS reports, to be clearer for users
10 years ago