37 #if HAL_SUPPORT_RCOUT_SERIAL 38 AP_BLHeli *SRV_Channels::blheli_ptr;
136 #if HAL_SUPPORT_RCOUT_SERIAL 163 #if HAL_SUPPORT_RCOUT_SERIAL 164 blheli_ptr = &blheli;
234 #if HAL_SUPPORT_RCOUT_SERIAL 236 blheli_ptr->update_telemetry();
241 uint8_t can_num_ifaces = AP_BoardConfig_CAN::get_can_num_ifaces();
242 for (uint8_t i = 0; i < MAX_NUMBER_OF_CAN_DRIVERS && i < can_num_ifaces; i++) {
244 if (ap_uavcan ==
nullptr) {
249 #endif // HAL_WITH_UAVCAN void SRV_push_servos(void)
This must be the last enum value (only add new values before this one)
static struct SRV_Channels::srv_function functions[SRV_Channel::k_nr_aux_servo_functions]
static uint16_t disabled_mask
static AP_SBusOut * sbus_ptr
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#define AP_GROUPINFO(name, idx, clazz, element, def)
static bool disabled_passthrough
SRV_Channel obj_channels[NUM_SERVO_CHANNELS]
static SRV_Channel * channels
static void set_output_pwm_chan(uint8_t chan, uint16_t value)
static AP_UAVCAN * get_uavcan(uint8_t iface)
virtual void set_failsafe_pwm(uint32_t chmask, uint16_t period_us)
SRV_Channel::servo_mask_t trimmed_mask
static const struct AP_Param::GroupInfo var_info[]
#define AP_GROUPINFO_FRAME(name, idx, clazz, element, def, frame_flags)
static void setup_failsafe_trim_all(void)
static Bitmask function_mask
static void output_trim_all(void)
AP_HAL::AnalogSource * chan
#define AP_PARAM_FRAME_PLANE
static SRV_Channels * instance
#define AP_SUBGROUPINFO(element, name, idx, thisclazz, elclazz)
static void calc_pwm(void)
#define NUM_SERVO_CHANNELS
void set_output_pwm(uint16_t pwm)
void calc_pwm(int16_t output_scaled)
static AP_Volz_Protocol * volz_ptr
static void setup_object_defaults(const void *object_pointer, const struct GroupInfo *group_info)