mavsdk::Gimbal::ControlStatus Struct Reference ​
#include: gimbal.h
Control status.
Data Fields ​
int32_t gimbal_id {} - Gimbal ID.
ControlMode control_mode {} - Control mode (none, primary or secondary)
int32_t sysid_primary_control {} - Sysid of the component that has primary control over the gimbal (0 if no one is in control)
int32_t compid_primary_control {} - Compid of the component that has primary control over the gimbal (0 if no one is in control)
int32_t sysid_secondary_control {} - Sysid of the component that has secondary control over the gimbal (0 if no one is in control)
int32_t compid_secondary_control {} - Compid of the component that has secondary control over the gimbal (0 if no one is in control)
Field Documentation ​
gimbal_id ​
int32_t mavsdk::Gimbal::ControlStatus::gimbal_id {}
Gimbal ID.
control_mode ​
ControlMode mavsdk::Gimbal::ControlStatus::control_mode {}
Control mode (none, primary or secondary)
sysid_primary_control ​
int32_t mavsdk::Gimbal::ControlStatus::sysid_primary_control {}
Sysid of the component that has primary control over the gimbal (0 if no one is in control)
compid_primary_control ​
int32_t mavsdk::Gimbal::ControlStatus::compid_primary_control {}
Compid of the component that has primary control over the gimbal (0 if no one is in control)
sysid_secondary_control ​
int32_t mavsdk::Gimbal::ControlStatus::sysid_secondary_control {}
Sysid of the component that has secondary control over the gimbal (0 if no one is in control)
compid_secondary_control ​
int32_t mavsdk::Gimbal::ControlStatus::compid_secondary_control {}
Compid of the component that has secondary control over the gimbal (0 if no one is in control)