| | |
| | | .outOfControlAction(waylineJob.getOutOfControlAction()) |
| | | .rthMode(waylineJob.getRthMode()) |
| | | .file(WaylineTaskFileDTO.builder() |
| | | .url(url.toString()) |
| | | .url(url.toString().replace("https//192.168.10.103:9001", "http//192.168.10.103:9002")) |
| | | // .fingerprint(waylineFile.get().getSign()) |
| | | .fingerprint(md5) |
| | | .build()) |
| | | // .simulateMission(WaylineSimulateMissionDTO.builder() |
| | | // .isEnable(1) |
| | | // .latitude(46.558831038) |
| | | // .longitude(125.148072319) |
| | | // .latitude(46.55819013988211) |
| | | // .longitude(125.14652370145113) |
| | | // .build()) |
| | | .build(); |
| | | |
| | |
| | | // url = new URL(ardRouteOpt.getUpPath()); |
| | | |
| | | Map<String, Object> jsonResourceGet = new HashMap<>(); |
| | | jsonResourceGet.put("url", url.toString()); |
| | | jsonResourceGet.put("url", url.toString().replace("https//192.168.10.103:9001", "http//192.168.10.103:9002")); |
| | | jsonResourceGet.put("fingerprint", md5); |
| | | |
| | | builder.data(RequestsReply.success(WaylineTaskCreateDTO.builder() |