MAV'RIC
Public Member Functions | Public Attributes
Gimbal_controller Class Reference
Collaboration diagram for Gimbal_controller:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Gimbal_controller (Servo &servo_pitch, Servo &servo_yaw, const gimbal_controller_conf_t config=gimbal_controller_default_config())
 Constructor.
bool update (void)
 Main update function - sends gimbal command to two PWM outputs (for pitch and yaw)

Public Attributes

attitude_command_t attitude_command_desired_
 Attitude command (input from head-tracker)

Constructor & Destructor Documentation

Gimbal_controller::Gimbal_controller ( Servo servo_pitch,
Servo servo_yaw,
const gimbal_controller_conf_t  config = gimbal_controller_default_config() 
)

Constructor.

Parameters:
servo_pitchServo for pitch
servo_yawServo for yaw
configConfiguration structure

Member Function Documentation

bool Gimbal_controller::update ( void  )

Main update function - sends gimbal command to two PWM outputs (for pitch and yaw)

Returns:
success

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines