Commit Graph

32460 Commits

Author SHA1 Message Date
Andrew Tridgell 0d56526400 Copter: added de-bouncing of aux switches
this prevents a crash with a switch such as arm/disarm getting a
single frame RC glitch
2018-05-29 08:26:46 +09:00
Yuuji Awata 945a392409 Tool: Add name to GIT_Success.txt 2018-05-29 08:20:30 +09:00
Michael du Breuil abd5bffda5 AP_Airspeed: Clean up some comments, prevent a potential out of range access 2018-05-29 00:10:40 +01:00
Michael du Breuil 84b1a6a58b APM_Control: Supress some compilier warnings about strncpy 2018-05-29 00:10:40 +01:00
Michael du Breuil b2d8f6e788 AP_Rangefinder: Fix bad fallthrough from NMEA driver 2018-05-29 00:10:40 +01:00
Andrew Tridgell 08228efc72 AP_Rangefinder: fixed param docs for Wasp backend 2018-05-28 11:44:29 +01:00
Andrew Tridgell 3b8d5ea4cf AP_Rangefinder: fixed param handling for Wasp backends 2018-05-28 11:44:29 +01:00
Michael du Breuil b678302aed AP_Rangefinder: Add WASP 200 LRF backend 2018-05-28 11:44:29 +01:00
Randy Mackay f2ac48a33e Tools: update holybro kospi1 default 2018-05-28 10:42:21 +09:00
Randy Mackay 268fac0fba Tools: default params for Holybro Kospi1 2018-05-28 10:11:45 +09:00
Andrew Tridgell e1d264d419 ChibiOS: submodule update 2018-05-27 19:14:37 +10:00
Andrew Tridgell a011561a6a HAL_ChibiOS: support sdcard on MatekF405 2018-05-27 19:10:24 +10:00
Andrew Tridgell 5f59be4ce9 ChibiOS: added mmc hooks for SPI sdcard 2018-05-27 19:10:24 +10:00
Andrew Tridgell ea37cede28 HAL_ChibiOS: stop sdcard interface on reboot 2018-05-27 19:10:24 +10:00
Andrew Tridgell 86ded2c40c HAL_ChibiOS: cleanup sdcard API usage 2018-05-27 19:10:24 +10:00
Andrew Tridgell d28283e302 AP_HAL: added clock_pulse() method to SPIDevice
this is used by SPI SDCard interface for HAL_ChibiOS
2018-05-27 19:10:24 +10:00
Andrew Tridgell 52c8d3ed9f HAL_ChibiOS: fixed SPI select error
changes by sdcard PR
2018-05-27 19:10:24 +10:00
Andrew Tridgell 2c55589488 HAL_ChibiOS: added hwdef for MatekF405 2018-05-27 19:10:24 +10:00
Alexander Malishev 83e65b3c6e HAL_ChibiOS: turn on sdcard on f4by 2018-05-27 19:10:24 +10:00
Alexander Malishev 66de6d770a HAL_ChibiOS: Enable reentrancy on FatFS sybsystem 2018-05-27 19:10:24 +10:00
Alexander Malishev 6b15b2f44f HAL_ChibiOS: Enable sdcard on spi bus 2018-05-27 19:10:24 +10:00
Andrew Tridgell 7b720aae46 HAL_ChibiOS: allow printf() to work on systems without debug console
map to hal.console once initialised
2018-05-26 19:06:25 +10:00
Andrew Tridgell dbe0f3c575 HAL_ChibiOS: fixed assert in reboot
with asserts enabled we can't sleep with interrupts off
2018-05-26 17:23:46 +10:00
Andrew Tridgell 79ca1e76c0 HAL_ChibiOS: improve reliability of reboot 2018-05-26 15:53:25 +10:00
Andrew Tridgell d1fe9e6c67 uavcan: fixed short spin times with uavcan on ChibiOS
allow for less than 1ms wait times
2018-05-26 12:35:13 +10:00
Andrew Tridgell 99ca0ea913 AP_BoardConfig: moved BRD_PWM_COUNT to common code
this allows all boards to configure some PWM outputs as GPIOs
2018-05-26 12:08:54 +10:00
Andrew Tridgell 7e897c16c0 HAL_ChibiOS: maintain rcout state beyond BRD_PWM_COUNT
allow channels beyond BRD_PWM_COUNT to be sent over SBUS or DShot
distribution
2018-05-26 12:08:54 +10:00
Pierre Kancir 0fd8d94924 SITL: Fix printf format warning 2018-05-26 09:13:29 +09:00
Pierre Kancir 053f124492 GCS_MAVLink: fix FALLTHROUGH warning 2018-05-26 09:13:29 +09:00
Michael du Breuil 177c4c2d44 Tools: Accept mAh as a unit 2018-05-26 08:49:02 +09:00
Michael du Breuil d73c16698a AP_BattMonitor: Update param docs to be more UX friendly 2018-05-26 08:49:02 +09:00
Pierre Kancir 9ada804489 AP_ADSB: fix snprintf warning 2018-05-25 12:54:25 -07:00
apinxiko a1fd1cb9b2 Copter: avoid keeping buzzing while in holding at waypoint 2018-05-25 14:02:13 +09:00
Randy Mackay 938dc2e47d GCS_MAVLink: resolve compiler warnings correct_offboard_timestamp
applies only to SITL
2018-05-25 14:00:00 +09:00
Andrew Tridgell fbd80ef897 AP_UAVCAN: fixed build on revo 2018-05-25 13:53:17 +10:00
Andrew Tridgell 91d2b19e23 AP_UAVCAN: use take_blocking() method 2018-05-25 13:53:17 +10:00
Andrew Tridgell e2ea654b77 AP_HAL: added take_blocking() method
this avoids the need to check return result
2018-05-25 13:53:17 +10:00
Andrew Tridgell 49dfccbcee AP_UAVCAN: fixed build of example on px4 2018-05-25 13:53:17 +10:00
Andrew Tridgell 92cda24659 AP_UAVCAN: efficiency improvements
this allows us to support 800Hz main loop rate with UAVCAN ESCs on
copter
2018-05-25 13:53:17 +10:00
Andrew Tridgell 438a7dd79a AP_UAVCAN: increase message timeout to 2ms
this reduces the number of msg timeouts
2018-05-25 13:53:17 +10:00
Andrew Tridgell b8ae43c30b AP_UAVCAN: added a servo rate limit parameter
this allows for servos at 50Hz while keeping ESCs at higher rates
2018-05-25 13:53:17 +10:00
Andrew Tridgell afb36ec168 HAL_ChibiOS: run can loop much more often
this allows for much higher ESC and servo rates, as it gives more
changes for frames to get out
2018-05-25 13:53:17 +10:00
Andrew Tridgell 0dc77421e8 AP_UAVCAN: a simple UAVCAN sniffer based on AP_HAL 2018-05-25 13:53:17 +10:00
Andrew Tridgell 5f8bff8f3e AP_UAVCAN: set timeout for periodic msgs to 1
this stops us keeping messages for resend for too long, which fixes a
major memory leak
2018-05-25 13:53:17 +10:00
Tom Pittenger 4c51edfaca AP_UAVCAN: move UAVCAN code from SRV to UAVCAN files 2018-05-25 13:53:17 +10:00
Tom Pittenger 1a15a2e749 SRV_Channel: move UAVCAN code from SRV to UAVCAN files 2018-05-25 13:53:17 +10:00
Eugene Shamaev 66438041ad SRV_Channels: helper func 2018-05-25 13:53:17 +10:00
Eugene Shamaev 938f19c154 SRV_Channel: move push_UAVCAN to private 2018-05-25 13:53:17 +10:00
Eugene Shamaev 60db4016a7 AP_HAL_VRBRAIN: UAVCAN servo removal 2018-05-25 13:53:17 +10:00
Eugene Shamaev 94f8c81d84 AP_HAL_PX4: UAVCAN servo removal 2018-05-25 13:53:17 +10:00