Commit Graph

51 Commits

Author SHA1 Message Date
Iampete1 b84633630a SRV_Channel: use floats for get/set output scaled 2021-10-20 18:29:58 +11: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
Andrew Tridgell cbb2ba8d62 SRV_Channel: added doc of SERVOn_FUNCTION=-1 for GPIO 2021-07-26 15:12:17 +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
Hwurzburg 7e677d1e75 SRV_Channel: Add function names for trad heli functions and tricopter 2021-05-11 22:50:09 -04: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
Habibullah Oladepo a74ad951de SRV_Channel: fix servo output function documentation typo 2021-03-17 08:54:13 +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
Randy Mackay 9f197db93c SRV_Channel: add set_output_norm 2020-08-20 14:09:29 +09:00
Randy Mackay 00757fb77f SRV_Channel: fix get_output_norm comment
also minor formatting fix
2020-08-20 14:09:29 +09:00
Randy Mackay 615d3e6205 SRV_Channel: add winch_clutch function 2020-08-07 21:55:07 +09:00
Iampete1 0d53ce4cd7 SRV_Channel: re-work timeout 2020-06-09 09:04:14 +10:00
Peter Hall 53caf516f9 SRV_Channel: add missing ProfiLED description values 2020-03-24 13:37:20 +09:00
Randy Mackay e0af13a6ad SRV_Channel: remove release and choke from FUNCTION param description
release (aka eggdrop) was 11
choke was 68
2020-02-11 11:08:02 +11:00
Tatsuya Yamaguchi 0b8ad28272 SRV_Channel: add sprayer and camera aperture output 2020-02-05 14:44:07 +09:00
Peter Hall de684530f1 SRV_Channel: add wing sail elevator output 2020-01-28 08:26:41 +09:00
Randy Mackay f1047adca5 SRV_Channel: add NeoPixelx to function param description 2020-01-09 11:38:37 +09:00
Peter Barker 708a6f99a6 SRV_Channel: remove default case in get_limit_pwm
All cases are currently handled, and this is something people should
probably think about if they're introducing another case!
2019-12-24 11:50:03 +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
Henry Wurzburg 78e51ac03f SRV_Channel: remove winch from SERVOx_FUNTION list since its disabled 2019-11-05 11:30:43 +11:00
Andrew Tridgell 15f709e6ab SRV_Channel: added rate output channel docs 2019-10-25 17:11:56 +11:00
Randy Mackay 6588c93e44 SRV_Channel: renamed EPM to Gripper in FUNCTION param docs 2019-10-15 09:11:06 +09:00
IamPete1 cbb871e7bb SRV_Channel: add global E-stop 2019-02-27 08:51:24 +09:00
Tom Pittenger deea50731d SRV_Channel: fix values order 2018-11-26 11:28:22 +09:00
Michael du Breuil ac63e55c8d SRV_Channel: Add scripting outputs 2018-10-30 16:17:03 -07:00
Andrew Tridgell 4314d0ea12 SRV_Channel: handle reversed channels in limit PWMs 2018-09-13 08:15:02 +10:00
ChristopherOlson c39a802655 SRV_Channel:Servo Library - set allowable min value to 500 pwm uS
Mostly for helicopter and airplane that may be using 760uS centered servos
2018-03-24 09:52:28 +09:00
Randy Mackay 07e2853b8e SRV_Channel: function definition for winch 2017-10-27 09:20:38 +09:00
Randy Mackay 572df8b859 SRV_Channel: minor formatting fixes
no functional change
2017-07-26 13:28:07 +09:00
Andrew Tridgell 1d41dc034d SRV_Channel: deprecate aileron_with_input and elevator_with_input 2017-07-03 11:17:42 +10:00
Andrew Tridgell 9cb672e85e SRV_Channel: added doc values for dspoilers
and fix missing Motor9 to Motor12 values
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
Dr.-Ing. Amilcar Do Carmo Lucas 65cca6ae87 SRV_Channel: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Randy Mackay 544d6aa8a0 SRV_Channel: define aux functions for motors 9 to 12 2017-05-27 14:21:13 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 5e938c8cc0 SRV_Channel: Use SI units conventions in parameter units
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Andrew Tridgell 2168222d4b SRV_Channel: added throttle_boot output function 2017-05-08 11:02:55 +10:00
Pierre Kancir 67e79a30e8 SRV_Channel: limit pwm_from_angle return to +/-high_out 2017-05-04 21:12:15 +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
Eugene Shamaev c43d91b92e SRV_Channel: support for servo and ESC commands to be send via UAVCAN 2017-04-10 22:38:12 +01:00
Andrew Tridgell adf215998f SRV_Channel: added MotorTilt to docs for SERVOn_FUNCTION 2017-02-28 08:10:56 +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 f1bce549ef SRV_Channel: improved doc string 2017-02-07 16:33:12 +11:00
Andrew Tridgell 325e24a378 SRV_Channel: split SRV_Channels.cpp out to separate cpp file
this is needed for automatic parameter documentation generation
2017-02-06 15:12:32 +11:00
Andrew Tridgell 26f9a5569f SRV_Channel: added tracker_yaw and tracker_pitch for antenna tracker channels 2017-01-12 17:39:37 +11:00