|
|
|
@ -477,8 +477,8 @@ void GimbalController::sendPitchBodyYaw(float pitch, float yaw, bool showError)
@@ -477,8 +477,8 @@ void GimbalController::sendPitchBodyYaw(float pitch, float yaw, bool showError)
|
|
|
|
|
showError, |
|
|
|
|
pitch, |
|
|
|
|
yaw, |
|
|
|
|
0, |
|
|
|
|
0, |
|
|
|
|
NAN, |
|
|
|
|
NAN, |
|
|
|
|
flags, |
|
|
|
|
0, |
|
|
|
|
_activeGimbal->deviceId()->rawValue().toUInt()); |
|
|
|
@ -510,8 +510,8 @@ void GimbalController::sendPitchAbsoluteYaw(float pitch, float yaw, bool showErr
@@ -510,8 +510,8 @@ void GimbalController::sendPitchAbsoluteYaw(float pitch, float yaw, bool showErr
|
|
|
|
|
showError, |
|
|
|
|
pitch, |
|
|
|
|
yaw, |
|
|
|
|
0, |
|
|
|
|
0, |
|
|
|
|
NAN, |
|
|
|
|
NAN, |
|
|
|
|
flags, |
|
|
|
|
0, |
|
|
|
|
_activeGimbal->deviceId()->rawValue().toUInt()); |
|
|
|
@ -558,8 +558,8 @@ void GimbalController::sendPitchYawFlags(uint32_t flags)
@@ -558,8 +558,8 @@ void GimbalController::sendPitchYawFlags(uint32_t flags)
|
|
|
|
|
true, |
|
|
|
|
_activeGimbal->absolutePitch()->rawValue().toFloat(), |
|
|
|
|
yaw_in_vehicle_frame ? _activeGimbal->bodyYaw()->rawValue().toFloat() : _activeGimbal->absoluteYaw()->rawValue().toFloat(), |
|
|
|
|
static_cast<float>(qQNaN()), |
|
|
|
|
static_cast<float>(qQNaN()), |
|
|
|
|
NAN, |
|
|
|
|
NAN, |
|
|
|
|
flags, |
|
|
|
|
0, |
|
|
|
|
_activeGimbal->deviceId()->rawValue().toUInt()); |
|
|
|
|