mirror of https://github.com/ArduPilot/ardupilot
fa31a5e838
Allow `MAV_CMD_DO_SET_SERVO` and `MAV_CMD_DO_REPEAT_SERVO` to be used on a servo output set to an RCINnScaled function (i.e. k_rcinN_mapped). Scaling is applied so that a commanded servo PWM of <=1000 maps to SERVOn_MIN, a PWM of 1500 maps to SERVOn_TRIM, and a PWM of >=2000 maps to SERVOn_MAX. Linear interpolation is performed between ranges. |
||
---|---|---|
.. | ||
AP_ServoRelayEvents.cpp | ||
AP_ServoRelayEvents.h | ||
AP_ServoRelayEvents_config.h |