Commit Graph

64 Commits

Author SHA1 Message Date
Andrew Tridgell 11a06aa6cb SRV_Channel: re-fixed typo 2022-05-22 12:07:37 +10:00
Andrew Tridgell e185e1252b SRV_Channel: added a SERVO_32_ENABLE parameter
save on param count for most users
2022-05-22 12:07:37 +10:00
Iampete1 a5928b752e SRV_Channels: set channels above 16 to GPIO by defualt 2022-05-22 12:07:37 +10:00
Iampete1 d1e02e4fdd SRV_Channel: add invalid mask for GPIO outputs 2022-05-22 12:07:37 +10:00
Iampete1 077401df69 SRV_Channel: add upto 32 servo outs 2022-05-22 12:07:37 +10:00
Mirko Denecke e60520160f SRV_Channel: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Peter Barker 961cf659d9 SRV_Channels: stop gating FETTECONEWIRE parameters on HAL_BUILD_BUILD_AP_PERIPH
This would break fettech on AP_Periph.  The define is off by default on
AP_Periph.
2022-04-12 10:35:01 +10:00
Peter Barker a5be9d0f18 SRV_Channel: allow RobotisServo protocol to be compiled out 2022-04-12 10:35:01 +10:00
Peter Barker 3339d96573 SRV_Channel: allow Volz protocol to be compiled out 2022-04-12 10:35:01 +10:00
Iampete1 fd11620383 SRV_Channels: correct RC channel define to SERVO channel 2022-01-30 17:29:56 +11:00
Iampete1 6fd989e2ab SRV_Channel: add native slew rate limiting 2022-01-25 10:12:13 +11:00
Randy Mackay e41cad8bd7 SRV_Channel: minor param desc format fix 2021-12-21 14:45:49 +09:00
Andrew Tridgell 32d846520c SRV_Channel: validate function number before array access
this fixes an issue with invalid SERVOn_FUNCTION values for array
index.
2021-12-15 18:10:45 +11:00
Peter Barker 7c126b1e7b SRV_Channel: make function an Enum16 2021-12-14 11:28:33 +11:00
Andrew Tridgell 9359f39e30 SRV_Channel: allow for AP_Periph ESC telemetry 2021-12-10 08:11:24 -08:00
Andrew Tridgell c6bde6745a SRV_Channel: allow BLHeli build with AP_Periph 2021-12-10 08:11:24 -08:00
Peter Barker fd97d79cb4 SRV_Channels: move fetteconewire out of AP_Periph #if 2021-11-24 12:01:22 +11:00
Peter Barker 2bfd2f1c32 SRV_Channel: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00
Andy Piper 9bea417d5c SRV_Channel: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andrew Tridgell 5f6af3567a SRV_Channel: added SERVO_GPIO_MASK
this allows for channels to be set as GPIO without setting
SERVOn_FUNCTION=-1. That allows for use of UAVCAN or SBUS outputs on
those channels with a servo function, while using the aux pin as a
GPIO
2021-10-11 19:28:11 +11:00
Gone4Dirt ab07a7c4fa SRV_Channel: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Iampete1 f541653502 SRV_Channel: fix override timeout without repeated calls 2021-09-21 10:24:04 +10:00
Pierre Kancir 2020fbaa26 SRV_Channel: add FETtec support 2021-08-13 16:22:37 +10:00
Siddharth Purohit 69cc0b4615 SRV_Channel: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-24 09:02:42 +10:00
Tom Pittenger 0590352bef SRV_Channel: do not use AP_UAVCAN unless LIBUAVCAN is enabled 2021-06-09 18:36:18 +10:00
Andy Piper db85df1051 SRV_Channel: initialize BLHeli
make sure digital output settinsg are preserved
add accessor for digital outputs
2021-05-12 21:02:42 +10:00
Andrew Tridgell 11e4b62438 SRV_Channel: allow build with no channels
needed for AP_Periph when using LED driver only
2021-05-09 06:44:19 +10:00
Andy Piper 18366a4b6d SRV_Channel: propagate ESC type into rcout 2021-05-05 17:41:24 +10:00
Andy Piper 9a870e4d75 SRV_Channel: add SERVO_DSHOT_RATE and propagate to rcout 2021-04-06 10:24:04 +10:00
Tom Pittenger c01726b07d SRV_Channel: reduce dependencies for AP_Periph builds 2020-12-21 18:27:07 -08:00
yaapu bc7c5a0c8e SRV_Channels: refactor zero_rc_outputs() out of GCS_Mavlink 2020-09-29 18:07:59 +10:00
Siddharth Purohit 8b74f94a7a SRV_Channels: use AP_CANManager library 2020-08-19 17:31:09 +10:00
Henry Wurzburg 49be9d1626 SRV_Channel: fix parameters appearing in wiki param list erroneously 2020-06-30 16:24:19 +10:00
Iampete1 0d53ce4cd7 SRV_Channel: re-work timeout 2020-06-09 09:04:14 +10:00
Andrew Tridgell 5bfcb0ed4a SRV_Channel: Add servo chan override w/ timeout
Adds a feature to override a servo output for a given time. Scripting
bindings and example included.
2020-05-25 14:10:01 +10:00
Siddharth Purohit a3a3abbf23 SRV_Channels: fix unannotated fall-through between switch labels 2020-04-01 17:10:36 +11:00
Andrew Tridgell 87a51899bd SRV_Channel: update SERVO_AUTO_TRIM docs 2020-01-20 06:50:36 +11:00
Oliver Walters 431b07bba0 SRV_Channel: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Peter Barker 606614adb9 SRV_Channel: Bitmask is now a template 2019-04-16 15:12:07 +10:00
IamPete1 cbb871e7bb SRV_Channel: add global E-stop 2019-02-27 08:51:24 +09:00
Tom Pittenger 9e3cf3ad33 SRV_Channels: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Randy Mackay 368fd4b8db SRV_Channel: add ToshibaCAN 2019-01-18 17:30:28 +11:00
Francisco Ferreira f1463d6e6c
SRV_Channels: add support for KDECAN 2019-01-18 00:57:33 +00:00
Andrew Tridgell d72f6598e0 SRV_Channel: added RobotisServo protocol support 2018-12-22 08:13:14 +11:00
Andrew Tridgell fbcbbb72b1 SRV_Channel: support reversible DShot motors
force the PWM MIN/MAX to 1000/2000
2018-11-16 08:33:35 +11:00
Michael du Breuil 8850e4b9a1 SRV_Channel: Remove the trim_all interface, constrain failsafes to non motor outputs 2018-08-23 13:19:08 +10:00
Francisco Ferreira 861e1a0a54
SRV_Channel: adapt to changes in AP_BoardConfig_CAN 2018-08-12 13:35:03 +01: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 afce24e45d SRV_Channels: integration of UAVCAN Servos and ESCs 2018-05-25 13:53:17 +10:00