28 bool hasRollAxis =
true,
29 bool hasPitchAxis =
true,
30 bool hasYawAxis =
true,
31 bool hasYawFollow =
true,
32 bool hasYawLock =
true,
33 bool hasRetract =
true,
34 bool hasNeutral =
true);
61 void _sendGimbalManagerStatus();
62 void _sendGimbalDeviceAttitudeStatus();
63 void _sendGimbalManagerInformation();
64 void _sendCommandAck(uint16_t command, uint8_t result);
66 static constexpr uint8_t kGimbalCompId = MAV_COMP_ID_GIMBAL;
67 static constexpr int kDefaultIntervalUs = 1000000;
70 int _managerStatusIntervalUs = 0;
71 int _deviceAttitudeStatusIntervalUs = 0;
72 qint64 _managerStatusLastSentMs = 0;
73 qint64 _deviceAttitudeStatusLastSentMs = 0;
79 bool _manualControl =
false;
87 uint8_t _gimbalManagerSysidPrimary = 0;
88 uint8_t _gimbalManagerCompidPrimary = 0;
89 uint8_t _gimbalManagerSysidSecondary = 0;
90 uint8_t _gimbalManagerCompidSecondary = 0;
93 bool _hasRollAxis =
true;
94 bool _hasPitchAxis =
true;
95 bool _hasYawAxis =
true;
96 bool _hasYawFollow =
true;
97 bool _hasYawLock =
true;
98 bool _hasRetract =
true;
99 bool _hasNeutral =
true;