You can call reset method from Gimbal class to make the gimbal reset to middle.
- void reset(@Nullable final CompletionCallback callback), this method is used with unchangeable gimbal product.
- void reset(Axis axis, ResetDirection resetDirection, @Nullable final CompletionCallback callback), this method is used with changeable gimbal product.
Note: Some aircraft's gimbal have special design. The first time you call reset function will change the pitch to 90 degrees and the other roll and yaw angles stay 0 degree. The second time you call reset function will turn the gimbal to zero degree for pitch, roll and yaw angle.
Comments
0 comments
Please sign in to leave a comment.