| | |
| | | package safeluck.drive.evaluation.routecollect; |
| | | |
| | | import safeluck.drive.evaluation.fragment.TrainFragment; |
| | | import safeluck.drive.evaluation.routecollect.impl.RouteModel; |
| | | |
| | | /** |
| | |
| | | ICollectView iCollectView; |
| | | RouteModel routeModel; |
| | | |
| | | |
| | | public void RouteCollectController(ICollectView collectView){ |
| | | /** |
| | | * Topic=[bind_rtk_info_map],message={"utc":"20200917081227.40","qf":3,"coord_x":0.974,"coord_x_dir":"N","coord_y":-0.191,"coord_y_dir":"E","heading":315.0,"pitch":0.0,"roll":0.0,"sat_num":14,"latitude":31.174458016666667,"longitude":121.38786518333333,"altitude":58.9666,"speed":1.72591488,"track_ture":315.0} |
| | | * @param collectView |
| | | */ |
| | | public RouteCollectController(ICollectView collectView){ |
| | | this.iCollectView = collectView; |
| | | routeModel = new RouteModel(); |
| | | } |
| | |
| | | } |
| | | |
| | | public void endCollect(){ |
| | | if (iCollectView != null){ |
| | | iCollectView.endCollectView(); |
| | | if (routeModel != null){ |
| | | routeModel.endCollect(); |
| | | } |
| | | } |
| | | |