Strange. While this code is working:
resp = self.drone(gimbal.set_target(
gimbal_id=0,
control_mode="position",
yaw_frame_of_reference="none",
yaw=0.0,
pitch_frame_of_reference="relative",
pitch=angle_deg,
roll_frame_of_reference="none",
roll=0.0,
_timeout=5
)).wait()
print(resp.explain())
…and pitching the camera up and down according to angle_deg
, I can’t make the same working in order to achieve a rotation on yaw
:
resp = self.drone(gimbal.set_target(
gimbal_id=0,
control_mode="position",
yaw_frame_of_reference="relative",
yaw=30.0,
pitch_frame_of_reference="none",
pitch=0.0,
roll_frame_of_reference="none",
roll=0.0,
_timeout=5
)).wait()
print(resp.explain())
The resp
is in both cases gimbal.set_target has been sent and acknowledged.
, just nothing happens to the camera.
What am I missing?