| | |
| | | avoidWaveCalculator.calcDynamicNodeWhenBoot(); |
| | | |
| | | // AgvDetail agvDetail11 = agvDetailService.selectByAgvNo("11"); |
| | | // agvDetail11.setCode(codeService.selectByData("00000251").getId()); |
| | | // agvDetail11.setCode(codeService.getCacheByData("00000251").getId()); |
| | | // agvDetailService.updateById(agvDetail11); |
| | | // |
| | | // AgvDetail agvDetail12 = agvDetailService.selectByAgvNo("12"); |
| | | // agvDetail12.setCode(codeService.selectByData("00000204").getId()); |
| | | // agvDetail12.setCode(codeService.getCacheByData("00000204").getId()); |
| | | // agvDetailService.updateById(agvDetail12); |
| | | // |
| | | // AgvDetail agvDetail14 = agvDetailService.selectByAgvNo("14"); |
| | | // agvDetail14.setCode(codeService.selectByData("00000101").getId()); |
| | | // agvDetail14.setCode(codeService.getCacheByData("00000101").getId()); |
| | | // agvDetailService.updateById(agvDetail14); |
| | | // |
| | | // avoidWaveCalculator.calcDynamicNodeWhenBoot(); |
| | | // |
| | | // mainLockWrapService.buildMinorTask(agvService.getById(agvDetail14.getAgvId()), TaskTypeType.MOVE, |
| | | // codeService.selectByData("00000303").getData(), null); |
| | | // codeService.getCacheByData("00000303").getData(), null); |
| | | // mainLockWrapService.buildMinorTask(agvService.getById(agvDetail11.getAgvId()), TaskTypeType.MOVE, |
| | | // codeService.selectByData("00000411").getData(), null); |
| | | // codeService.getCacheByData("00000411").getData(), null); |
| | | // mainLockWrapService.buildMinorTask(agvService.getById(agvDetail12.getAgvId()), TaskTypeType.MOVE, |
| | | // codeService.selectByData("00000403").getData(), null); |
| | | // codeService.getCacheByData("00000403").getData(), null); |
| | | |
| | | return R.ok(); |
| | | } |
| | |
| | | public R astarDemo() { |
| | | long startTime = System.currentTimeMillis(); |
| | | List<String> path = mapService.checkoutPath("18" |
| | | , codeService.selectByData("00001318") |
| | | , codeService.selectByData("00003447") |
| | | , codeService.getCacheByData("00001318") |
| | | , codeService.getCacheByData("00003447") |
| | | , true |
| | | , new ArrayList<>() |
| | | , segmentService.getById(1390)); |