Andrew Tridgell
b350b07593
HAL_ChibiOS: allow internal GPIO fuctions to use disabled pins
7 years ago
Andrew Tridgell
1be41b83fc
SRV_Channel: added SERVO_BLHI_ parameters
7 years ago
Andrew Tridgell
8eaac031af
waf: added AP_BLHeli
7 years ago
Andrew Tridgell
a1a83ab768
AP_BLHeli: added ESC serial protocol implementation
...
this implements the MSP and BLHeli protocols for passthru control of
BLHeli ESCs
7 years ago
Andrew Tridgell
67bae2669b
HAL_ChibiOS: enable serial5 on fmuv3
7 years ago
Andrew Tridgell
382772d999
HAL_ChibiOS: initial support for ESC serial output
7 years ago
Andrew Tridgell
dcfec21b46
AP_HAL: added support for serial output to ESCs
7 years ago
Andrew Tridgell
80a1688361
AP_Motors: make a singleton
...
this is used by AP_ESCSerial
7 years ago
Andrew Tridgell
17f2f40b11
AP_Math: added xmodem CRC
...
used by blheli 4-way ESC protocol
7 years ago
Andrew Tridgell
2933d4dd35
HAL_PX4: handle MODE_PWM_NONE enum
7 years ago
Andrew Tridgell
3c5c77889c
HAL_VRBRAIN: fixed build with DShot
7 years ago
Andrew Tridgell
a9b4d37bd2
HAL_PX4: fixed build with DShot
7 years ago
Andrew Tridgell
1ffe75957e
Copter: fixed ESC calibration for DShot
7 years ago
Andrew Tridgell
26d279e165
HAL_ChibiOS: improve DShot timing accuracy
7 years ago
Andrew Tridgell
93111dc0b1
HAL_ChibiOS: ensure that IO UART gets DMA
7 years ago
Andrew Tridgell
bd9df6d0ec
AP_Motors: added DShot to parameter docs
7 years ago
Andrew Tridgell
95a261e061
HAL_ChibiOS: don't generate DMA channels for ALARM pin
7 years ago
Andrew Tridgell
01e9c55721
HAL_ChibiOS: fixed SPI bus speed on SPI3
...
and add optional bootup test of SPI bus speeds to help with porting to
new MCUs
7 years ago
Andrew Tridgell
c50359a5b5
waf: throw an error if hwdef.dat can't be processed
7 years ago
Andrew Tridgell
5f29524a41
AP_Radio: fixed optimisation of AP_Radio drivers
7 years ago
Andrew Tridgell
e55d3a0834
AP_Motors: fix mask passed to rc_set_freq
...
the full motor mask must be supplied to work correctly for oneshot and
dshot
7 years ago
Andrew Tridgell
610a6a6c88
HAL_ChibiOS: optimise USB config driver
7 years ago
Andrew Tridgell
bc32276966
HAL_ChibiOS: support DShot output
...
use DMAR burst DMA to minimise number of DMA channels needed
thanks to betaflight for the great reference implementation!
7 years ago
Andrew Tridgell
294aac6955
HAL_ChibiOS: fixed CTS pulldown
...
we need to pulldown to prevent delays in uart sends
7 years ago
Andrew Tridgell
a64819cbf2
HAL_ChibiOS: minimise DMA TX latency on contended UARTs
...
try to prevent long delays on other users of a DMA channel
7 years ago
Andrew Tridgell
a86e85c6b2
HAL_ChibiOS: enable checking for DMA contention
7 years ago
Andrew Tridgell
0fb4e4720d
AP_HAL_VRBRAIN: added mask to set_output_mode()
...
this allows for some groups using dshot and some not
7 years ago
Andrew Tridgell
25cc73c1e7
AP_HAL_PX4: added mask to set_output_mode()
...
this allows for some groups using dshot and some not
7 years ago
Andrew Tridgell
4fb53d44f3
AP_HAL_F4Light: added mask to set_output_mode()
...
this allows for some groups using dshot and some not
7 years ago
Andrew Tridgell
4350cee7cf
Rover: added mask to set_output_mode()
7 years ago
Andrew Tridgell
2c84d77306
AP_Motors: setup for DShot output modes
7 years ago
Andrew Tridgell
e7dc304f4e
AP_HAL: support DShot output modes
7 years ago
Andrew Tridgell
64278f07d3
HAL_ChibiOS: removed the DMA channels from RCIN in hwdef.dat
...
no longer needed as this is automatic now
7 years ago
Andrew Tridgell
9a5df6d1f7
HAL_ChibiOS: auto-generate DMA channels for RCIN
...
and add DMA channels for TIMx_UP ready for DMAR based DShot support
7 years ago
Andrew Tridgell
6aff7ecbf5
HAL_ChibiOS: added channel numbers for STM32F4xx MCUs
7 years ago
Andrew Tridgell
da2e79130b
HAL_ChibiOS: generate channel numbers in DMA tables
7 years ago
Andrew Tridgell
3501763f4e
HAL_ChibiOS: added DShot example app
7 years ago
Leonard Hall
5c1d895f82
Copter: autotune announce only while tuning
7 years ago
Leonard Hall
83fac326a4
Copter: autotune check for vel overshoot in angle P
...
this change reduces the chance of over tuned angle P
7 years ago
Randy Mackay
64be134f7b
GCS_MAVLink: add VISP logging
7 years ago
Tom Pittenger
f03c73aeff
AP_Terrain: compiler warning printing %u with signed value
7 years ago
Peter Barker
975ad608eb
Copter: honour defines for optional feature's log messages
7 years ago
Peter Barker
b77d4ad82a
AP_InertialNav: remove dead get_hagl method
7 years ago
Peter Barker
893b761533
Copter: correct terrain-alt logging
...
Also change to using an out-of-band value upon no-terrain-alt-available
7 years ago
Randy Mackay
f7a168478d
Rover: integrate attitude control's get_steering_out_heading
7 years ago
Randy Mackay
a8857726d1
AR_AttitudeControl: replace get_steering_out_angle_error with heading
...
internally uses AHRS's heading to determine angle error so overally a non-functional change
7 years ago
Randy Mackay
8186ce0d32
Tools: add deg/s/s to valid parameter units
7 years ago
Randy Mackay
e8070a5cb3
Rover: pass waypoint radius to L1 as min dist along track
7 years ago
Randy Mackay
4f0b26bd48
AP_L1_Control: update_waypoint gets dist_min argument
...
L1_dist can become extremely short for slow moving vehicles leading to unnecessarily jerk turns after passing waypoints. This reduces the minimum length along the track that the vehicle will point.
7 years ago
Randy Mackay
41bd79a387
Rover: pivot-turn uses heading controller
7 years ago