91 scaled_value =
high_out - scaled_value;
100 scaled_value = -scaled_value;
103 if (scaled_value > 0) {
uint16_t get_limit_pwm(LimitValue limit) const
static bool is_motor(SRV_Channel::Aux_servo_function_t function)
int16_t constrain_int16(const int16_t amt, const int16_t low, const int16_t high)
uint16_t pwm_from_range(int16_t scaled_value) const
void set_angle(int16_t angle)
void set_range(uint16_t high)
float get_output_norm(void)
#define AP_GROUPINFO(name, idx, clazz, element, def)
uint16_t pwm_from_angle(int16_t scaled_value) const
these allow remapping of copter motors
bool get_reversed(void) const
static servo_mask_t have_pwm_mask
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
static const struct AP_Param::GroupInfo var_info[]
void set_output_pwm(uint16_t pwm)
void calc_pwm(int16_t output_scaled)
static void setup_object_defaults(const void *object_pointer, const struct GroupInfo *group_info)