Andrew Tridgell
853271dd37
Replay: moved replay tool into Tools/Replay
11 years ago
Andrew Tridgell
295cd9adba
AP_NavEKF: give a sensible error for no such file on replay
11 years ago
Paul Riseborough
854f013146
AP_NavEKF : Fixes zero compass offsets on initialisation
11 years ago
Andrew Tridgell
cc4c443b32
SITL: simulate dual accel/gyro
11 years ago
Jonathan Challinger
e81d2e9584
AP_InertialSensor: Correct out-of-bounds array access that was causing SITL to crash
11 years ago
Andrew Tridgell
736201689b
AP_NavEKF: only use the active accel from DCM if fly_forward is set
11 years ago
Andrew Tridgell
aaaae9a222
AP_AHRS: added get_fly_forward() method
...
will be used to detect a copter
11 years ago
Paul Riseborough
62eff63267
AP_NavEKF : Increase the tuning range for magnetometer measurement noise
11 years ago
Andrew Tridgell
9a5ecc9541
AP_AHRS: use primary accel for accel_ef
...
Logs from Randy show that the copter INav code can't handle the
accelerometer sensor changing.
11 years ago
Andrew Tridgell
2c85a7ba56
AP_InertialSensor: expose get_primary_accel() for use in AHRS
11 years ago
Andrew Tridgell
cf148fa76c
AP_Compass: improved COMPASS_ORIENT and COMPASS_EXTERNAL for Pixhawk
11 years ago
Andrew Tridgell
a9e683dada
AP_NavEKF: use the accelerometer chosen by DCM for each step
11 years ago
Andrew Tridgell
b53496d470
AP_AHRS: choose the best accelerometer at each drift correction step
...
this greatly reduces the impact of aliasing on accelerometers by
choosing the accelerometer that produces the smallest error term in
DCM. The difference can be quite dramatic on the Pixhawk.
11 years ago
Andrew Tridgell
0b45d2bc06
AP_AHRS: removed the AHRS_GPS_DELAY parameter
...
the best value has turned out to be 1, and tweaking it has not turned
out to be useful, so this simplifies the code in preparation for
adding the anti-aliasing handling with multiple accelerometers
11 years ago
Andrew Tridgell
6b9e1edf38
Plane: disable GPS2 in HIL
11 years ago
Andrew Tridgell
3de574e5dc
Copter: disable GPS2 in HIL
11 years ago
Andrew Tridgell
87ea98fe2c
Rover: disable GPS2 in HIL
11 years ago
Paul Riseborough
78a1cac560
AP_NavEKF : Improved heading and magnetic field state initialisation
11 years ago
Paul Riseborough
d83b382e59
AP_NavEKF : Fix variance constraint bug
...
Constraining variances to a minimum value of 1e-9 was causing problems
with gyro bias and angular accuracy in noisy GPS environments.
Because the constraint is applied after every covariance prediction
and correction, a lower value of 0 is more appropriate.
11 years ago
Andrew Tridgell
8b59e564ba
AP_NavEKF: improved replay timing
11 years ago
Andrew Tridgell
840f1b9a1e
AP_InertialSensor: make HIL timing more accurate
...
needed for 400Hz replay
11 years ago
Andrew Tridgell
66f238c0da
AP_NavEKF: support 400Hz replay from 50Hz logs
11 years ago
Andrew Tridgell
3fa2207a2d
AP_HAL: allow for microsecond resolution in scheduler->stop_clock()
...
this makes 400Hz in the replay code possible
11 years ago
Andrew Tridgell
6fc5c12f1d
AP_AHRS: remove unused variable
11 years ago
Andrew Tridgell
866e32f059
AP_Motors: removed unused variable
11 years ago
Andrew Tridgell
37394b30ee
Copter: added support for 2nd GPS
11 years ago
Andrew Tridgell
82ffc0ff2b
Rover: support a 2nd GPS
11 years ago
Andrew Tridgell
07826096a2
Plane: support a 2nd GPS
11 years ago
Andrew Tridgell
e410733682
DataFlash: added GPS2 logging
11 years ago
Andrew Tridgell
0115b9fa07
HAL_SITL: support a 2nd GPS
11 years ago
Andrew Tridgell
836f473db2
HAL_FLYMAPLE: no uartE
11 years ago
Andrew Tridgell
58d5454d65
HAL_Empty: no uartE
11 years ago
Andrew Tridgell
6c74ca58c3
HAL_AVR: no uartE
11 years ago
Andrew Tridgell
4cb61f1f08
AP_HAL: support uartE
11 years ago
Andrew Tridgell
bf2dd141e9
HAL_PX4: support uartE for 2nd GPS
11 years ago
Andrew Tridgell
95dd252f29
Plane: pass fix type to gps->setHIL()
11 years ago
Andrew Tridgell
2fcbdc4056
Copter: pass fix type to gps->setHIL()
11 years ago
Andrew Tridgell
50f89d0aa6
Rover: pass fix type to gps->setHIL()
11 years ago
Andrew Tridgell
63874dfffd
AP_NavEKF: set fix type in GPS replay
11 years ago
Andrew Tridgell
d7b2a09919
AP_GPS: added fix type to setHIL
11 years ago
Andrew Tridgell
09cce5d24e
AP_NavEKF: fixed replay with current copter logs
11 years ago
Jonathan Challinger
f321a5f241
AP_AHRS: Change airspeed_estimate to const in children of AP_AHRS
...
Allows roll/pitch controllers to use DCM's airspeed estimate. Thanks to Kevin Hester for assistance in finding this.
11 years ago
Paul Riseborough
72a91ccbca
AP_NavEKF : Prevents aliasing triggering innovation consistency check failures
11 years ago
Andrew Tridgell
8a4289b56f
Plane: remove unused variables
...
thanks to Mike McCauley
11 years ago
Andrew Tridgell
11028c665d
Rover: removed unused variables
...
thanks to Mike McCauley
11 years ago
Andrew Tridgell
7a6f671659
AP_GPS: added have_vertical_velocity() function
...
for use by EKF
11 years ago
Andrew Tridgell
c1f9be75fe
autotest: fly the cruise rudder circuit a bit faster
11 years ago
Andrew Tridgell
a273951f70
HAL_Linux: added missing Util.cpp
11 years ago
Andrew Tridgell
eac4b1ec96
Rover: fixed EKF usage for rover
...
added barometer object, and use shared home object from AHRS. This
gives basic EKF operation.
11 years ago
Andrew Tridgell
203073e3ba
Rover: only use pivot steering in AUTO modes
11 years ago