Henry Wurzburg
61b0f23ee2
SRV_Channel: add ARM/MOTOR_EMERGENCY_STOP Aux Switch
2 years ago
Henry Wurzburg
c5451260ac
SRV_Channel: add airbrake option metadata omitted in prev commits
2 years ago
murata
f3da373beb
SRV_Channel: Change the minimum value of minimum PWM for servo output
3 years ago
Iampete1
7ee330d12d
SRV_Channel: use set_and_default method
3 years ago
Randy Mackay
2a264b0331
SRV_Channel: remove ToshibaCAN support
3 years ago
Andy Piper
e95d116979
SRV_Channel: add BLHeli_S ESC type
3 years ago
Ruffalo-sunghwan
e0d14d900a
SRV_Channel : correct comment spelling
3 years ago
Andrew Tridgell
11a06aa6cb
SRV_Channel: re-fixed typo
3 years ago
Andrew Tridgell
aa9083e94c
SRV_Channel: only support 32 channels on 2M flash boards
...
save flash on smaller boards
3 years ago
Andrew Tridgell
e185e1252b
SRV_Channel: added a SERVO_32_ENABLE parameter
...
save on param count for most users
3 years ago
Andrew Tridgell
ed01d33ef8
SRV_Channel: more changes for 32 bit servo mask
3 years ago
Iampete1
a5928b752e
SRV_Channels: set channels above 16 to GPIO by defualt
3 years ago
Iampete1
d1e02e4fdd
SRV_Channel: add invalid mask for GPIO outputs
3 years ago
Iampete1
077401df69
SRV_Channel: add upto 32 servo outs
3 years ago
Mirko Denecke
e60520160f
SRV_Channel: fix auxiliary typo
3 years ago
Peter Barker
a5dee06afb
SRV_Channel: add PARAMETER CONVERSION comments
3 years ago
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
3 years ago
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.
3 years ago
Peter Barker
a5be9d0f18
SRV_Channel: allow RobotisServo protocol to be compiled out
3 years ago
Peter Barker
3339d96573
SRV_Channel: allow Volz protocol to be compiled out
3 years ago
Andy Piper
6511a65b67
SRV_Channel: don't count disabled channels in mask and setup functions
...
disable channels that are not in use
3 years ago
Michael du Breuil
976e0ecc29
SRV_Channel: Changing servo functions are now reboot required
...
Changing from a PWM function to GPIO now requires a reboot.
3 years ago
Andy Piper
7d5c493db5
SRV_Channel: add support for alarm servo functions
3 years ago
Iampete1
fd11620383
SRV_Channels: correct RC channel define to SERVO channel
3 years ago
Iampete1
6fd989e2ab
SRV_Channel: add native slew rate limiting
3 years ago
Randy Mackay
e41cad8bd7
SRV_Channel: minor param desc format fix
3 years ago
Jaaaky
db8d08b349
SRV_Channel: Fix multi #include's
3 years ago
Andrew Tridgell
32d846520c
SRV_Channel: validate function number before array access
...
this fixes an issue with invalid SERVOn_FUNCTION values for array
index.
3 years ago
Peter Barker
7c126b1e7b
SRV_Channel: make function an Enum16
3 years ago
Andrew Tridgell
5e43370e35
SRV_Channel: added get_motor_num()
...
map back from a channel to a motor number, for ESC telemetry reporting
3 years ago
Andrew Tridgell
9359f39e30
SRV_Channel: allow for AP_Periph ESC telemetry
3 years ago
Andrew Tridgell
c6bde6745a
SRV_Channel: allow BLHeli build with AP_Periph
3 years ago
Peter Barker
b32b31aecd
SRV_Channel: correct casting of servo function number
3 years ago
Peter Barker
fd97d79cb4
SRV_Channels: move fetteconewire out of AP_Periph #if
3 years ago
Peter Barker
2bfd2f1c32
SRV_Channel: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED
3 years ago
Andy Piper
9bea417d5c
SRV_Channel: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
3 years ago
Iampete1
b84633630a
SRV_Channel: use floats for get/set output scaled
3 years ago
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
3 years ago
Gone4Dirt
ab07a7c4fa
SRV_Channel: Add APM_BUILD_Heli
3 years ago
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>
3 years ago
Iampete1
f541653502
SRV_Channel: fix override timeout without repeated calls
3 years ago
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>
3 years ago
Iampete1
0a41cdaa24
SRV_Channel: add ignore reversed flag to set_trim_to_min_for
3 years ago
Iampete1
2abe120969
SRV_Channel: remove set_safety_limit
3 years ago
Iampete1
e82860266d
SRV_Channel: call update_aux_servo_function in function_assigned
3 years ago
Pierre Kancir
2020fbaa26
SRV_Channel: add FETtec support
4 years ago
Andrew Tridgell
cbb2ba8d62
SRV_Channel: added doc of SERVOn_FUNCTION=-1 for GPIO
4 years ago
Andrew Tridgell
874757a955
SRV_Channel: added k_GPIO and is_GPIO()
4 years ago
Siddharth Purohit
69cc0b4615
SRV_Channel: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
4 years ago
Andy Piper
c7cc53d224
SRV_Channel: call rcout->update_channel_masks() at 1Hz
4 years ago