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
Andrew Tridgell
6b3bb29398
SRV_Channel: rename flaperon1 and flaperon2 to flaperon_left and flaperon_right
...
this makes it more consistent with elevons and vtails
8 years ago
Andrew Tridgell
bc8c13d053
SRV_Channel: cope with large time jumps in slew rate limiter
8 years ago
Randy Mackay
544d6aa8a0
SRV_Channel: define aux functions for motors 9 to 12
8 years ago
Andrew Tridgell
2168222d4b
SRV_Channel: added throttle_boot output function
8 years ago
Andrew Tridgell
84114d067a
SRV_Channels: added SRV_Channels::enable_by_mask()
8 years ago
Andrew Tridgell
61fbaf0db7
SRV_Channel: added elevon and vtail functions
...
these allow for trimming and limit setting per channel, plus allow for
more than one set of elevon or vtail
8 years ago
Andrew Tridgell
1db3b31686
SRV_Channel: added set_rc_frequency
...
this allows for setting RC output rate of named channel types
8 years ago
Andrew Tridgell
37301f67a0
SRV_Channel: added left and right motor tilt controls
8 years ago
Andrew Tridgell
2d603c1cba
SRV_Channel: fixed reversing on servo gimbals
8 years ago
Randy Mackay
36bcabb4e4
SRV_Channel: add constraint to move_servo
8 years ago
Andrew Tridgell
29b06d2d4a
SRV_Channel: fixed output slew rate handling
...
this fixes a bug that happens when the RC output speed is much lower
than the main loop speed, such as with forward throttle for
quadplanes. We need to base the slew on the last sent output, not the
last value read back (at 50Hz) from the IO board, or we will slew the
channel at 6x to 8x slower than the correct rate.
8 years ago
Andrew Tridgell
584fbf629b
SRV_Channel: added k_throttleLeft and k_throttleRight
...
support for differential thrust for yaw in twin engine planes
8 years ago
Andrew Tridgell
77950301ed
SRV_Channel: fixed set_default_function()
8 years ago
Andrew Tridgell
e248078401
SRV_Channel: added AP_Motors servo channel parameter upgrading
8 years ago
Andrew Tridgell
86e0b8a91f
SRV_Channel: added automatic parameter upgrade
8 years ago
Andrew Tridgell
ea2e32c102
SRV_Channel: implement limit_slew_rate()
8 years ago
Andrew Tridgell
fd081a8cc6
SRV_Channel: split SRV_Channel into separate directory
8 years ago