This class represents an aircraft yaw rotation action to be scheduled on the Mission Control timeline. By creating an object of this class and adding it to the timeline, an aircraft will rotate around yaw by the specified angle with the specified speed when the Timeline reaches the action.
Initialize with a yaw angle relative to current heading and an angular velocity. The angular velocity has a range of [0, 100] degrees/s and a default value of 20 degrees/s.
Initialize with a yaw angle relative to current heading or absolute heading against true north. The range of angle is [-180, 180]. This initializer should be preferred when accuracy of the angle is more of a priority than smooth yaw movement.
Input Parameters:
float angle
Angle in degrees.
boolean isAbsolute
true means angle is the absolute heading against true north. false means angle is relative to the current heading.
Sets the time you want to delay before element execution which is used for asynchronous processing scenarios. For example, if you want to execute GimbalAttitudeAction after ShootPhotoAction, you should set delay time in GimbalAttitudeAction. Because it takes 1 to 2 seconds to take a photo, the gimbal's commands will not be responded during this period, so we need to delay 2 seconds before turning the gimbal to ensure that the gimbal movement is executed correctly.
Input Parameters:
long delayTime
The time you want to delay before element execution, unit:second.