This class represents a take-off action used as an element in a Timeline mission. By creating an object of this class and adding it to Mission Control's Timeline, the aircraft will take-off when the Timeline reaches the action. Note: This action has 60 seconds TIME_OUT mechanism. Before invoking this action, please make sure the aircraft's motors are turned off.
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.