| | |
| | | |
| | | this.calcDynamicNodeWhenBoot(); |
| | | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | |
| | | this.calcWaveScope(); |
| | | |
| | | try { Thread.sleep(500); } catch (InterruptedException ignore) {} |
| | | } |
| | | // while (!Thread.currentThread().isInterrupted()) { |
| | | // |
| | | // this.calcWaveScope(); |
| | | // |
| | | // try { Thread.sleep(500); } catch (InterruptedException ignore) {} |
| | | // } |
| | | |
| | | }); |
| | | } |
| | |
| | | } |
| | | |
| | | stopWatch.stop(); |
| | | if (stopWatch.getTime() > 50) { |
| | | if (stopWatch.getTime() > 100) { |
| | | log.info("滤波函数花费时间为:{}毫秒......", stopWatch.getTime()); |
| | | } |
| | | |
| | |
| | | if (null == agvDetail) { |
| | | return; |
| | | } |
| | | if (agvDetail.getPos() == null || agvDetail.getPos() != 1) { |
| | | if (agvDetail.getPos() == null) { |
| | | return; |
| | | } |
| | | Long recentCode = agvDetail.getRecentCode(); |