Andrew Tridgell
0f2a7108d3
AP_BLHeli: added SERVO_BLH_OTYPE
...
this allows use of BLHeli telemetry on rover, sub and on quadplane fwd
motors
2018-04-09 15:32:04 +10:00
Andrew Tridgell
3b4d1d5d46
DataFlash: enabled POWR log msg on ChibiOS
2018-04-09 15:32:04 +10:00
Andrew Tridgell
b4aeffbaed
HAL_ChibiOS: added power status flags reporting
2018-04-09 15:32:04 +10:00
Andrew Tridgell
7c85d06600
HAL_ChibiOS: setup pwm counts, and cleanup mindpx-v2 PWM lines
2018-04-09 15:32:04 +10:00
Andrew Tridgell
1b9cebc3f2
HAL_ChibiOS: check pwm count in rcout init
2018-04-09 15:32:04 +10:00
Andrew Tridgell
13cf72ac32
AP_BoardConfig: allow override of PWM count in hwdef.dat
2018-04-09 15:32:04 +10:00
Andrew Tridgell
a7711ab9f7
AP_HAL: don't require GPIO defines for RCOU serial on ChibiOS
2018-04-09 15:32:04 +10:00
Andrew Tridgell
68293c9c11
HAL_ChibiOS: don't require GPIO() markers on PWM outputs
...
this fixes blheli pass-thru on MindPX-v2
2018-04-09 15:32:04 +10:00
Peter Barker
face8151b7
AP_Compass: include required header
2018-04-09 11:34:35 +10:00
Randy Mackay
13b8ad0e94
Copter: remove sport from pixhawk v2 builds
...
this mode is almost never used
2018-04-09 09:10:01 +09:00
Randy Mackay
da619e8aa6
Rover: 3.2.3 release notes
2018-04-09 09:04:30 +09:00
Randy Mackay
80e5742d77
Tools: correct HeliQuad param file
2018-04-09 08:42:00 +09:00
Andrew Tridgell
9c040105d6
waf: split copter and heli builds
...
this makes things less confusing for users
2018-04-08 21:26:16 +10:00
Peter Barker
a0d874baa2
AP_NavEKF3: const accessors
2018-04-07 09:56:18 +09:00
Peter Barker
6791808ac6
AP_NavEKF3: remove unneeded initialisations
...
AP_NavEKF3 should never be allocated in uninitialised memory
2018-04-07 09:54:21 +09:00
Peter Barker
d38ff1dd2c
AP_NavEKF3: initialise EKF3 constants in declaration not constructor
2018-04-07 09:54:21 +09:00
Peter Barker
d219540554
Copter: correct compilation when AFS is enabled
2018-04-07 09:46:54 +09:00
Peter Barker
d0425c7b2f
Copter: correct compilation when precland is disabled
...
Closes #8098
2018-04-07 09:44:43 +09:00
Andrew Tridgell
8bbb87de3f
travis: build revo-mini
...
we need at least one build without FATFS support, as it changes the
build quite a lot
2018-04-07 09:10:29 +10:00
Andrew Tridgell
637e51825b
ChibiOS: submodule update
2018-04-07 09:10:29 +10:00
Andrew Tridgell
eb6c852ee3
HAL_ChibiOS: use simpler pullup on serial input
...
this maps to the right bits for each MCU type
2018-04-07 09:10:29 +10:00
Andrew Tridgell
71cd58cc7e
HAL_ChibiOS: run rc serial thread at top priority
...
this maximises reliability for serial IO to ESCs, increasing flashing
reliability
2018-04-07 09:10:29 +10:00
Andrew Tridgell
4a7a66cc16
AP_IOMCU: use a higher thread priority
...
this ensures PWM output gets out as fast as possible
2018-04-07 09:10:29 +10:00
Andrew Tridgell
84d76cf915
AP_BLHeli: removed special handling of oneshot125
2018-04-07 09:10:29 +10:00
Andrew Tridgell
3cd4f2a002
AP_ChibiOS: handle oneshot125 separately
...
this sets up oneshot125 with the full 1000 steps of throttle
resolution, using a 8MHz clock. This matches the behaviour of modern
ESCs that measure PWM values with high accuracy
2018-04-07 09:10:29 +10:00
Andrew Tridgell
819de4acd5
AP_Motors: don't scale oneshot125 in AP_Motors
...
handle it in the HAL backends, to allow for correct resolution
2018-04-07 09:10:29 +10:00
Andrew Tridgell
a1ba582a5d
HAL_VRBrain: handle oneshot125 separately
2018-04-07 09:10:29 +10:00
Andrew Tridgell
c3f0418333
HAL_PX4: handle oneshot125 separately
2018-04-07 09:10:29 +10:00
Andrew Tridgell
4f6240ee8a
Rover: handle oneshot125 separately
2018-04-07 09:10:29 +10:00
Andrew Tridgell
0bb2c4564d
AP_HAL: make hal aware of oneshot125
...
this separates oneshot and oneshot125 at the HAL layer, allowing the
HAL to properly handle the high timing resolution of oneshot125
(needed to use 125ns time steps, to get the full 1000 throttle steps)
2018-04-07 09:10:29 +10:00
Andrew Tridgell
67993d6e5c
HAL_ChibiOS: re-instate priority boost system
...
this adds back in the priority boost system for the main thread when
waiting for a IMU sample. This significantly improves scheduling
performance on very busy boards like a PH2.1
2018-04-07 09:10:29 +10:00
Andrew Tridgell
fff143d83e
AP_BLHeli: default protocol timeout to 0
...
this gives best compatibility with BLHeliSuite
2018-04-07 09:10:29 +10:00
Andrew Tridgell
2c6e6e3b13
HAL_ChibiOS: removed obsolete DShot example code
2018-04-07 09:10:29 +10:00
Andrew Tridgell
b77ba8fbd1
AP_BLHeli: improved debug output
...
allow debug on any MAVLink port
also fixed handling of passthru for oneshot125
2018-04-07 09:10:29 +10:00
Andrew Tridgell
9b22e0b7cc
HAL_ChibiOS: fixed SPI rates on fmuv3
...
this fixes a SPI bandwidth issue on PH2.1 with 3 IMUs active
2018-04-07 09:10:29 +10:00
Andrew Tridgell
61d513e91b
AP_BLHeli: use get_esc_scaling() for motor range
...
this fixes an issue with blhelisuite init when min is not 1000
2018-04-07 09:10:29 +10:00
Andrew Tridgell
503bd9ce65
HAL_PX4: implement get_esc_scaling()
2018-04-07 09:10:29 +10:00
Andrew Tridgell
8e59f6aad6
HAL_ChibiOS: implement get_esc_scaling()
2018-04-07 09:10:29 +10:00
Andrew Tridgell
dacbef2120
AP_HAL: added get_esc_scaling() API for rcout
2018-04-07 09:10:29 +10:00
Andrew Tridgell
a2eec97325
HAL_ChibiOS: raised default SPI priority
...
this was causing transfer errors on the primary IMU of a PH2.1 when
fast sampling was enabled
2018-04-07 09:10:29 +10:00
Andrew Tridgell
c17338473d
AP_BLHeli: unlock uart on InterfaceExit
2018-04-07 09:10:29 +10:00
Andrew Tridgell
6f704b3818
AP_BLHeli: fixed use of SERVO_BLH_AUTO
2018-04-07 09:10:29 +10:00
Andrew Tridgell
5bfc97f9c0
HAL_ChibiOS: fixed dshot trigger while serial active
2018-04-07 09:10:29 +10:00
Andrew Tridgell
7c678bd707
AP_BLHeli: use UART locking
...
this gains exclusive access to the UART while MSP protocol is active to
prevent protocol corruption due to other drivers writing to hal.console
2018-04-07 09:10:29 +10:00
Andrew Tridgell
e448b5d069
HAL_ChibiOS: implement UART port locking
2018-04-07 09:10:29 +10:00
Andrew Tridgell
85ae6f60a8
AP_HAL: added UART locking interface
...
used to gain exclusive access to a UART. This is needed for the BLHeli
MSP protocol to prevent protocol corruption due to console writes
2018-04-07 09:10:29 +10:00
Andrew Tridgell
b7bcee69a3
AP_BLHeli: added telemetry logging support
...
allow telemetry feedback from BLHeli_32 ESCs
2018-04-07 09:10:29 +10:00
Andrew Tridgell
061277040b
DataFlash: updated ESC logging format
...
support higher voltages and higher RPMs
added total current logging
2018-04-07 09:10:29 +10:00
Andrew Tridgell
71eb9bac03
AP_SerialManager: added ESC telemetry protocol support
2018-04-07 09:10:29 +10:00
Andrew Tridgell
6fd0af11ef
HAL_ChibiOS: implement telem request API
2018-04-07 09:10:29 +10:00