大疆社区
标题:
M300动作上传执行的问题
[打印本页]
作者:
liuenlei
时间:
2020-10-14
标题:
M300动作上传执行的问题
{
"actionID":0,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"ROTATE_YAW",
"rotateYawParam":{
"direction":"CLOCKWISE",
"isRelative":false,
"yawAngle":0
}
},
"subActuatorIndex":0
},
"trigger":{
"reachPointParam":{
"autoTerminateCount":0,
"startIndex":0
},
"triggerType":"REACH_POINT"
}
},
{
"actionID":1,
"actuator":{
"actuatorIndex":0,
"actuatorType":"GIMBAL",
"gimbalActuatorParam":{
"operationType":"AIRCRAFT_CONTROL_GIMBAL",
"rotation":{
"ignore":false,
"mode":"ABSOLUTE_ANGLE",
"pitch":0,
"roll":0,
"time":1.5,
"yaw":0
}
},
"subActuatorIndex":0
},
"trigger":{
"trajectoryParam":{
"endIndex":1,
"startIndex":0
},
"triggerType":"TRAJECTORY"
}
},
{
"actionID":2,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"START_STOP_FLY",
"flyControlParam":{
"isStartFly":false
}
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":1,
"associateType":"SIMULTANEOUSLY",
"waitingTime":0
},
"triggerType":"ASSOCIATE"
}
},
{
"actionID":3,
"actuator":{
"actuatorIndex":0,
"actuatorType":"CAMERA",
"cameraActuatorParam":{
"cameraOperationType":"SHOOT_SINGLE_PHOTO",
"retryTimes":0
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":2,
"associateType":"AFTER_FINISHED",
"waitingTime":0
},
"triggerType":"ASSOCIATE"
}
},
{
"actionID":4,
"actuator":{
"actuatorIndex":0,
"actuatorType":"AIRCRAFT_CONTROL",
"aircraftControlActuatorParam":{
"aircraftControlType":"START_STOP_FLY",
"flyControlParam":{
"isStartFly":true
}
},
"subActuatorIndex":0
},
"trigger":{
"associateParam":{
"associateActionID":3,
"associateType":"AFTER_FINISHED",
"waitingTime":4
},
"triggerType":"ASSOCIATE"
}
}
上面是上传航线里一个点的一套动作,这个点其他动作都执行了但是就悬停这个动作没有执行,后面点的动作组合和这个点组合的模式一样,悬停动作都未执行,求各位大神什么原因
作者:
DJI-William
时间:
2020-10-14
你这个悬停得动作怎么是ASSOCIATE(SIMULTANEOUSLY)到转动云台的那个动作,而且他是TRAJECTORY啊。TRAJECTORY你设置的是从点0飞往点1的时候做。你这不是矛盾吗。建议悬停设置在ASSOCIATE(AFTER_FINISHED)或者REACH_POINT后。你看看我们的Sample是怎么写的,并且试一下。
欢迎光临 大疆社区 (https://bbs.dji.com/)
Powered by Discuz! X3.2