Commit Graph

49329 Commits

Author SHA1 Message Date
Andrew Tridgell 4cebcede31 HAL_ChibiOS: switched to fix allocation for BMDA streams on H7
this avoids issues with BDMA stream assignments due to bugs found
while testing boards with both I2C4 and SPI6
2021-08-25 07:11:31 +10:00
Andrew Tridgell 4169656176 Tools: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 52fe9ff5b4 Rover: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 8929f4b763 Blimp: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 4daedd4572 Sub: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 3228b0e670 Plane: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 4de4db2aac Copter: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 00f91ac926 Tracker: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 5c3056e50d GCS_MAVLink: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell a95906ea93 mavlink: added MCU status 2021-08-25 07:11:31 +10:00
Andrew Tridgell 0f59e1ebb8 AP_Logger: log MCU temperature and voltage 2021-08-25 07:11:31 +10:00
Andrew Tridgell 57e87b9820 HAL_ChibiOS: measure MCU temperature and ref voltage on H7
this uses ADC3 to measure the internal MCU temperature and the reference
voltage. This uses a currently unused BDMA channel
2021-08-25 07:11:31 +10:00
Andrew Tridgell c91410f4b7 AP_HAL: added MCU status support 2021-08-25 07:11:31 +10:00
Randy Mackay 5de30cc7cf AP_Scripting: ahrs-source-gps-optflow script fixups from peer review
also dded assert on optical flow to ensure the script is used with a version of AP that includes the optical flow bindings
2021-08-24 16:49:04 +09:00
Randy Mackay 9313535a35 AP_OpticalFlow: SITL driver applies _FX/YSCALER params 2021-08-24 16:49:04 +09:00
Randy Mackay 2aa17916b1 AP_Scripting: add ahrs-source-gps-optflow
this supports automatic switching between GPS and opticalflow
2021-08-24 16:49:04 +09:00
Randy Mackay df187d5d3f AP_Scripting: add optical flow bindings 2021-08-24 16:49:04 +09:00
Randy Mackay d1f2acd813 AP_NavEKF3: rename varInnovOptFlow to flowVarInnov
also renamed innovOptFlow to flowInnov
2021-08-24 16:49:04 +09:00
Randy Mackay 85ade10e85 AP_NavEKF3: ofDataNew made local 2021-08-24 16:49:04 +09:00
Randy Mackay 11847cfcf5 AP_NavEKF3: always calculate optical flow innovations and variances 2021-08-24 16:49:04 +09:00
Randy Mackay 914a8dca49 AP_NavEKF3: for loops use uint8_t instead of unsigned 2021-08-24 16:49:04 +09:00
Randy Mackay 5779ebd177 AP_NavEKF3: remove unused Tbn_flow 2021-08-24 16:49:04 +09:00
Randy Mackay f9fd63e01e AP_NavEKF3: remove unused optflow calcs 2021-08-24 16:49:04 +09:00
Hwurzburg 00a1cbffde AP_CANManager: correct metadata for values 2021-08-24 10:52:33 +10:00
Iampete1 d372907a98 Plane: Quadplane: add Q_OPTION to only allow arming in Qmodes and auto. 2021-08-24 10:39:12 +10:00
Peter Barker f02ffac9a4 AP_SerialManager: reserve Id 41 for CoDev serially-attached ESCs 2021-08-24 10:24:02 +10:00
Peter Barker e2722c8e12 AP_AHRS: move active_accel_instance into DCM private header section 2021-08-24 10:23:36 +10:00
Peter Barker d6c7c59199 AP_AHRS: remove custom_rotation matrix to frontend
Only one of these per vehicle
2021-08-24 10:23:36 +10:00
Peter Barker 645a5302d0 AP_AHRS: move DCM parameters into DCM header 2021-08-24 10:23:36 +10:00
Peter Barker 74709c6292 AP_AHRS: move groundspeed vector up to AP_AHRS_DCM
The other estimators all have their own implementation of this
2021-08-24 10:23:36 +10:00
Peter Barker 8169910866 AP_AHRS: move frontend parameters up / DCM parameters down 2021-08-24 10:23:36 +10:00
Peter Barker 62f6a5b033 AP_Compass: fail calibration unless at least 1 compass to cal 2021-08-24 10:18:38 +10:00
Josh Henderson 3c9547caff AP_Baro_SITL: use temp_board_offset and timeout 2021-08-24 09:55:01 +10:00
Josh Henderson e8dcdd60c5 SITL: param use baro temp_board_offset instead of temp_flight 2021-08-24 09:55:01 +10:00
Josh Henderson 695ad5b4f6 Autotest: BaroDrivers tighten leeway for pressure and temp deltas 2021-08-24 09:55:01 +10:00
Iampete1 ee5ff413a9 Blimp: remove stick gesture compass cal start and stop 2021-08-24 08:51:29 +09:00
Iampete1 0895cf0a07 Copter: remove gesture compass cal start / stop 2021-08-24 08:51:29 +09:00
Iampete1 8c61d1a18d AP_Radio: hide params with enable flag 2021-08-24 09:38:46 +10:00
Iampete1 9bcd706dae AP_Proximity: hide params with enable flag 2021-08-24 09:38:46 +10:00
Iampete1 2bad7734db AP_landing: hide deepstall params with enable flag 2021-08-24 09:38:46 +10:00
Iampete1 280171e96b AP_Beacon: hide params with enable flag 2021-08-24 09:38:46 +10:00
Mohammad Hefny 2a14181e69 update to new files names 2021-08-24 07:45:41 +10:00
Mohammad Hefny ac30fbd7b0 SITL: Webots2021b Compatible 2021-08-24 07:45:41 +10:00
Rishabh ae98545202 AC_PrecLand: Add prec landing state machine 2021-08-23 15:00:56 +09:00
Rishabh c5b98c3490 Copter: Support Prec Land State Machine 2021-08-23 15:00:56 +09:00
Rishabh d4edd84573 AC_Precland: Allow landing retry and failsafe handling 2021-08-23 15:00:56 +09:00
TunaLobster 7d92ab1fb0 Tools: Fix emit.py regex 2021-08-23 14:44:27 +10:00
Peter Barker 44803b92c7 SITL: correct SIM_FETtecOneWire consume function
when this was factored out the parameter wasn't taken into account.
2021-08-23 13:47:35 +10:00
bnsgeyer ca007ee6f6 Copter: Allow Tradheli to spoolup in guided or auto mode 2021-08-23 12:26:00 +09:00
Andrew Tridgell 531ca4289e HAL_ChibiOS: switch to minimum scheduling delta of 10us
this avoids an issue with the ChibiOS 20.3 virtual timer
implementation that can result in a scheduling slip equal to the
system timer period.

Andy has been suggesting this change for a while. I resisted it as I
thought it would impact on soft-serial parsing, but it turns out it
doesn't.

Fixes issue #18383
2021-08-23 10:45:44 +10:00