Commit Graph

51 Commits

Author SHA1 Message Date
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
Andrew Tridgell c0c4021605 SRV_Channels: fix for replay 2018-01-15 11:46:02 +11:00
Andrew Tridgell 0682d30ebd SRV_Channel: ensure channel_mask is setup 2017-10-22 15:52:50 +11:00
Andrew Tridgell 39fd25bb36 SRV_Channel: added get_output_channel_mask()
will be used by AP_Motors
2017-10-22 15:52:50 +11:00
Andrew Tridgell ed272833c3 SRV_Channel: don't treat k_motorN specially 2017-10-22 15:52:50 +11:00
Andrew Tridgell 99f5229a34 SRV_Channel: added copy_radio_in_out_mask() 2017-08-01 08:25:32 +10:00
Andrew Tridgell 75999dbb39 SRV_Channel: prevent negative slew rate
thanks to Michael for pointing this out
2017-08-01 08:25:32 +10:00
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
2017-07-27 11:09:57 +09:00
Randy Mackay 572df8b859 SRV_Channel: minor formatting fixes
no functional change
2017-07-26 13:28:07 +09:00
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)
2017-07-24 14:07:28 +10:00
Andrew Tridgell cde4afd28e SRV_Channel: added set_trim_to_servo_out_for()
this will be used for new TRIM_AUTO functionality in plane
2017-07-03 11:17:42 +10:00
Andrew Tridgell 7627246ff8 SRV_Channels: added 4 channel dspoiler support 2017-07-03 11:17:42 +10:00
Andrew Tridgell 6b3bb29398 SRV_Channel: rename flaperon1 and flaperon2 to flaperon_left and flaperon_right
this makes it more consistent with elevons and vtails
2017-07-03 11:17:42 +10:00
Andrew Tridgell bc8c13d053 SRV_Channel: cope with large time jumps in slew rate limiter 2017-06-20 20:53:44 +09:00
Randy Mackay 544d6aa8a0 SRV_Channel: define aux functions for motors 9 to 12 2017-05-27 14:21:13 +09:00
Andrew Tridgell 2168222d4b SRV_Channel: added throttle_boot output function 2017-05-08 11:02:55 +10:00
Andrew Tridgell 84114d067a SRV_Channels: added SRV_Channels::enable_by_mask() 2017-05-01 14:32:18 +10:00
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
2017-04-24 16:26:08 +10:00
Andrew Tridgell 1db3b31686 SRV_Channel: added set_rc_frequency
this allows for setting RC output rate of named channel types
2017-04-11 17:34:40 +10:00
Andrew Tridgell 37301f67a0 SRV_Channel: added left and right motor tilt controls 2017-04-11 17:34:40 +10:00
Andrew Tridgell 2d603c1cba SRV_Channel: fixed reversing on servo gimbals 2017-03-23 11:02:07 +09:00
Randy Mackay 36bcabb4e4 SRV_Channel: add constraint to move_servo 2017-02-28 19:29:00 +11:00
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.
2017-02-21 06:09:33 +11:00
Andrew Tridgell 584fbf629b SRV_Channel: added k_throttleLeft and k_throttleRight
support for differential thrust for yaw in twin engine planes
2017-02-18 17:26:43 +11:00
Andrew Tridgell 77950301ed SRV_Channel: fixed set_default_function() 2017-01-23 10:35:26 +11:00
Andrew Tridgell e248078401 SRV_Channel: added AP_Motors servo channel parameter upgrading 2017-01-12 17:39:37 +11:00
Andrew Tridgell 86e0b8a91f SRV_Channel: added automatic parameter upgrade 2017-01-12 17:39:37 +11:00
Andrew Tridgell ea2e32c102 SRV_Channel: implement limit_slew_rate() 2017-01-12 17:39:37 +11:00