Comments

1 comment

  • DJI Developer Support
    创建航点时,通过 setHeading 方法设置 heading 值,并且需要设置 headingMode 为 WAYPOINT_CUSTOM,只有在这个模式下,heading 属性才会生效。 WaypointActuator waypointActionActuator = new WaypointActuator.Builder() .setActuatorType(ActionTypes.ActionActuatorType.AIRCRAFT_CONTROL) .setAircraftControlActuatorParam(new WaypointAircraftControlParam.Builder() .setAircraftControlType(ActionTypes.AircraftControlType.ROTATE_YAW) .setRotateYawParam(new WaypointAircraftControlRotateYawParam.Builder() .setYawAngle(32) .setRelative(true) .setDirection(WaypointV2MissionTypes.WaypointV2TurnMode.CLOCKWISE) .build()) .build()) .build();
    0
    Comment actions Permalink

Please sign in to leave a comment.