DJIFlightController(DJIFlightOrientationMode)
@interface DJIFlightController (DJIFlightOrientationMode)
This class provides method to set flight orientation mode of the flight controller. Also, it provides a method for you to lock the current heading of the aircraft as the Course Lock.
-
Sets the aircraft flight orientation relative to the Aircraft Heading, Course Lock, or Home Lock. See the Flight Controller User Guide for more information about flight orientation.
Declaration
Objective-C
- (void)setFlightOrientationMode:(DJIFlightOrientationMode)type withCompletion:(DJICompletionBlock)completion;
-
Locks the current heading of the aircraft as the Course Lock. Used when Flight Orientation Mode is
DJIFlightOrientationModeCourseLock
.Declaration
Objective-C
- (void)lockCourseUsingCurrentDirectionWithCompletion: (DJICompletionBlock)completion;