How to control the gimbal of Anafi through Olympe?

Hi there,

I confronted the same problem as https://forum.developer.parrot.com/t/how-to-control-gimbal-from-olympe-script/9421 showed 4 years ago… I can control the gimbal orientation via skycontroller, and reset the gimbal orientation through olympe. However, I cannot control it via python-olympe by using the code as follows:

drone(gimbal.set_target(
    gimbal_id=0,
    control_mode="position",
    yaw_frame_of_reference="absolute",
    yaw=0.0,
    pitch_frame_of_reference="absolute",
    pitch=45.0,
    roll_frame_of_reference="absolute",
    roll=0.0,
)).wait()

which is strictly the same as https://forum.developer.parrot.com/t/how-to-control-gimbal-from-olympe-script/9421 met before…can anybody help me?

BTW, if anyone is working or playing with anafi_ros and anafi_autonomy, please let me know. We can discuss about it~

Hi. I have some experience using anafi_ros and anafi_autonomy

This topic was automatically closed after 30 days. New replies are no longer allowed.