I have now spent almost a full day trying to control my AnafiThermal Gimbal from a script without any success. I can start and stop the drone. I managed to get the Gimbal moving by sending a reset request to the Gimbal with:
So gimbal messages seems to work. I can also see the Attitude messages with the gimbal location if I turn on debug logging.
I have then tried to control the gimbal with a lot of combinations (mode/reference/values etc…) using the following command (was available in some Olympe example):
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()
The gimbal does not move when I issue the command. If I issue the command connected via the SkyController3 then the tilt function on the handcontroller stops working (so something is happening). I also tried to connect directly to the drone with SkyController3 turned off via WiFi with same result.
I have tested some messages that are not documented in Olympe documentation (olympe.messages.ardrone3.Camera.OrientationV2) but that did not work either…
Have anyone else got this working on a Anafi or do you have any good ideas what to do???