Commit Graph

79 Commits

Author SHA1 Message Date
Andy Piper 74045ba50a SRV_Channel: add accessor for determining if there are any digital outputs 2021-05-17 21:44:36 +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
Andy Piper 18366a4b6d SRV_Channel: propagate ESC type into rcout 2021-05-05 17:41:24 +10:00
Ari Krupnik 02969451da SRV_Channel: direct-rotation sail mast control 2021-04-28 08:22:47 +01:00
Andy Piper 9a870e4d75 SRV_Channel: add SERVO_DSHOT_RATE and propagate to rcout 2021-04-06 10:24:04 +10:00
Patrick José Pereira 0e76006dc5 SRV_Channel: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +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
yaapu bc7c5a0c8e SRV_Channels: refactor zero_rc_outputs() out of GCS_Mavlink 2020-09-29 18:07:59 +10: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 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
Peter Barker d508ca1bbb SRV_Channel: rename k_richenpower_control to k_generator_control 2020-08-05 16:26:19 +09:00
Peter Barker 007a85e873 SRV_Channel: grab a servo function to control the RichenPower generators 2020-07-03 08:21:42 +09:00
Iampete1 0d53ce4cd7 SRV_Channel: re-work timeout 2020-06-09 09:04:14 +10:00
Andrew Tridgell 5bfcb0ed4a SRV_Channel: Add servo chan override w/ timeout
Adds a feature to override a servo output for a given time. Scripting
bindings and example included.
2020-05-25 14:10:01 +10:00
Peter Hall 001f71e3de SRV_Channel: add ProfiLED ouputs 2020-03-10 10:37:26 +11: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
Peter Barker aa356b563d SRV_Channel: remove unused RCMAP includes 2020-02-10 13:55:05 +11:00
Peter Hall de684530f1 SRV_Channel: add wing sail elevator output 2020-01-28 08:26:41 +09: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
Peter Barker 3521117817 SRV_Channel: remove old unused reversible-throttle concept 2019-11-26 10:15:05 +11:00
Andrew Tridgell e598c69a22 SRV_Channel: added singleton access for Lua 2019-11-04 13:01:59 +11:00
Andrew Tridgell 892f2d4256 SRV_Channel: added direct output of rate control on multicopters 2019-10-25 17:11:56 +11:00
Tom Pittenger 52be3903c0 SRV_Channel: add neopixel as an output type 2019-09-10 13:03:28 +10:00
Tatsuya Yamaguchi f9547fa28e SRV_Channel: allow DO_SET_SERVO commands while rc pass-thru 2019-06-13 09:51:21 +09:00
Peter Barker 606614adb9 SRV_Channel: Bitmask is now a template 2019-04-16 15:12:07 +10:00
IamPete1 cbb871e7bb SRV_Channel: add global E-stop 2019-02-27 08:51:24 +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 d72f6598e0 SRV_Channel: added RobotisServo protocol support 2018-12-22 08:13:14 +11: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
Michael du Breuil ac63e55c8d SRV_Channel: Add scripting outputs 2018-10-30 16:17:03 -07:00
ChrisBird a2c7d124cb SRV_Channel: Updated to include additional camera functions 2018-10-30 11:12:01 +11:00
IamPete1 7a8e7449fa SRV_Channel: add mailsail to servo function enum 2018-09-28 10:40:12 +09:00
Michael du Breuil 8850e4b9a1 SRV_Channel: Remove the trim_all interface, constrain failsafes to non motor outputs 2018-08-23 13:19:08 +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
Tom Pittenger 1a15a2e749 SRV_Channel: move UAVCAN code from SRV to UAVCAN files 2018-05-25 13:53:17 +10:00
Eugene Shamaev 938f19c154 SRV_Channel: move push_UAVCAN to private 2018-05-25 13:53:17 +10:00
Eugene Shamaev afce24e45d SRV_Channels: integration of UAVCAN Servos and ESCs 2018-05-25 13:53:17 +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 1c503ee459 SRV_Channel: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Mark Whitehorn cca251c135 SRV_Channel: support SBusOut 2017-11-30 10:20:04 +11:00