dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
998 stars 580 forks source link

Set Gimble pitch #1268

Closed Vickyxdev closed 8 months ago

Vickyxdev commented 8 months ago

How to set gimble pitch without adding this code: waypoint.addAction(new WaypointAction(WaypointActionType.GIMBAL_PITCH, -90));

dji-dev commented 8 months ago

Agent comment from Hummels Lei in Zendesk ticket #103086:

You mentioned the code is the method to set the gimbal rotation in the waypoint mission. Are you implying that you do not want to rotate the gimbal in the waypoint mission?

°°°

Vickyxdev commented 8 months ago

I want to automatically set the gimbal to -90 degrees once your mission starts, without using a setAction in a waypoint.

dji-dev commented 8 months ago

Agent comment from Hummels Lei in Zendesk ticket #103086:

During the flight of the wayline mission, you can also use Gimbal.rotate to rotate the gimbal. However, please be careful not to conflict the gimbal rotation with waypoint actions.

°°°

Vickyxdev commented 8 months ago

ok thanks