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
Peter Barker
b32b31aecd
SRV_Channel: correct casting of servo function number
3 years ago
Iampete1
b84633630a
SRV_Channel: use floats for get/set output scaled
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
4 years ago
Andy Piper
c7cc53d224
SRV_Channel: call rcout->update_channel_masks() at 1Hz
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
Andrew Tridgell
a74d087fd8
SRV_Channel: prevent FPE with SERVOn_MIN==SERVOn_MAX
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
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
4a21dbf785
SRV_Channel: default scripting1 to 16 to angle of 4500
5 years ago
Randy Mackay
9f197db93c
SRV_Channel: add set_output_norm
5 years ago
Iampete1
0d53ce4cd7
SRV_Channel: re-work timeout
5 years ago
Peter Barker
aa356b563d
SRV_Channel: remove unused RCMAP includes
5 years ago
murata
58c823acc1
SRV_Channel: Change from direct value to defined value
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
Andrew Tridgell
892f2d4256
SRV_Channel: added direct output of rate control on multicopters
5 years ago
Tatsuya Yamaguchi
f9547fa28e
SRV_Channel: allow DO_SET_SERVO commands while rc pass-thru
6 years ago
Tom Pittenger
9e3cf3ad33
SRV_Channels: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
fbcbbb72b1
SRV_Channel: support reversible DShot motors
...
force the PWM MIN/MAX to 1000/2000
6 years ago
Andrew Tridgell
6af709e617
SRV_Channel: fixed build warnings
6 years ago
Peter Barker
aa4cf5b40e
SRV_Channel: use method to get rc channels
7 years ago
Peter Barker
c1a1f4f970
SRV_Channel: use rc() method to get rc singleton
7 years ago
Michael du Breuil
80313abf31
SRV_Channel: Remove useless read from manual passthrough
7 years ago
bnsgeyer
c3d4b792ad
SRV_Channel: fixes channel numbering for channel already assigned message
7 years ago
bnsgeyer
73df3e0af2
SRV_Channel: modified set_output_pwm_trimmed for reverse property
...
Modified function to account for servo reverse property
7 years ago
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
7 years ago
Andrew Tridgell
d54d3351de
SRV_Channel: check for rcout serial for blheli support
7 years ago
Andrew Tridgell
0018e1f944
SRV_Channel: added set_disabled_channel_mask()
...
used by AP_BLHeli
7 years ago
Andrew Tridgell
1be41b83fc
SRV_Channel: added SERVO_BLHI_ parameters
7 years ago
Andrew Tridgell
c0c4021605
SRV_Channels: fix for replay
7 years ago
Andrew Tridgell
0682d30ebd
SRV_Channel: ensure channel_mask is setup
7 years ago
Andrew Tridgell
39fd25bb36
SRV_Channel: added get_output_channel_mask()
...
will be used by AP_Motors
7 years ago
Andrew Tridgell
ed272833c3
SRV_Channel: don't treat k_motorN specially
7 years ago
Andrew Tridgell
99f5229a34
SRV_Channel: added copy_radio_in_out_mask()
8 years ago
Andrew Tridgell
75999dbb39
SRV_Channel: prevent negative slew rate
...
thanks to Michael for pointing this out
8 years ago
Randy Mackay
9123b6034e
SRV_Channel: update_aux_servo_function first checks function is valid
...
This resolves a bug in which the board could become unresponsive if an invalid function is selected
8 years ago
Randy Mackay
572df8b859
SRV_Channel: minor formatting fixes
...
no functional change
8 years ago
Andrew Tridgell
4ca3546551
SRV_Channel: added SERVO_DEF_RATE parameter
...
this allows for the default rate of servo outputs to be set. This is
needed for some planes where 50Hz isn't enough (eg. tailsitters)
8 years ago
Andrew Tridgell
cde4afd28e
SRV_Channel: added set_trim_to_servo_out_for()
...
this will be used for new TRIM_AUTO functionality in plane
8 years ago
Andrew Tridgell
7627246ff8
SRV_Channels: added 4 channel dspoiler support
8 years ago