Commit Graph

33122 Commits

Author SHA1 Message Date
Andrew Tridgell 87459d520a AP_ROMFS: fixed error handling in tinflate
coverity CID308327
2018-08-07 13:27:47 +10:00
Andrew Tridgell 2b3054c8f6 AP_RCProtocol: Fix out of bounds write, CID 308323 and 308333 2018-08-07 13:27:45 +10:00
Peter Barker 7fbcaaae11 RC_Channels: zero all channels before populating
Fix for CID 308365
2018-08-07 09:42:49 +10:00
Andrew Tridgell f59288ce83 AP_Stats: use set_and_save_ifchanged()
if the board has no GPS then the values usually don't change
2018-08-06 21:46:42 +10:00
Andrew Tridgell 40a718d19c Tools: added OmnibusNanoV6 bootloader 2018-08-06 21:20:50 +10:00
Andrew Tridgell 22f81a8233 Tools: added OmnibusNanoV6 bootloader 2018-08-06 21:20:46 +10:00
Andrew Tridgell 2fb84b22c6 HAL_ChibiOS: updated F745 and OmnibusNanoV6 2018-08-06 19:27:19 +10:00
Andrew Tridgell c249e26a03 HAL_ChibiOS: added a DMA reserve heap
this ensures we keep some DMA-capable memory aside for when it is
needed
2018-08-06 15:58:51 +10:00
Andrew Tridgell d1c271cd13 HAL_ChibiOS: raise timer thread priority
needs to be above main for guaranteed DShot and oneshot output periods
2018-08-06 11:40:38 +10:00
Andrew Tridgell bc2b5661c8 HAL_ChibiOS: fixed build 2018-08-06 11:40:03 +10:00
Andrew Tridgell 65df9ace57 AP_BLHeli: pass motor mask to serial_setup_output() 2018-08-06 11:17:33 +10:00
Andrew Tridgell 126333c3b5 AP_BLHeli: improved reliability of pass-thru support
this uses a connection cache to prevent re-connecting to an ESC when
not needed, and allows for pass-thru comms on any port, using
SERVO_BLH_PORT parameter
2018-08-06 11:17:30 +10:00
Andrew Tridgell e4c9257e6f HAL_ChibiOS: fixed dshot bad frames
adding a pre-bit on the DMAR, and ensuring that all groups are setup
for DMA together fixes the remaining bad frames reports in BLHeli32
2018-08-06 11:17:15 +10:00
Andrew Tridgell 660985db8e HAL_ChibiOS: set min dshot separation to 100usec
this fixes a problem with BLHeli32 not recognising dshot
2018-08-06 11:17:11 +10:00
Andrew Tridgell 4db2c4a380 HAL_ChibiOS: fixed timeout of serial read bytes
this allows for fast timeout of serial read bytes in BLHeli pass-thru
2018-08-06 11:17:05 +10:00
Andrew Tridgell c41ef82b57 AP_HAL: added chanmask to serial_setup_output() 2018-08-06 11:15:59 +10:00
Randy Mackay 4f9232d10f Copter: version to 3.6.0-rc7 2018-08-02 12:41:55 +09:00
Randy Mackay 88bb3d8a9b Copter: release notes for 3.6.0-rc7 2018-08-02 12:41:39 +09:00
Randy Mackay 40a12a8ea2 Copter: remove compassmot's compass init and accumulate
when compass mot is started, the main loop has been running so the compass will already have been initialised and have good readings
Also remove unnecessary call to get_primary compass
2018-08-02 12:39:07 +09:00
Randy Mackay 17a004e020 Copter: compassmot format fixes 2018-08-02 12:39:06 +09:00
Randy Mackay bc4a5d0367 AP_Follow: fixup offset initialisation 2018-08-02 12:39:05 +09:00
hoangthien94 376fdc5cf1 AP_Follow: Initialize offsets based on offset type 2018-08-02 12:39:04 +09:00
Randy Mackay 242e0a7c0a AP_Follow: fix initialisation of offsets 2018-08-02 12:39:03 +09:00
Randy Mackay 30f369c3b4 AP_Follow: update FOLL log column names
VelN is easier to understand than VelX
Also minor formatting fix
2018-08-02 12:39:03 +09:00
Randy Mackay 31c2c86e71 AP_Follow: fix reporting to GCS 2018-08-02 12:39:02 +09:00
Andrew Tridgell 1bc1f33cad HAL_ChibiOS: updates to hwdef.dat from plane3.9.0 2018-08-02 12:39:01 +09:00
Andrew Tridgell 3710099709 mavlink: update for play tune 2018-08-02 12:39:00 +09:00
Andrew Tridgell 83b39445e1 HAL_PX4: updated to new tonealarm system 2018-08-02 12:39:00 +09:00
Andrew Tridgell addbe3cbd5 HAL_Linux: updated to new tonealarm system 2018-08-02 12:38:59 +09:00
Andrew Tridgell b1b6061ad4 HAL_ChibiOS: updated to new tonealarm system 2018-08-02 12:38:58 +09:00
Andrew Tridgell ac5ec09f35 mk: updated to new tonealarm system 2018-08-02 12:38:57 +09:00
Andrew Tridgell ac7d3e0366 AP_HAL: updated to new tonealarm system 2018-08-02 12:38:56 +09:00
Andrew Tridgell 66d1d11aec AP_Notify: updated to new tonealarm system 2018-08-02 12:38:56 +09:00
Andrew Tridgell 3c828cb87b Tools: removed ADC.h include 2018-08-02 12:38:55 +09:00
Andrew Tridgell 59b2d7890d Plane: removed ADC.h include 2018-08-02 12:38:54 +09:00
Andrew Tridgell 547c6b5afe Rover: removed ADC.h include 2018-08-02 12:38:53 +09:00
Andrew Tridgell f9a8d249c4 Tracker: removed ADC.h include 2018-08-02 12:38:52 +09:00
Andrew Tridgell 6df5295299 AP_Mount: removed ADC.h include 2018-08-02 12:38:52 +09:00
Andrew Tridgell 9dfa51c3ee AP_Motors: removed ADC.h include 2018-08-02 12:38:51 +09:00
Andrew Tridgell 985912fff7 AP_Module: removed ADC.h include 2018-08-02 12:38:50 +09:00
Andrew Tridgell aff6ae2d9e AP_Airspeed: removed ADC.h include 2018-08-02 12:38:49 +09:00
Andrew Tridgell 453aa7a39d Copter: removed include of ADC.h 2018-08-02 12:38:49 +09:00
Andrew Tridgell 50b9e19f5a SITL: match plane3.9.0 2018-08-02 12:38:48 +09:00
Andrew Tridgell 7c0e7e81b5 mavlink: match plane3.9.0 2018-08-02 12:38:47 +09:00
Andrew Tridgell 953560109c ChibiOS: match plane3.9.0 2018-08-02 12:38:46 +09:00
Andrew Tridgell f729bdcb28 AP_Airspeed: removed ADC.h include 2018-08-02 12:38:45 +09:00
Andrew Tridgell aa8c62ad16 AP_SerialManager: make console do mavlink2 by default
this is low impact as it doesn't affect radios that may not do mavlink2
2018-08-02 12:38:45 +09:00
Andrew Tridgell fc87d59a04 AP_BattMonitor: removed ADC.h include 2018-08-02 12:38:44 +09:00
Andrew Tridgell 98ddab501c AP_BoardConfig: match plane3.9.0 2018-08-02 12:38:43 +09:00
Andrew Tridgell b9f67e1766 AP_Camera: match plane3.9.0 2018-08-02 12:38:42 +09:00