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
Tom Pittenger
1a15a2e749
SRV_Channel: move UAVCAN code from SRV to UAVCAN files
7 years ago
Eugene Shamaev
66438041ad
SRV_Channels: helper func
7 years ago
Eugene Shamaev
938f19c154
SRV_Channel: move push_UAVCAN to private
7 years ago
Eugene Shamaev
afce24e45d
SRV_Channels: integration of UAVCAN Servos and ESCs
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
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
7 years ago
Andrew Tridgell
c0c4021605
SRV_Channels: fix for replay
7 years ago
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
7 years ago
Andrew Tridgell
051f30990c
SRV_channel: fixed doc names of VOLZ and SBUS
...
thanks to Mark for noticing
7 years ago
Mark Whitehorn
cca251c135
SRV_Channel: support SBusOut
7 years ago
Guy Tzoler
7f68be9bdf
SRV_Channel: adding Volz Support
7 years ago
Randy Mackay
07e2853b8e
SRV_Channel: function definition for winch
7 years ago
Andrew Tridgell
381e2fd69a
SRV_Channel: added get_motor_function()
...
for correct handling of motors 8 and above
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
1f1b4241c3
SRV_Channel: added get/set for reversed and function
...
these are needed in plane for auto-conversion of old elevon code
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
Randy Mackay
298eaaeb3e
SRV_Channels: rename SERVO_DEF_RATE to SERVO_RATE
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
Eugene Shamaev
ec8aa2e23f
SRV_Channel: move of CAN bitmasks into AP_UAVCAN
8 years ago
Andrew Tridgell
1d41dc034d
SRV_Channel: deprecate aileron_with_input and elevator_with_input
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
9cb672e85e
SRV_Channel: added doc values for dspoilers
...
and fix missing Motor9 to Motor12 values
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
Dr.-Ing. Amilcar Do Carmo Lucas
65cca6ae87
SRV_Channel: Improve the PWM parameters descriptions
8 years ago
Randy Mackay
544d6aa8a0
SRV_Channel: define aux functions for motors 9 to 12
8 years ago
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
8 years ago
Andrew Tridgell
2168222d4b
SRV_Channel: added throttle_boot output function
8 years ago
Pierre Kancir
67e79a30e8
SRV_Channel: limit pwm_from_angle return to +/-high_out
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
ce87bb7e39
SRV_Channel: added set_output_pwm_chan()
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
Eugene Shamaev
c43d91b92e
SRV_Channel: support for servo and ESC commands to be send via UAVCAN
8 years ago
Andrew Tridgell
2d603c1cba
SRV_Channel: fixed reversing on servo gimbals
8 years ago