Closed dingpwen closed 3 years ago
I try to use following code:
DJIWaypointV2AircraftControlParam acParam = [[DJIWaypointV2AircraftControlParam alloc]init]; acParam.operationType = DJIWaypointV2ActionActuatorAircraftControlOperationTypeFlyingControl; DJIWaypointV2AircraftControlFlyingParam flyParam = [[DJIWaypointV2AircraftControlFlyingParam alloc]init]; flyParam.isStartFlying = NO; acParam.flyControlParam = flyParam; action.actuator.aircraftControlActuatorParam = acParam;
But, i cannot set the staying time for the action!
I got it, 通过与DJIWaypointV2ActionTriggerTypeActionAssociated 集合使用,麻烦!
I try to use following code:
DJIWaypointV2AircraftControlParam acParam = [[DJIWaypointV2AircraftControlParam alloc]init]; acParam.operationType = DJIWaypointV2ActionActuatorAircraftControlOperationTypeFlyingControl; DJIWaypointV2AircraftControlFlyingParam flyParam = [[DJIWaypointV2AircraftControlFlyingParam alloc]init]; flyParam.isStartFlying = NO; acParam.flyControlParam = flyParam; action.actuator.aircraftControlActuatorParam = acParam;
But, i cannot set the staying time for the action!