Andy Piper
401e5c2073
AP_HAL_ChibiOS: add support for bidir DShot support in RCOutput
...
add support for sampling GPIO pins using timer
don't restart pwm group when not doing bi-dir
fix hwdef generation preproc for TIM DMA
decode telemetry at the start of the dshot cycle
calculate dshot pulse separation correctly and ensure we output rapidly enough
calculate dshot min periods and timeouts correctly
refactor dshot_send() into dshot_send_groups()
use bi-dir dshot channel mask
selectively enable bi-dir RC Channels
process bi-dir mask correctly when allocating DMA channels
allow UP and CH DMA channel sharing
optionally enable bidir vars in hwdef.
enable bi-dir dshot in KakuteF7Mini
enable bi-dir dshot in OmnibusF4Pro
enable bi-dir dshot in OmnibusNanoV6
enable bi-dir dshot in MatekF405
enable bi-dir dshot in fmuv5
enable bi-dir dshot in fmuv3
enable bi-dir dshot in OmnibusF7V2
enable bi-dir dshot in OmnibusNanoV6
enable bi-dir dshot in CubeOrange
enable bi-dir dshot in Pixracer
enable bi-dir dshot in mRoPixracerPro
Co-authored-by: bugobliterator <siddharthbharatpurohit@gmail.com>
2020-12-30 19:14:16 +11:00
Andy Piper
b5688c023c
Tools: add KakuteFMini to CI f7 build to test bi-directional dshot
2020-12-30 19:14:16 +11:00
Andy Piper
5436784d38
AP_Logger: add ESC error rate
2020-12-30 19:14:16 +11:00
Andy Piper
1c79f22ba2
AP_HAL: make erpm accessible from RCOutput
...
give access to erpm error rate
add bi-directional dshot mask modifier
2020-12-30 19:14:16 +11:00
Andy Piper
c8b2f11ab6
AP_InternalError: add dma_fail
2020-12-30 19:14:16 +11:00
Andy Piper
f60fdde492
AP_BLHeli: return motor frequencies from bi-dir dshot if available
...
add channel mask to cater for bi-dir dshot
call into rcout to setup bi-dir dshot
log bi-dir telemetry even when regular telemetry is disabled
don't expose bi-dir dshot if not compiled in
2020-12-30 19:14:16 +11:00
oneWayOut
654aea1cd1
SITL: delete unused parameter 'Vector3f &body_accel' in Plane::calculate_forces()
2020-12-30 18:59:12 +11:00
murata
282590668d
AP_RangeFinder: Make measurement time and call back time static constant
...
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
2020-12-30 18:29:35 +11:00
Pierre Kancir
69fab70582
Tools: use lxml for xml generation
...
fix caracters
fix indentation
validate xml
2020-12-30 18:19:43 +11:00
Andy Piper
253ce18184
AP_HAL_SITL: rename system_initialized() and add is_system_initialized()
2020-12-30 18:16:59 +11:00
Andy Piper
526ae5d2f4
AP_HAL_Empty: rename system_initialized() and add is_system_initialized()
2020-12-30 18:16:59 +11:00
Andy Piper
74633e55cc
AP_HAL_Linux: rename system_initialized() and add is_system_initialized()
2020-12-30 18:16:59 +11:00
Andy Piper
07f199ea1a
AP_HAL_ChibiOS: rename system_initialized() and add is_system_initialized()
2020-12-30 18:16:59 +11:00
Andy Piper
9e7c60178d
AP_HAL: rename system_initialized() and add is_system_initialized()
2020-12-30 18:16:59 +11:00
Andy Piper
048deeb43e
AP_Logger: check is_system_initialized() when determining liveness
2020-12-30 18:16:59 +11:00
Andy Piper
c8e464ebea
AP_HAL: add HAL_ENABLE_THREAD_STATISTICS to boards
2020-12-30 18:15:05 +11:00
Andy Piper
83c8807b39
AP_HAL_ChibiOS: when HAL_ENABLE_THREAD_STATISTICS is defined add ChibiOS thread stats to threads.txt
...
define HAL_ENABLE_THREAD_STATISTICS in hwdef.h
2020-12-30 18:15:05 +11:00
Andy Piper
b6a008c73d
AP_Filesystem: increase ftp thread buffer size when HAL_ENABLE_THREAD_STATISTICS is defined
2020-12-30 18:15:05 +11:00
Andy Piper
a4b2930223
AP_HAL_ChibiOS: iFlight Beast H7 AIO hwdef
2020-12-30 18:13:03 +11:00
Andy Piper
efb2e9f81a
Tools: bootloader for iFlight Beast H7 AIO
2020-12-30 18:13:03 +11:00
Pierre Kancir
1810786881
Azure: force symlink for python3
2020-12-30 10:13:30 +11:00
Pierre Kancir
ebb0b4c265
Azure: fix python3 usage
2020-12-30 10:13:30 +11:00
Pierre Kancir
917230fe28
Azure: fix deprecated image usage
2020-12-30 10:13:30 +11:00
Tom Pittenger
6bb2bec4f3
AP_Bootloader: add boardIDs for CubeORange/Black-periph, pixracer-periph
2020-12-29 07:52:39 -07:00
ukmook
bf34041211
AP_HAL_ChibiOS: add support for Pixracer-periph
2020-12-29 07:52:39 -07:00
ukmook
44ce2b225c
Tools/bootloaders: add Pixracer-periph bootloader image
2020-12-29 07:52:39 -07:00
Tom Pittenger
eef9c83788
Rover: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER
2020-12-29 07:52:09 -07:00
Tom Pittenger
d45ff51bd1
Sub: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER
2020-12-29 07:52:09 -07:00
Tom Pittenger
b80f003c98
Copter: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER
2020-12-29 07:52:09 -07:00
Tom Pittenger
558fe34945
Tracker: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER
2020-12-29 07:52:09 -07:00
Tom Pittenger
c653ff880a
Plane: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER
2020-12-29 07:52:09 -07:00
Peter Barker
12505c4c28
autotest: add tests for new higher-channel override semantics
2020-12-29 15:03:34 +11:00
Peter Barker
b53b30ea51
autotest: split out a get_rc_channel_value()
2020-12-29 15:03:34 +11:00
Peter Barker
a3138e48f9
mavlink: reference change for RC channel overrides
2020-12-29 15:03:34 +11:00
Peter Barker
b8827e6486
GCS_MAVLink: allow control to be return to radio for higher-numbered RC_CHANNELS_OVERRIDE
2020-12-29 15:03:34 +11:00
Peter Barker
6f4bbd3f57
GCS_MAVLink: for high RC_CHANNELS_OVERRIDE channels zero means ignore the field
2020-12-29 15:03:34 +11:00
Peter Barker
9b2ef4f6f1
Plane: move rudder-arming arm checks into Plane's AP_Arming
2020-12-29 12:55:27 +11:00
Hwurzburg
9728dee344
AP_Button: expand info in metadata
2020-12-29 11:11:40 +11:00
Hwurzburg
5b471c4c0e
Plane: move loiter,thermal out of auto fs group
2020-12-29 10:55:00 +11:00
Andrew Tridgell
e6c5382a28
GCS_MAVLINK: fixed FPE in DO_SET_ROI
...
this prevents a floating point exception when MissionPlanner sends an
invalid DO_SET_ROI
See https://github.com/ArduPilot/MissionPlanner/issues/2528
2020-12-28 11:53:03 +11:00
Arsh
3df1bd84e1
AP_NavEKF_Source:Fixed some style issues
2020-12-28 08:46:24 +09:00
Tom Pittenger
5432c9957a
AP_HAL_ChibiOS: rename AP_PERIPH_<feature>_DEFAULT to HAL_PERIPH_<feature>_DEFAULT
2020-12-28 09:16:02 +11:00
Tom Pittenger
71859c9893
AP_Periph: rename AP_PERIPH_<feature>_DEFAULT to HAL_PERIPH_<feature>_DEFAULT
2020-12-28 09:16:02 +11:00
Andrew Tridgell
80b3c2491f
Tools: rebuild IO firmware
2020-12-28 08:27:23 +11:00
Andrew Tridgell
9fcf36bad9
AP_RCProtocol: save memory in IO firmware
...
disable FPort2 to save memory.
Disable SBUS_NI as it is not needed on IOMCU as it has a dedicated
inverter
2020-12-28 08:27:23 +11:00
Hwurzburg
c73158ebe7
Update functions for rear tilt servos
...
and unity names
2020-12-27 15:21:10 +11:00
Tom Pittenger
e3e876d4ed
AP_SerialManager: clear default protocols for AP_Periph
2020-12-25 16:24:50 -07:00
Tom Pittenger
7af731fbda
AP_Periph: change GPS and Rangefinder to use port stored in param
2020-12-25 16:24:50 -07:00
Tom Pittenger
083088bfff
AP_HAL_ChibiOS: adjust defaults to use param instead of hardcoded defaults
2020-12-25 16:24:50 -07:00
Tom Pittenger
4c484c8577
AP_Periph: compile-error fix for for hwdef with HAL_NO_ROMFS_SUPPORT
2020-12-25 16:24:50 -07:00