Iampete1
eefda1130c
SRV_Channel: adjust trim, check all channels for range limit
2022-09-20 11:20:16 +10:00
TunaLobster
f28f5a1ad5
SRV_Channel: Add SRV fucntions for scaled RC passthrough
2022-08-31 17:05:39 +10:00
Iampete1
7ee330d12d
SRV_Channel: use set_and_default method
2022-07-20 17:59:59 +10:00
Ruffalo-sunghwan
e0d14d900a
SRV_Channel : correct comment spelling
2022-05-24 20:27:45 +09: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
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
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
Iampete1
6fd989e2ab
SRV_Channel: add native slew rate limiting
2022-01-25 10:12:13 +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
Peter Barker
b32b31aecd
SRV_Channel: correct casting of servo function number
2021-11-30 10:32:16 +11:00
Iampete1
b84633630a
SRV_Channel: use floats for get/set output scaled
2021-10-20 18:29:58 +11: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
Andy Piper
c7cc53d224
SRV_Channel: call rcout->update_channel_masks() at 1Hz
2021-06-22 09:55:27 +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
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
Andrew Tridgell
a74d087fd8
SRV_Channel: prevent FPE with SERVOn_MIN==SERVOn_MAX
2021-01-05 08:23:28 +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
Peter Barker
5c2b478feb
SRV_Channel: remove unused set_output_pwm_first method
2020-09-08 10:55:23 +10:00
Samuel Tabor
f1290a2e17
Plane: Add use of airbrakes, used when throttle is negative OR via RC channel option.
2020-09-02 10:10:09 -07:00
Randy Mackay
4a21dbf785
SRV_Channel: default scripting1 to 16 to angle of 4500
2020-08-20 14:09:29 +09:00
Randy Mackay
9f197db93c
SRV_Channel: add set_output_norm
2020-08-20 14:09:29 +09:00
Iampete1
0d53ce4cd7
SRV_Channel: re-work timeout
2020-06-09 09:04:14 +10:00
Peter Barker
aa356b563d
SRV_Channel: remove unused RCMAP includes
2020-02-10 13:55:05 +11:00
murata
58c823acc1
SRV_Channel: Change from direct value to defined value
2020-01-31 11:34:08 +11:00
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
2020-01-14 14:23:11 +11:00
Peter Barker
f1c2e55f68
SRV_Channel: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends
2019-11-26 10:17:17 +11:00
Andrew Tridgell
892f2d4256
SRV_Channel: added direct output of rate control on multicopters
2019-10-25 17:11:56 +11:00
Tatsuya Yamaguchi
f9547fa28e
SRV_Channel: allow DO_SET_SERVO commands while rc pass-thru
2019-06-13 09:51:21 +09:00
Tom Pittenger
9e3cf3ad33
SRV_Channels: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07: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
Andrew Tridgell
6af709e617
SRV_Channel: fixed build warnings
2018-10-17 12:54:22 +11:00
Peter Barker
aa4cf5b40e
SRV_Channel: use method to get rc channels
2018-08-03 13:07:50 +10:00
Peter Barker
c1a1f4f970
SRV_Channel: use rc() method to get rc singleton
2018-08-01 12:11:30 +09:00
Michael du Breuil
80313abf31
SRV_Channel: Remove useless read from manual passthrough
2018-08-01 09:19:20 +10:00
bnsgeyer
c3d4b792ad
SRV_Channel: fixes channel numbering for channel already assigned message
2018-07-16 12:41:16 +10:00
bnsgeyer
73df3e0af2
SRV_Channel: modified set_output_pwm_trimmed for reverse property
...
Modified function to account for servo reverse property
2018-07-16 12:41:16 +10:00
Andrew Tridgell
e94177e469
SRV_Channel: added function based set_output_min_max
...
this is for a conversion of AP_Motors heli code to servo functions
2018-07-16 12:41:16 +10:00
Andrew Tridgell
d54d3351de
SRV_Channel: check for rcout serial for blheli support
2018-04-07 09:10:29 +10:00
Andrew Tridgell
0018e1f944
SRV_Channel: added set_disabled_channel_mask()
...
used by AP_BLHeli
2018-04-07 09:10:29 +10:00
Andrew Tridgell
1be41b83fc
SRV_Channel: added SERVO_BLHI_ parameters
2018-04-07 09:10:29 +10:00