| | |
| | | import com.dji.sample.component.mqtt.model.CommonTopicReceiver; |
| | | import com.dji.sample.control.model.enums.DroneAuthorityEnum; |
| | | import com.dji.sample.control.model.param.*; |
| | | import com.dji.sample.wayline.model.param.PointPOJO; |
| | | import org.springframework.messaging.MessageHeaders; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author sean |
| | |
| | | */ |
| | | ResponseResult payloadCommands(PayloadCommandsParam param) throws Exception; |
| | | |
| | | ResponseResult payloadCommands(PayloadCommandsParam param,String bid) throws Exception; |
| | | |
| | | ResponseResult requestsConfig(String sn,String method, RequestsParam param); |
| | | |
| | | /** |
| | |
| | | */ |
| | | ResponseResult takePhoto(String sn,String payloadIndex) throws Exception; |
| | | |
| | | /** |
| | | * 飞向下一个目标点 |
| | | * @param targetList 目标点集合 |
| | | * @param curIndex 当前飞行点索引 |
| | | * @param sn |
| | | * @param payloadIndex 负载 |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResponseResult flyToNextPoint(List<PointPOJO> targetList, int curIndex, String sn, String payloadIndex) throws Exception; |
| | | |
| | | } |