364 gcs().
send_text(MAV_SEVERITY_CRITICAL,
"PreArm: H_RSC_CRITICAL too large");
372 gcs().
send_text(MAV_SEVERITY_CRITICAL,
"PreArm: H_RSC_MODE invalid");
380 gcs().
send_text(MAV_SEVERITY_CRITICAL,
"PreArm: H_RUNUP_TIME too small");
388 gcs().
send_text(MAV_SEVERITY_CRITICAL,
"PreArm: H_RSC_IDLE too large");
442 ret = (int16_t (input * 500.0
f) + servo->
get_trim());
virtual void move_actuators(float roll_out, float pitch_out, float coll_in, float yaw_out)=0
void set_output_max(uint16_t pwm)
#define AP_MOTORS_HELI_RSC_RUNUP_TIME
int16_t constrain_int16(const int16_t amt, const int16_t low, const int16_t high)
motor_frame_type _frame_type
#define AP_MOTORS_HELI_RSC_THRCRV_75_DEFAULT
#define AP_MOTORS_HELI_COLLECTIVE_MIN
void set_range(uint16_t high)
float _collective_mid_pct
Interface definition for the various Ground Control System.
struct AP_Motors::AP_Motors_flags _flags
uint16_t get_output_max(void) const
#define AP_GROUPINFO(name, idx, clazz, element, def)
struct AP_Motors::AP_Motors_limit limit
#define AP_MOTORS_HELI_COLLECTIVE_MAX
#define AP_MOTORS_HELI_RSC_THRCRV_100_DEFAULT
int16_t calc_pwm_output_1to1_swash_servo(float input, const SRV_Channel *servo)
virtual void calculate_scalars()=0
virtual void servo_test()=0
#define AP_MOTORS_HELI_COLLECTIVE_MID
uint8_t _servo_test_cycle_counter
#define AP_MOTORS_HELI_RSC_THRCRV_0_DEFAULT
void init(motor_frame_class frame_class, motor_frame_type frame_type)
AP_Int16 _rsc_idle_output
virtual bool parameter_check(bool display_msg) const
void reset_flight_controls()
#define AP_MOTORS_HELI_RSC_THRCRV_50_DEFAULT
virtual void calculate_armed_scalars()=0
#define AP_MOTORS_HELI_LAND_COLLECTIVE_MIN
void reset_swash_servo(SRV_Channel *servo)
uint16_t get_output_min(void) const
virtual void update_motor_control(RotorControlState state)=0
void send_text(MAV_SEVERITY severity, const char *fmt,...)
void output_armed_zero_throttle()
float _throttle_radio_passthrough
float _pitch_radio_passthrough
LowPassFilterFloat _throttle_filter
uint16_t get_trim(void) const
void set_frame_class_and_type(motor_frame_class frame_class, motor_frame_type frame_type)
float constrain_float(const float amt, const float low, const float high)
static const struct AP_Param::GroupInfo var_info[]
void set_output_min(uint16_t pwm)
#define AP_MOTORS_HELI_SWASH_CYCLIC_MAX
#define AP_MOTORS_HELI_RSC_IDLE_DEFAULT
float _roll_radio_passthrough
bool get_reversed(void) const
void update_throttle_filter()
float _yaw_radio_passthrough
Motor control class for Traditional Heli.
#define AP_MOTORS_HELI_RSC_THRCRV_25_DEFAULT
float get_throttle() const
#define AP_MOTORS_HELI_RSC_SETPOINT
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#define AP_MOTORS_HELI_RSC_CRITICAL
virtual bool init_outputs()=0
void output_armed_stabilizing()
virtual void set_update_rate(uint16_t speed_hz)=0
#define AP_MOTORS_HELI_RSC_RAMP_TIME
T apply(T sample, float dt)