Firmware
Classes | Public Types | Public Attributes | List of all members
vmount::ControlData Struct Reference

This defines the common API between an input and an output of the vmount driver. More...

#include <common.h>

Classes

union  TypeData
 

Public Types

enum  Type : uint8_t { Type::Neutral = 0, Type::Angle, Type::LonLat }
 

Public Attributes

Type type = Type::Neutral
 
union vmount::ControlData::TypeData type_data
 
bool stabilize_axis [3] = { false, false, false }
 whether the vmount driver should stabilize an axis (if the output supports it, this can also be done externally)
 
bool gimbal_shutter_retract = false
 whether to lock the gimbal (only in RC output mode)
 

Detailed Description

This defines the common API between an input and an output of the vmount driver.

Each output must support the (full) set of the commands, and an input can create all or a subset of the types.

Member Enumeration Documentation

§ Type

enum vmount::ControlData::Type : uint8_t
strong
Enumerator
Neutral 

move to neutral position

Angle 

control the roll, pitch & yaw angle directly

LonLat 

control via lon, lat


The documentation for this struct was generated from the following file: