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
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
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
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
Andy Piper
7d5c493db5
SRV_Channel: add support for alarm servo functions
3 years ago
Iampete1
6fd989e2ab
SRV_Channel: add native slew rate limiting
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
c6bde6745a
SRV_Channel: allow BLHeli build with AP_Periph
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
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
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
Pierre Kancir
2020fbaa26
SRV_Channel: add FETtec support
4 years ago
Andrew Tridgell
874757a955
SRV_Channel: added k_GPIO and is_GPIO()
4 years ago
Andy Piper
74045ba50a
SRV_Channel: add accessor for determining if there are any digital outputs
4 years ago
Andy Piper
8deeae7146
SRV_Channel: consolidate digital and reversible outputs to make clear the dependency
4 years ago
Andy Piper
db85df1051
SRV_Channel: initialize BLHeli
...
make sure digital output settinsg are preserved
add accessor for digital outputs
4 years ago
Andrew Tridgell
11e4b62438
SRV_Channel: allow build with no channels
...
needed for AP_Periph when using LED driver only
4 years ago
Andy Piper
18366a4b6d
SRV_Channel: propagate ESC type into rcout
4 years ago
Ari Krupnik
02969451da
SRV_Channel: direct-rotation sail mast control
4 years ago
Andy Piper
9a870e4d75
SRV_Channel: add SERVO_DSHOT_RATE and propagate to rcout
4 years ago
Patrick José Pereira
0e76006dc5
SRV_Channel: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Tom Pittenger
c01726b07d
SRV_Channel: reduce dependencies for AP_Periph builds
4 years ago
Andrew Tridgell
7f3a851dd3
SRV_Channel: added support for rear motor tilt
4 years ago
Peter Barker
3264fd750b
SRV_Channel: add k_min, m_trim and k_max to output min/trim/max values
4 years ago
yaapu
bc7c5a0c8e
SRV_Channels: refactor zero_rc_outputs() out of GCS_Mavlink
4 years ago
Peter Barker
5c2b478feb
SRV_Channel: remove unused set_output_pwm_first method
5 years ago
Samuel Tabor
f1290a2e17
Plane: Add use of airbrakes, used when throttle is negative OR via RC channel option.
5 years ago
Randy Mackay
9f197db93c
SRV_Channel: add set_output_norm
5 years ago
Randy Mackay
00757fb77f
SRV_Channel: fix get_output_norm comment
...
also minor formatting fix
5 years ago
Randy Mackay
615d3e6205
SRV_Channel: add winch_clutch function
5 years ago
Peter Barker
d508ca1bbb
SRV_Channel: rename k_richenpower_control to k_generator_control
5 years ago
Peter Barker
007a85e873
SRV_Channel: grab a servo function to control the RichenPower generators
5 years ago
Iampete1
0d53ce4cd7
SRV_Channel: re-work timeout
5 years ago
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.
5 years ago
Peter Hall
001f71e3de
SRV_Channel: add ProfiLED ouputs
5 years ago
Randy Mackay
e0af13a6ad
SRV_Channel: remove release and choke from FUNCTION param description
...
release (aka eggdrop) was 11
choke was 68
5 years ago
Peter Barker
aa356b563d
SRV_Channel: remove unused RCMAP includes
5 years ago
Peter Hall
de684530f1
SRV_Channel: add wing sail elevator output
5 years ago
Andrew Tridgell
4f3725c16c
SRV_Channel: change function to AP_Int16
...
this also removes the old parameter conversion code used for when we
first added the SERVO parameters. This was needed for conversion from
Copter 3.4 and Plane 3.7
5 years ago
Peter Barker
f1c2e55f68
SRV_Channel: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends
5 years ago