{
"actionID":0,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"START_STOP_FLY",
"flyControlParam":{
"isStartFly":false
}
},
"subActuatorIndex":0
},
"trigger":{
"reachPointParam":{
"autoTerminateCount":0,
"startIndex":0
},
"triggerType":"REACH_POINT"
}
},
{
"actionID":0,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"ROTATE_YAW",
"rotateYawParam":{
"direction":"CLOCKWISE",
"isRelative":false,
"yawAngle":0
}
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":0,
"associateType":"AFTER_FINISHED",
"waitingTime":0
},
"triggerType":"ASSOCIATE"
}
},
{
"actionID":1,
"actuator":{
"actuatorIndex":0,
"actuatorType":"GIMBAL",
"gimbalActuatorParam":{
"operationType":"ROTATE_GIMBAL",
"rotation":{
"ignore":false,
"mode":"ABSOLUTE_ANGLE",
"pitch":0,
"roll":0,
"time":1.5,
"yaw":0
}
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":0,
"associateType":"AFTER_FINISHED",
"waitingTime":0
},
"triggerType":"ASSOCIATE"
}
},
{
"actionID":2,
"actuator":{
"actuatorIndex":0,
"actuatorType":"CAMERA",
"cameraActuatorParam":{
"cameraOperationType":"SHOOT_SINGLE_PHOTO",
"retryTimes":0
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":1,
"associateType":"AFTER_FINISHED",
"waitingTime":0
},
"triggerType":"ASSOCIATE"
}
},
{
"actionID":3,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"START_STOP_FLY",
"flyControlParam":{
"isStartFly":true
}
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":2,
"associateType":"AFTER_FINISHED",
"waitingTime":4
},
"triggerType":"ASSOCIATE"
}
}
上面是第一点动作组合,到达到第一个点组合动作没有执行不知道什么原因
{
"actionID":23,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"ROTATE_YAW",
"rotateYawParam":{
"direction":"CLOCKWISE",
"isRelative":false,
"yawAngle":0
}
},
"subActuatorIndex":0
},
"trigger":{
"reachPointParam":{
"autoTerminateCount":5,
"startIndex":5
},
"triggerType":"REACH_POINT"
}
},
{
"actionID":24,
"actuator":{
"actuatorIndex":0,
"actuatorType":"GIMBAL",
"gimbalActuatorParam":{
"operationType":"ROTATE_GIMBAL",
"rotation":{
"ignore":false,
"mode":"ABSOLUTE_ANGLE",
"pitch":0,
"roll":0,
"time":1.5,
"yaw":0
}
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":23,
"associateType":"AFTER_FINISHED",
"waitingTime":0
},
"triggerType":"ASSOCIATE"
}
}
这个是最后一个点的动作组和,都是用同样的组合逻辑,中间的几个动作都顺序执行,但是第一和最后一个点不执行,恳请各位大神帮忙看看这两个航点动作组合有啥问题跪求谢谢
|