Commit Graph

32451 Commits

Author SHA1 Message Date
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
Eugene Shamaev
1a888c16f4 AP_UAVCAN: Change for servo and ESC interface from RCOutput to SRV_Channels 2018-05-25 13:53:17 +10:00
Eugene Shamaev
afce24e45d SRV_Channels: integration of UAVCAN Servos and ESCs 2018-05-25 13:53:17 +10:00
Eugene Shamaev
c410feefa1 AP_HAL: add CAN bus declaration for the intel aero board 2018-05-25 13:53:17 +10:00
Eugene Shamaev
68ec9f4119 Tools: add CAN bus declaration for the intel aero board 2018-05-25 13:53:17 +10:00
Tom Pittenger
7134a4bdf6 AP_Avoidance: track src with correct label - use MAVLink label 2018-05-25 12:44:59 +09:00
timo
8cea9a3beb HAL_F4Light: Fixed I2C initalization for Airspeed sensor on MatekF405CTR board 2018-05-25 12:06:49 +10:00
night-ghost
06da94dcea HAL_F4Light: fixed non-inverted SBUS parsing 2018-05-25 12:06:49 +10:00
night-ghost
6d3a879219 HAL_F4Light: fixed ADC field description 2018-05-25 12:06:49 +10:00
night-ghost
7d6d9d4f3d HAL_F4Light: changed pin definitions from #defines to enum 2018-05-25 12:06:49 +10:00