| | |
| | | package com.ard.sample.wayline.model.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | |
| | | * @version 1.1 |
| | | * @date 2022/6/1 |
| | | */ |
| | | // 序列化时忽略所有 null 字段 |
| | | @JsonInclude(JsonInclude.Include.NON_NULL) |
| | | @Data |
| | | @Builder |
| | | @AllArgsConstructor |
| | |
| | | * 航线精度类型 "0":"GPS 任务","1":"高精度 RTK 任务" |
| | | * 不确定是不是wayline_precision_type属性, |
| | | * */ |
| | | // @JsonProperty("wayline_precision_type") |
| | | @JsonProperty("wayline_precision_type") |
| | | private Integer waylineType; |
| | | |
| | | /** |
| | |
| | | private Integer rthAltitude; |
| | | |
| | | /** |
| | | * 返航高度模式 "0":"智能高度","1":"设定高度" |
| | | * 智能返航模式下,飞行器将自动规划最佳返航高度。大疆机场当前不支持设置返航高度模式, |
| | | * 只能选择'设定高度'模式。当环境,光线不满足视觉系统要求时(譬如傍晚阳光直射、夜间弱光无光), |
| | | * 飞行器将使用您设定的返航高度进行直线返航 |
| | | * */ |
| | | @JsonProperty("rth_mode") |
| | | private Integer rthMode; |
| | | |
| | | /** |
| | | * 遥控器失控动作 "0":"返航","1":"悬停","2":"降落" |
| | | * 失控动作,当前固定传的值是 0,即返航。注意该枚举值定义跟飞控跟机场定义的不一致,机场端会进行转换。 |
| | | * */ |
| | | @JsonProperty("out_of_control_action") |
| | | private Integer outOfControlAction; |
| | | |
| | | @JsonProperty("simulate_mission") |
| | | private WaylineSimulateMissionDTO simulateMission; |
| | | // @JsonProperty("simulate_mission") |
| | | // private WaylineSimulateMissionDTO simulateMission; |
| | | } |