Landing gear control library.
#define AP_LANDINGGEAR_SERVO_RETRACT_PWM_DEFAULT
AP_Int16 _servo_retract_pwm
void init()
initialise state of landing gear
void retract()
retract - retract landing gear
Class managing the control of landing gear.
#define AP_GROUPINFO(name, idx, clazz, element, def)
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
void deploy()
deploy - deploy the landing gear
static const struct AP_Param::GroupInfo var_info[]
static void set_output_pwm(SRV_Channel::Aux_servo_function_t function, uint16_t value)
AP_Int8 _startup_behaviour
LandingGearStartupBehaviour
#define AP_LANDINGGEAR_SERVO_DEPLOY_PWM_DEFAULT
AP_Int16 _servo_deploy_pwm
void set_position(LandingGearCommand cmd)
set landing gear position to retract, deploy or deploy-and-keep-deployed