云台数据只能get yaw angle 吗,能否get pitch roll的数据
Completed想要监听并存储云台三个角度数据,如果可以该如何实现
-
您可以用云台的setStateCallback获取GimbalState,在用GimbalState中的getAttitudeInDegrees获取云台三轴数据。 https://developer.dji.com/api-reference/android-api/Components/Gimbal/DJIGimbal.html#djigimbal_setgimbalstateupdatecallback_inline https://developer.dji.com/api-reference/android-api/Components/Gimbal/DJIGimbal_GimbalState.html#djigimbal_gimbalstate_attitude_inline
Please sign in to leave a comment.
Comments
1 comment