| | |
| | | public UavRouteReq initialization(UavRouteReq uavRouteReq){ |
| | | uavRouteReq.setTemplateType("waypoint"); |
| | | // 起始点默认航线第一个点 |
| | | if (uavRouteReq.getTakeOffRefPoint().isEmpty()){ |
| | | if (uavRouteReq.getTakeOffRefPoint() == null){ |
| | | uavRouteReq.setTakeOffRefPoint( |
| | | uavRouteReq.getRoutePointList().get(0).getLatitude() + "," + |
| | | uavRouteReq.getRoutePointList().get(0).getLongitude() + "," + "0"); |
| | |
| | | // ardRoutePoints1.setLon(103.75851462); |
| | | // ardRoutePoints1.setSafeGohomeFlag(0); |
| | | // ardRoutePoints1.setSpeed(8); |
| | | // |
| | | // |
| | | // } |
| | | |
| | | // private ArdRouteActions buildArdRouteActions(){ |