Hi, I have a question regarding gimbal control with the DJI M210 V2. During flight I want to switch back and forth between the gimbal modes 'free' and 'follow'. I know this should by possible by using the Mobile SDK (version latest), however I would like to use the ROS Onboard SDK (version 3.8) for this. When controlling the gimbal by publishing on the topic /dji_sdk/gimbal_angle_cmd, there is an entry in the dji_sdk/Gimbal message where you can specify the mode. By setting this value to 1 or 0, you can switch between absolute en relative control. The message definition (https://github.com/dji-sdk/Onboard-SDK-ROS/blob/3.8/dji_sdk/msg/Gimbal.msg) tells me that I can use other bytes to switch between 'free' and 'follow' mode as well. However, when a provide a value other than 0 or 1, the gimbal doesn't move at all, so I can not get the switching between 'free' and 'follow' to work. Could you provide any insights?
|