Commit Graph

48116 Commits

Author SHA1 Message Date
Peter Barker e5fba1c8cc AP_EFI: disable AP_EFI on MatekF405-Wing and omnibusf4pro 2021-06-08 14:08:34 +10:00
Randy Mackay f8d39e65ec AP_VisualOdom: pre_arm check fix for camera attitude 2021-06-08 12:55:17 +09:00
Randy Mackay ab5d4da776 AP_AHRS: attitudes_consistent fix for roll-pitch difference calc
previously yaw difference would appear as roll, pitch differrences
2021-06-08 12:55:17 +09:00
Randy Mackay b263a1d751 AP_Math: add Quaternion::roll_pitch_difference 2021-06-08 12:55:17 +09:00
Randy Mackay 4521334b06 Rover: THR logs X-axis accel
X-axis is forward-back acceleration which is what users may need for speed and throttle tuning
2021-06-08 12:53:08 +09:00
Andrew Tridgell ac2080ff93 AP_ESC_Telem: don't send mavlink msgs if we've never data any data 2021-06-08 12:30:30 +10:00
Peter Barker 4abf854c45 AP_Common: remove weird cast of location object 2021-06-08 12:14:17 +10:00
李孟晓 27089b4d2b AP_BattMonitor: Fix the comment of BATTx_OPTIONS 2021-06-08 11:16:19 +10:00
Andrew Tridgell f150c312a6 Rover: fixed copying of filter objects 2021-06-08 11:14:52 +10:00
Andrew Tridgell 0ecc02c53a Plane: fixed constructor of accel_ef filter 2021-06-08 11:14:52 +10:00
Andrew Tridgell 7fadbba086 AP_WindVane: fixed copying of filter objects 2021-06-08 11:14:52 +10:00
Andrew Tridgell fbbb4a1183 AP_Soaring: fixed filter constructor calls
fixes valgrind error from copy of filter objects on the stack
2021-06-08 11:14:52 +10:00
Andrew Tridgell a2d0f569c9 AP_WheelEncoder: fixed PID constructor calls 2021-06-08 11:14:52 +10:00
Andrew Tridgell 476e9fc15a AC_PID: use CLASS_NO_COPY() 2021-06-08 11:14:52 +10:00
Andrew Tridgell cd1f5ca494 Filter: use CLASS_NO_COPY 2021-06-08 11:14:52 +10:00
Andrew Tridgell 6c0c6a1f48 AP_Common: added CLASS_NO_COPY() macro
used to make it easy to forbid copy of classes
2021-06-08 11:14:52 +10:00
Iampete1 438ca0a6c4 Plane: tailsitter: increase severity level of failed transisisons. 2021-06-08 10:56:09 +10:00
Michel Pastor 30029f59db AP_OSD_Screen: make BLH RPM fixed length 2021-06-08 10:40:44 +10:00
Peter Barker 31c345fc4b Tools: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker ef2e273ee6 AP_Scheduler: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker 102543684e AP_Rally: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker fd4fb15e7d AP_Mission: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker b681dc940a AP_Logger: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker 3ba57fed89 AP_HAL_ChibiOS: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker 15cd41ca19 AP_GPS: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker c11a6bbb47 AP_Filesystem: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Josh Henderson 80a17cb97f AP_BattMonitor: get Mavlink charge state 2021-06-08 09:27:13 +10:00
Josh Henderson 518666b5f0 GCS_MAVLink: Add battery_charge_state to Battery_Status message 2021-06-08 09:27:13 +10:00
Josh Henderson 8b83b49e0b Rover: fix loiter_delay, cmd <0 sets a delay of 0 seconds 2021-06-07 21:27:19 +09:00
Andy Piper 96d0e8cf3f AP_Motors: add comments to AP_MotorsUGV 2021-06-07 20:16:26 +09:00
Andy Piper 9eea3f1030 AP_BLHeli: add auto support to rover 2021-06-07 20:16:26 +09:00
Andy Piper 30f7284fe1 Rover: move AP_MotorsUGV to motors library 2021-06-07 20:16:26 +09:00
Andy Piper 7c213a8bbf AP_Motors: move AP_MotorsUGV here
add singleton and motor_mask to AP_MotorsUGV
2021-06-07 20:16:26 +09:00
Andrew Tridgell 96577b47f0 GCS_MAVLink: removed perf counters 2021-06-07 14:29:27 +10:00
Andrew Tridgell f6ec48e0e2 AP_Scheduler: removed perf counters 2021-06-07 14:29:27 +10:00
Andrew Tridgell 50e7c81f46 AP_Logger: removed perf counters 2021-06-07 14:29:27 +10:00
Andrew Tridgell dfc4b37df1 AP_HAL_Linux: removed perf counters 2021-06-07 14:29:27 +10:00
Andrew Tridgell 7c5c805381 AP_HAL: removed perf counters 2021-06-07 14:29:27 +10:00
Andrew Tridgell 684e32068b AP_Compass: removed perf counters 2021-06-07 14:29:27 +10:00
Peter Barker d6348a0786 AP_NavEKF3: remove getBodyFrameOdomDebug
Not used after we moved logging to be within AP_NavEKF3
2021-06-07 09:28:52 +10:00
Peter Barker dd3ab29b2f AP_NavEKF3: remove getFilterGpsStatus
Not needed after we moved logging into NavEKF3
2021-06-07 09:25:53 +10:00
Peter Barker aaae7bda6b GCS_MAVLink: provide compatability with bad integer-stored radii 2021-06-06 11:41:30 +10:00
Peter Barker 76408c77dd AC_Fence: provide compatability with bad integer-stored radii 2021-06-06 11:41:30 +10:00
Peter Barker e3db030d7a AC_Fence: load and store fence radii in floats
These were simply being cast down to integers
2021-06-06 11:41:30 +10:00
Peter Barker e644a9dda8 StorageManager: add read_float and write_float 2021-06-06 11:41:30 +10:00
Andrew Tridgell 67fea9f2f8 HAL_ChibiOS: fixed DMA disable on contention
this fixes a problem with the automatic DMA disable on DMA contention
in UARTs. This fixes issue #14581

the problem was that while tx_dma_enabled was correctly set to false,
it would keep looping inside write_pending_bytes_DMA() if the data
arrived in the write buffer at a faster rate than it could be sent
out, which did happen with a mavlink stream rate of 4Hz. This means it
kept using DMA even with tx_dma_enabled set to false. The result was
that the automatic flow control code never got a chance to run and we
didn't switch back to non-DMA for these low baudrate contended UARTs
2021-06-05 19:03:03 +10:00
Andrew Tridgell 3128d71aac HAL_ChibiOS: display uart even when not initialised
don't rely on thread allocation for uart info display
2021-06-05 18:52:33 +10:00
Andrew Tridgell c34d8e80e9 HAL_ChibiOS: fixed serial info indexing for EMPTY uarts 2021-06-05 18:52:33 +10:00
Andrew Tridgell 6fab8feeae HAL_ChibiOS: implement uart_info per-uart
this allows for some UARTs to be of EMPTY type
2021-06-05 18:52:33 +10:00
Andrew Tridgell 23cf128541 HAL_Empty: implement uart_info() 2021-06-05 18:52:33 +10:00