| | |
| | | agvId, // AGV |
| | | now // 工作时间 |
| | | )); |
| | | log.info("TurnCorner posType={}, code={}, corner={}, nextDirection={}, finalAngle={}", |
| | | Objects.requireNonNull(TaskPosDto.queryPosType(segment.getPosType())), |
| | | lastCode.getData(), |
| | | lastCode.getCornerBool(), |
| | | nextDirection, |
| | | 180); |
| | | } else { |
| | | // turn |
| | | actionList.add(new Action( |
| | |
| | | agvId, // AGV |
| | | now // 工作时间 |
| | | )); |
| | | log.info("TurnCorner posType={}, code={}, corner={}, nextDirection={}, finalAngle={}", |
| | | Objects.requireNonNull(TaskPosDto.queryPosType(segment.getPosType())), |
| | | lastCode.getData(), |
| | | lastCode.getCornerBool(), |
| | | nextDirection, |
| | | nextDirection); |
| | | } |
| | | lastDirection = nextDirection; |
| | | } |
| | |
| | | agvId, // AGV |
| | | now // 工作时间 |
| | | )); |
| | | log.info("TurnCorner posType={}, code={}, corner={}, nextDirection={}, finalAngle={}", |
| | | Objects.requireNonNull(TaskPosDto.queryPosType(segment.getPosType())), |
| | | lastCode.getData(), |
| | | lastCode.getCornerBool(), |
| | | nextDirection, |
| | | 180); |
| | | } |
| | | } |
| | | } |
| | |
| | | agvId, // AGV |
| | | now // 工作时间 |
| | | )); |
| | | log.info("TurnCorner posType={}, code={}, corner={}, nextDirection={}, finalAngle={}", |
| | | Objects.requireNonNull(TaskPosDto.queryPosType(segment.getPosType())), |
| | | lastCode.getData(), |
| | | lastCode.getCornerBool(), |
| | | nextDirection, |
| | | nextDirection); |
| | | |
| | | lastDirection = nextDirection; |
| | | } |
| | |
| | | agvId, // AGV |
| | | now // 工作时间 |
| | | )); |
| | | log.info("TurnCorner posType={}, code={}, corner={}, nextDirection={}, finalAngle={}", |
| | | Objects.requireNonNull(TaskPosDto.queryPosType(segment.getPosType())), |
| | | lastCode.getData(), |
| | | lastCode.getCornerBool(), |
| | | null, |
| | | turnDirection); |
| | | lastDirection = workDirection; |
| | | } |
| | | } |