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
Iampete1
e82860266d
SRV_Channel: call update_aux_servo_function in function_assigned
2021-09-01 18:34:45 +10:00
Pierre Kancir
2020fbaa26
SRV_Channel: add FETtec support
2021-08-13 16:22:37 +10:00
Andrew Tridgell
cbb2ba8d62
SRV_Channel: added doc of SERVOn_FUNCTION=-1 for GPIO
2021-07-26 15:12:17 +10:00
Andrew Tridgell
874757a955
SRV_Channel: added k_GPIO and is_GPIO()
2021-07-22 07:48:12 +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
Andy Piper
c7cc53d224
SRV_Channel: call rcout->update_channel_masks() at 1Hz
2021-06-22 09:55:27 +10:00
Tom Pittenger
0590352bef
SRV_Channel: do not use AP_UAVCAN unless LIBUAVCAN is enabled
2021-06-09 18:36:18 +10:00
Iampete1
c71163680f
SRV_Channel: add motor 1 - 4 to Rover function description, used on OMI frame type.
2021-06-01 11:12:40 +09:00
Hwurzburg
47eafd384f
SRV_Channel: Make _FUNCTION metadata consistent style
2021-05-25 10:04:48 +10:00
Hwurzburg
b2d0fb9e84
SRV_Channel: separate output functions by vehicle type
2021-05-25 10:04:48 +10:00
Andy Piper
74045ba50a
SRV_Channel: add accessor for determining if there are any digital outputs
2021-05-17 21:44:36 +10:00
Andy Piper
8deeae7146
SRV_Channel: consolidate digital and reversible outputs to make clear the dependency
2021-05-12 21:02:42 +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
Hwurzburg
7e677d1e75
SRV_Channel: Add function names for trad heli functions and tricopter
2021-05-11 22:50:09 -04: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
Ari Krupnik
d1f0a2f42a
SRV_Channel: documenting new SERVOx_FUNCTION values
2021-05-03 19:19:05 -04:00
Ari Krupnik
02969451da
SRV_Channel: direct-rotation sail mast control
2021-04-28 08:22:47 +01:00
Andy Piper
9a870e4d75
SRV_Channel: add SERVO_DSHOT_RATE and propagate to rcout
2021-04-06 10:24:04 +10:00
Habibullah Oladepo
a74ad951de
SRV_Channel: fix servo output function documentation typo
2021-03-17 08:54:13 +11:00
Patrick José Pereira
0e76006dc5
SRV_Channel: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Andrew Tridgell
a74d087fd8
SRV_Channel: prevent FPE with SERVOn_MIN==SERVOn_MAX
2021-01-05 08:23:28 +11:00
Hwurzburg
e11677807b
Plane: Unify tilt servo names
2020-12-30 21:21:57 +11:00
Hwurzburg
c73158ebe7
Update functions for rear tilt servos
...
and unity names
2020-12-27 15:21:10 +11:00
Tom Pittenger
c01726b07d
SRV_Channel: reduce dependencies for AP_Periph builds
2020-12-21 18:27:07 -08:00
Andrew Tridgell
7f3a851dd3
SRV_Channel: added support for rear motor tilt
2020-12-21 12:05:50 +11:00
Peter Barker
3264fd750b
SRV_Channel: add k_min, m_trim and k_max to output min/trim/max values
2020-12-01 10:06:57 +11:00
yaapu
bc7c5a0c8e
SRV_Channels: refactor zero_rc_outputs() out of GCS_Mavlink
2020-09-29 18:07:59 +10:00
Peter Barker
5c2b478feb
SRV_Channel: remove unused set_output_pwm_first method
2020-09-08 10:55:23 +10:00