Commit Graph

44674 Commits

Author SHA1 Message Date
Peter Barker 428c9ef0e1 AP_GPS: correct logging in dual-ublox setups 2020-11-10 17:39:51 +11:00
Andrew Tridgell 00cfc1932f autotest: fixed arm delay in replay test
thanks to Peter
2020-11-10 16:15:45 +11:00
Andrew Tridgell 2a210549f9 AP_DAL: minor review cleanups 2020-11-10 16:15:45 +11:00
Andrew Tridgell 790a5ffa38 AP_Vehicle: added bootloader vehicle type 2020-11-10 16:15:45 +11:00
Andrew Tridgell 280e9d1c41 HAL_ChibiOS: fixed bootloader build 2020-11-10 16:15:45 +11:00
Andrew Tridgell 2e60fbc6d3 waf: fixed headers check 2020-11-10 16:15:45 +11:00
Andrew Tridgell 17b4198921 HAL_ChibiOS: add WITH_FATFS to environment 2020-11-10 16:15:45 +11:00
Andrew Tridgell 7308384cdc Replay: require a filesystem for replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell 20ecac5e9f Replay: fixed build on boards with OSD 2020-11-10 16:15:45 +11:00
Andrew Tridgell 147df12eb8 GCS_MAVLink: allow replay to use GCS_Dummy 2020-11-10 16:15:45 +11:00
Andrew Tridgell ac566763fe HAL_ChibiOS: disable loop delay on replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell 5f669e22ff autotest: adjust optical flow speed test 2020-11-10 16:15:45 +11:00
Andrew Tridgell 4edc784dc4 Replay: allow replay on ChibiOS 2020-11-10 16:15:45 +11:00
Andrew Tridgell 5e8380ff41 AP_HAL: allow replay on ChibiOS 2020-11-10 16:15:45 +11:00
Andrew Tridgell f4bf2ec3fe AP_DAL: allow replay on ChibiOS 2020-11-10 16:15:45 +11:00
Andrew Tridgell f121c250ae AP_BoardConfig: allow replay on ChibiOS 2020-11-10 16:15:45 +11:00
Andrew Tridgell db86b95761 HAL_SITL: fixed AP_Periph sitl build 2020-11-10 16:15:45 +11:00
Andrew Tridgell 1a1ca7cca7 autotest: fly a bit higher in optical flow test
test was occasionally hitting the ground
2020-11-10 16:15:45 +11:00
Andrew Tridgell 7568639af7 Replay: don't build on chibios 2020-11-10 16:15:45 +11:00
Andrew Tridgell 025cf8f72b autotest: cleanup load_local_module 2020-11-10 16:15:45 +11:00
Andrew Tridgell 0ca54016bb Replay: cleanup use of globals 2020-11-10 16:15:45 +11:00
Andrew Tridgell 806852c9c3 AP_Math: speedup fill nanf 2020-11-10 16:15:45 +11:00
Andrew Tridgell c321025725 HAL_SITL: run nanf fill every 10 loops
this saves a lot of cpu while still giving protection
it reduces time to run a test replay from 8.1s to 4.1s
2020-11-10 16:15:45 +11:00
Andrew Tridgell 690af580c9 autotest: abstract out load_local_module()
this will be useful for other tests
2020-11-10 16:15:45 +11:00
Andrew Tridgell f674d124d6 autotest: use SITL replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell 3152da98e1 AP_Logger: skip structure validation in replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell d380447cd5 HAL_SITL: support command line args for replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell f966e92d99 HAL_SITL: default model for replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell 85aa64780c Replay: allow replay to run on SITL instead of linux HAL 2020-11-10 16:15:45 +11:00
Andrew Tridgell 0bc77a3baf AP_NavEKF3: fixed whitespace 2020-11-10 16:15:45 +11:00
Andrew Tridgell 7b50780c5e autotest: fixed rmtree error in autotest 2020-11-10 16:15:45 +11:00
Andrew Tridgell 8cb3013217 AP_DAL: setup low pass IMU filter for 20Hz 2020-11-10 16:15:45 +11:00
Andrew Tridgell 9e73922fd9 AC_PID: use calc_lowpass_alpha_dt() 2020-11-10 16:15:45 +11:00
Andrew Tridgell b0f0c8d842 Filter: use calc_lowpass_alpha_dt() 2020-11-10 16:15:45 +11:00
Andrew Tridgell cdcf32d22c AP_Math: added calc_lowpass_alpha_dt()
used in several places
2020-11-10 16:15:45 +11:00
Andrew Tridgell 6ee1b23d28 AP_NavEKF3: removed use of another lanes gyro in optflow takeoff detection
as discussed with Paul
2020-11-10 16:15:45 +11:00
Andrew Tridgell 5b41d5541f AP_NavEKF2: removed use of another lanes gyro in optflow takeoff detection
as discussed with Paul
2020-11-10 16:15:45 +11:00
Andrew Tridgell 0506af113e AP_DAL: tidyup 2020-11-10 16:15:45 +11:00
Andrew Tridgell a37cae5dae autotest: added test.Copter.Replay test 2020-11-10 16:15:45 +11:00
Andrew Tridgell f1f547f723 Replay: allow check_replay to be called as library 2020-11-10 16:15:45 +11:00
Andrew Tridgell 0d8a36d0c0 Replay: fixed linux build warning 2020-11-10 16:15:45 +11:00
Andrew Tridgell 3dff0b3d58 autotest: removed dcm yaw test
this should not be part of replay PR
2020-11-10 16:15:45 +11:00
Andrew Tridgell fabac94952 AP_DAL: avoid logging unused IMU data 2020-11-10 16:15:45 +11:00
Andrew Tridgell 7d7031d3d7 AP_NavEKF2: added const (review request) 2020-11-10 16:15:45 +11:00
Andrew Tridgell 7a34ec4458 AP_DAL: updated comment 2020-11-10 16:15:45 +11:00
Andrew Tridgell 0e7611cebe AP_DAL: fixed handling of AHRS trim 2020-11-10 16:15:45 +11:00
Andrew Tridgell f145afabf3 AP_DAL: pack RFRN more efficiently 2020-11-10 16:15:45 +11:00
Andrew Tridgell a08a1a4247 AP_Logger: allow for larger LOG_FILE_BUFSIZE
larger sizes on F7 and H7 allow for much more rapid loggging
2020-11-10 16:15:45 +11:00
Andrew Tridgell 71e4d72fe3 AP_Logger: removed 64k limitation on log buffer
the reason for the limit is gone with AP_FileSystem
2020-11-10 16:15:45 +11:00
Andrew Tridgell 2945de4796 AP_Logger: use WITH_SEMAPHORE in _WritePrioritisedBlock
this prevents a 1ms delay when waiting for the semaphore
2020-11-10 16:15:45 +11:00