Andrew Tridgell
bdb364d461
AP_InertialSensor: save the accelerometer ID parameters
...
this is needed for factory accel cal
4 years ago
Andrew Tridgell
87528f47c8
AP_IOMCU: prevent internal error on bootloader flash
...
when we flash the bootloader on boards with an IOMCU we expect a long
delay as the CPU stops during the flash
4 years ago
Andrew Tridgell
6163659887
AP_HAL: prevent a single bad transfer causing an IMU to be marked unhealthy
...
This is a response to this issue:
https://discuss.ardupilot.org/t/gyro-problem-after-waypoint-log-analisys
The 2nd gyro went bad with a large offset. Then the first gyro was
marked unhealthy, forcing the EKF to switch to the 2nd gyro. That
resulted in a crash.
I think the SPI bus was getting bad transfers and the register check
code happened to get a bad transfer, thereby marking the first gyro
unhealthy
This change ensures we only fail the register check if two transfers
in a row are bad. This makes it much less likely that a noisy bus will
lead to an unhealthy gyro
4 years ago
Iampete1
ebfe593e38
AP_Scripting: add example script setting up a custom MotorMatrix
4 years ago
Iampete1
5c397d4674
AP_Scripting: add MotorMatrix bindings
4 years ago
Iampete1
fca6f7027b
AP_Motors: allow Matrix config from scripting
4 years ago
Peter Hall
d0e1e85b9e
AP_Motors: add get_frame_mav_type
4 years ago
Randy Mackay
f6cb0819ef
AP_NavEKF3: pre_arm_check may skip position checks
4 years ago
Randy Mackay
8ecac27777
AP_NavEKF_Source; pre_arm_check may skip position checks
4 years ago
Randy Mackay
62932f884f
AP_AHRS: pre_arm_check may skip position checks
4 years ago
Andrew Tridgell
1716fcf995
GCS_MAVLink: fixed valgrind errors with AP_Param::ParamToken
4 years ago
Andrew Tridgell
ac35867c17
AP_Param: fixed valgrind errors with AP_Param::ParamToken
4 years ago
Andrew Tridgell
12b93e2922
AP_OSD: fixed valgrind errors with AP_Param::ParamToken
4 years ago
Andrew Tridgell
6c684538d3
AP_Param: greatly speed up param download with disabled parameters
...
allows fast skip over disabled subgroups. This removes a long delay
with param download on a MatekF405-STD where the final parameters
associated with the OSD took 80ms to fetch, causing a long loop delay
4 years ago
Peter Barker
d426d8e1f8
AP_GPS: use ground_course in preference to ground_course_cd
4 years ago
Peter Barker
358069df24
AP_AHRS: use ground_course in preference to ground_course_cd
4 years ago
WillyZehnder
2e2ec79992
RC_Channel: reserve AUX_FUNC for MISSION_RELATIVE
4 years ago
Andrew Tridgell
2843cfa42d
AP_InertialSensor: use mavlink statustext for cal info
4 years ago
Andrew Tridgell
b542f947f7
AP_InertialSensor: don't mark accels as calibrating during trim
...
we need the accels with offsets applied when doing accel trim
4 years ago
Andrew Tridgell
e908a996af
AP_InertialSensor: support SIM_ACC_TRIM
...
and cleanup vector maths
4 years ago
Andrew Tridgell
7292b4f260
SITL: added SIM_ACC_TRIM_{X,Y,Z} for simulating IMU trim
...
this will enable an autotest for AHRS trim
4 years ago
Andrew Tridgell
ddc4d08e8f
AP_NavEKF3: make drag fusion optional
4 years ago
Andrew Tridgell
1ccda938cb
AP_NavEKF3: make external navigation optional
4 years ago
Andrew Tridgell
8da511f039
AP_NavEKF3: make body odomotry build depend on vehicle type
...
saves about 11k of flash
4 years ago
E Thomas
2ee052b36e
AP_GPS: Made GPS_DISABLE prevent last_fix_time_ms updates
4 years ago
Peter Barker
ade1c487d8
AP_Logger: remove default reason argument for Write_Mode
...
All callers now supply this
4 years ago
Leonard Hall
25fff17e48
AC_AttitudeControl: constify some local variables
4 years ago
Peter Barker
3582b69e9c
AP_NavEKF3: remove getFilterTimeouts access methods
4 years ago
Peter Barker
445a461f12
AP_NavEKF2: remove getFilterTimeouts access methods
4 years ago
Peter Barker
401cccca19
AP_NavEKF2: correct description on NKF3.SVT
4 years ago
Peter Barker
b3bacdd33c
AP_NavEKF3: remove internal-only getTiltError method
4 years ago
Peter Barker
dddb285209
AP_NavEKF2: remove internal-only getTiltError method
4 years ago
Peter Barker
5ad0ac6727
AP_NavEKF3: remove unused getAccelNED method
4 years ago
Peter Barker
6b60bae068
AP_NavEKF2: remove unused getAccelNED method
4 years ago
Peter Barker
e32ca819fc
GCS_MAVLink: mark results as unused
4 years ago
Peter Barker
60d0b0f07c
AP_AHRS: add WARN_IF_UNUSED to some getters
4 years ago
Andrew Tridgell
6c8a57c2d7
AP_InertialSensor: review fixes
4 years ago
Andrew Tridgell
3ff71c7814
AP_InertialSensor: changes from review feedback
4 years ago
Andrew Tridgell
b12a663f7a
AP_InertialSensor: apply accel scaling
4 years ago
Andrew Tridgell
9febcc0f98
SITL: added accel scaling parameters
4 years ago
Andrew Tridgell
73ddde3629
AP_InertialSensor: changes for new SITL IMU params
4 years ago
Andrew Tridgell
b5089580a9
SITL: cleanup IMU parameters
...
allow for biases per IMU
4 years ago
Andrew Tridgell
5e60fac37e
AP_InertialSensor: remove unused variable
4 years ago
Andrew Tridgell
285b53fe07
AP_InertialSensor: use vector polyfit
...
this reduces memory usage
4 years ago
Andrew Tridgell
a1fb0592a9
AP_Math: specialise polyfit for vectors
...
this is needed to get the precision good enough for wide temperature
ranges when summing the resulting polygon coefficients
4 years ago
Andrew Tridgell
c8aaceb6ac
AP_LeakDetector: remove warning message on all non-sub builds
...
pointless pragma
4 years ago
Andrew Tridgell
d0d480e858
AP_Compass: fixed matrix inverse for new name
4 years ago
Andrew Tridgell
8278a8a00b
AP_AccelCal: rename from review feedback
4 years ago
Andrew Tridgell
2e2ccb40b2
AP_AccelCal: fixed inverse matrix call for new name
4 years ago
Andrew Tridgell
999268cbba
AP_Math: fixup matrix algorithms to be in cpp file
...
this fixes an issue where optimize O2 was forced on any file that
included AP_Math.h. It also fixes the test suite for matrix_alg, and
fixes the type handling to be consistent
4 years ago