8 #ifndef _UGCS_VSM_CAMERA_CONTROL_ACTION_H_
9 #define _UGCS_VSM_CAMERA_CONTROL_ACTION_H_
25 tilt(tilt), roll(roll), yaw(yaw),
zoom(
zoom) {}
33 p.at(
"tilt")->Get_value(
tilt);
34 p.at(
"roll")->Get_value(
roll);
35 p.at(
"yaw")->Get_value(
yaw);
36 p.at(
"zoom_level")->Get_value(
zoom);
MAVLink protocol messages.
Definition: property.h:250
Camera_control_action type
Real type.
Definition: camera_control_action.h:62
double zoom
Device specific camera zoom level.
Definition: camera_control_action.h:55
Type
Types of vehicle actions as part of task (mission).
Definition: action.h:30
Camera_control_action(const Property_list &p)
Construct action from protobuf command.
Definition: camera_control_action.h:30
Generic action.
Definition: action.h:22
Map Action type enum value to specific Action type class.
Definition: action.h:120
Camera control action.
Definition: camera_control_action.h:18
#define DEFINE_COMMON_CLASS(__class_name,...)
Use this macro to define some common attributes for a class.
Definition: utils.h:25
double roll
Target camera roll value in radians: [-Pi/2, Pi/2], where -Pi/2 stands for left and Pi/2 for right...
Definition: camera_control_action.h:47
double tilt
Target camera tilt value in radians: [-Pi/2, Pi/2], where -Pi/2 stands for looking backward...
Definition: camera_control_action.h:42
double yaw
Target camera yaw value in radians: [-Pi/2, Pi/2], where -Pi/2 stands for left and Pi/2 for right...
Definition: camera_control_action.h:52