Commit Graph

53542 Commits

Author SHA1 Message Date
Randy Mackay 8c19af72e0 GCS_MAVLink: learn routes even on private channels
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-06-06 15:50:13 +10:00
Andrew Tridgell 19063a46a0 AP_InertialSensor: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-06 14:50:40 +10:00
Andrew Tridgell 180c516b53 AP_BoardConfig: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-06 14:50:40 +10:00
Andrew Tridgell 6832eab8a5 AP_GPS: fixed build without logging 2022-06-06 14:50:40 +10:00
Andrew Tridgell 2c962e46c1 AP_Logger: don't compiler AP_Logger.cpp if logging not enabled
for some reason this fixes f103-GPS build, even though the code wasn't
referenced
2022-06-06 14:50:40 +10:00
Andrew Tridgell a15cf3192d AP_Logger: save crash_dump.bin to sdcard on boot
on each boot write crash_dump.bin to the microSD if it is available
this makes it easier for users to send in their crash dumps, and less
likely they will overwrite it with a fw update
2022-06-06 14:50:40 +10:00
Andrew Tridgell 45c016ea13 AP_Param: make configured_in_storage() private
prevent future bugs using the wrong method
2022-06-06 13:11:50 +10:00
Andrew Tridgell 161ab4b330 Copter: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell d512dc0b00 RC_Channel: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell be33f77725 AP_VideoTX: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell 943b262eef AP_RPM: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell 5413893c91 AP_RangeFinder: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell 72470e290c AP_NavEKF: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell d5670ace3b AP_NavEKF3: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell aafec1fbe7 APM_Control: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell e807a74976 AP_HAL_ChibiOS: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell b2e43d1dee AP_Motors: fixed override of MOT_PWM_MIN/MAX in defaults.parm
need to check configured() not configured_in_storage()
2022-06-06 13:11:50 +10:00
Andrew Tridgell 540dcc554f AP_UAVCAN: added a check for memory corruption in the pool 2022-06-05 16:03:35 +10:00
Andrew Tridgell 541de85354 AP_UAVCAN: added dynamically allocated pool size param
allow for smaller pool size to save memory
2022-06-05 16:03:35 +10:00
Randy Mackay 29a1aed1e3 AP_Mount: backend gets minor comment fix 2022-06-03 19:43:54 +09:00
Randy Mackay 6303a7d958 AP_Mount: Alexmos minor comment fix 2022-06-03 19:43:51 +09:00
Andrew Tridgell 6423a2dfb9 Plane: use pos_control for weathervane attitude
this makes no difference as wp_nav just passes through, but right API
to call
2022-06-03 18:19:53 +10:00
Andrew Tridgell ae6b877fd3 Plane: added Q_NAVALT_MIN
this is equivalent to copters WP_NAVALT_MIN parameter for takeoff. Not
implemented for land yet

this is useful for vehicles with significant GPS velocity noise on
takeoff, preventing dragging the landing gear
2022-06-03 18:19:53 +10:00
bugobliterator a30f239069 bootloaders: update CubeOrange and related hardware bootloaders 2022-06-03 16:41:22 +10:00
bugobliterator 68f0863fb6 AP_HAL_ChibiOS: remove peripheral power down in bootloader 2022-06-03 16:41:22 +10:00
bugobliterator c4fe3dec91 bootloaders: update CubeOrangePlus bootloader with correct hwdef 2022-06-03 16:41:22 +10:00
bugobliterator 2726de9b7a AP_HAL_ChibiOS: split the CubeOrange hwdef into inc and dat so the inc can be properly reused 2022-06-03 16:41:22 +10:00
bugobliterator 026ca4adae AP_HAL_ChibiOS: update to using H757 chipset in cubeorange+ 2022-06-03 16:41:22 +10:00
bugobliterator ca12a621cf bootloaders: update CubeOrangePlus bootloader to use H757 chipset 2022-06-03 16:41:22 +10:00
Randy Mackay b4e5e16d56 RC_Channel: minor spelling fix 2022-06-03 11:56:18 +09:00
Randy Mackay 9e8f000ac2 AP_Mount: minor spelling fix 2022-06-03 11:56:18 +09:00
Andy Piper 7b733da2ea AP_HAL: correct assert 2022-06-01 15:49:32 +01:00
Andy Piper d3e57be6e5 AP_HAL: save a sliding window array of frequency bins
calculate frequency average from sliding window
2022-06-01 15:49:32 +01:00
Andy Piper f244866329 autotest: add test for FFT continuous averaging 2022-06-01 15:49:32 +01:00
Andy Piper 044aaf3004 AP_HAL_Empty: save a sliding window array of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper 061ddf7a3f AP_HAL_SITL: save a sliding window of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper 58b04db242 AP_HAL_ChibiOS: save a sliding window of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper 684cf996e1 AP_GyroFFT: save a sliding window of output frequency bins
allow configuration of DSP averaging frames via FFT_NUM_FRAMES
2022-06-01 15:49:32 +01:00
Andrew Tridgell c02aef8a50 AP_Logger: allow for new log msgs in Replay
this makes replay tuning and code testing much easier as up to 10 new
log messages can be added in the replay code
2022-06-01 17:07:41 +10:00
Maxim Buzdalov e71ced7984 AP_Scripting: Fix parameter name in find_serial, add description
The argument to find_serial is not the protocol name, but the number of instance that can run the Scripting protocol (28).
The matching doc update is in https://github.com/ArduPilot/ardupilot_wiki/pull/4346.
2022-05-31 15:00:57 +01:00
Andrew Tridgell 6f3b760d0b AP_Filesystem: fixed gets() posix compat function
it needs to stop at end of line
2022-05-31 09:26:43 +10:00
Andrew Tridgell 8f2f770e93 Replay: support set source events 2022-05-31 09:17:37 +10:00
Andrew Tridgell 74c4f3c9a9 AP_NavEKF3: log set source events 2022-05-31 09:17:37 +10:00
Andrew Tridgell 8430fc1002 AP_DAL: added set source events for EKF3 2022-05-31 09:17:37 +10:00
Mark Whitehorn 6f789ead55 AP_Math: add unit test for rc_input_to_roll_pitch 2022-05-31 08:08:17 +09:00
Leonard Hall 0c008fe8a9 Copter: AP_Math: Move rc_input_to_roll_pitch conversion to AP_Math 2022-05-31 08:08:17 +09:00
Leonard Hall 1a21c6da1e AP_Math: Move rc_input_to_roll_pitch conversion 2022-05-31 08:08:17 +09:00
Leonard Hall 08cdde5608 Copter: Clarify get_pilot_desired_lean_angles and fix limit 2022-05-31 08:08:17 +09:00
Randy Mackay fc9a792f88 Copter: minor comment fix to auto mode 2022-05-31 07:50:16 +09:00
Randy Mackay dd0d1d6b3c Copter: minor comment fixes to ekf failsafe
the bad variances can be from the compass, velocity or position estimate
2022-05-31 07:50:16 +09:00