Commit Graph

192 Commits

Author SHA1 Message Date
Iampete1 eefda1130c SRV_Channel: adjust trim, check all channels for range limit 2022-09-20 11:20:16 +10:00
Andy Piper cea9f639fc SRV_Channel: allow motor mask and motor output type to be passed in for AP_Periph 2022-09-20 09:45:03 +10:00
Supernovae 91afa19543 SRV_Channels.cpp: small correction
it's not only Auxilary o/p but affects the main o/p as well.
2022-09-15 10:49:32 +10:00
Henry Wurzburg 0654ed74e3 SRV_Channel: change sw and output names to match new MOUNT params 2022-09-14 18:29:33 +10:00
Henry Wurzburg 2c8c037b93 SRV_Channel:Correct metadata mistake in PR #21347 2022-09-06 10:35:14 +10:00
TunaLobster f28f5a1ad5 SRV_Channel: Add SRV fucntions for scaled RC passthrough 2022-08-31 17:05:39 +10:00
Henry Wurzburg 61b0f23ee2 SRV_Channel: add ARM/MOTOR_EMERGENCY_STOP Aux Switch 2022-08-24 16:03:52 +10:00
Henry Wurzburg c5451260ac SRV_Channel: add airbrake option metadata omitted in prev commits 2022-08-21 17:34:03 -07:00
murata f3da373beb SRV_Channel: Change the minimum value of minimum PWM for servo output 2022-08-17 09:58:52 +10:00
Iampete1 7ee330d12d SRV_Channel: use set_and_default method 2022-07-20 17:59:59 +10:00
Randy Mackay 2a264b0331 SRV_Channel: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Andy Piper e95d116979 SRV_Channel: add BLHeli_S ESC type 2022-05-25 17:06:08 +10:00
Ruffalo-sunghwan e0d14d900a SRV_Channel : correct comment spelling 2022-05-24 20:27:45 +09:00
Andrew Tridgell 11a06aa6cb SRV_Channel: re-fixed typo 2022-05-22 12:07:37 +10:00
Andrew Tridgell aa9083e94c SRV_Channel: only support 32 channels on 2M flash boards
save flash on smaller boards
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
Andrew Tridgell ed01d33ef8 SRV_Channel: more changes for 32 bit servo mask 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 a5dee06afb SRV_Channel: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Andy Piper cc6b907a2f SRV_Channel: observe disabled_channels when enabling channels
setup disabled_channels observing channels that are implied to be digital
allow none to be a valid channel function once again
2022-04-25 15:55:54 +09: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
Andy Piper 6511a65b67 SRV_Channel: don't count disabled channels in mask and setup functions
disable channels that are not in use
2022-03-29 10:29:31 +11:00
Michael du Breuil 976e0ecc29 SRV_Channel: Changing servo functions are now reboot required
Changing from a PWM function to GPIO now requires a reboot.
2022-03-03 16:06:36 +11:00
Andy Piper 7d5c493db5 SRV_Channel: add support for alarm servo functions 2022-02-23 18:35:43 +11: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
Jaaaky db8d08b349 SRV_Channel: Fix multi #include's 2021-12-21 10:38:46 +11: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 5e43370e35 SRV_Channel: added get_motor_num()
map back from a channel to a motor number, for ESC telemetry reporting
2021-12-10 08:11:24 -08: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 b32b31aecd SRV_Channel: correct casting of servo function number 2021-11-30 10:32:16 +11: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
Iampete1 b84633630a SRV_Channel: use floats for get/set output scaled 2021-10-20 18:29:58 +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
Shiv Tyagi a24a8c110b SRV_Channel : Improved should_e_stop method by using switch
This method earlier used >=, <= and == operators which is less maintainable. Hence, I replaced it by switch.

Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-09-21 11:17:09 +10:00
Iampete1 f541653502 SRV_Channel: fix override timeout without repeated calls 2021-09-21 10:24:04 +10:00
Shiv Tyagi cdb4ec8ad0 Plane : Improved LAND_THEN_NEUTRL to work on all control surfaces
This fixes the issue #18593

Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2021-09-17 22:06:24 -05:00
Iampete1 0a41cdaa24 SRV_Channel: add ignore reversed flag to set_trim_to_min_for 2021-09-15 18:59:07 +09:00
Iampete1 2abe120969 SRV_Channel: remove set_safety_limit 2021-09-14 09:23:02 +10:00