正在上传图片(0/1)

M300动作上传执行的问题

 1
手机看帖 1 750
{
        "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 3#
你这个悬停得动作怎么是ASSOCIATE(SIMULTANEOUSLY)到转动云台的那个动作,而且他是TRAJECTORY啊。TRAJECTORY你设置的是从点0飞往点1的时候做。你这不是矛盾吗。建议悬停设置在ASSOCIATE(AFTER_FINISHED)或者REACH_POINT后。你看看我们的Sample是怎么写的,并且试一下。
取消 点赞 评论
分享至:
回复:
上传
取消 评论
快速回复 返回顶部 返回列表