建图
This commit is contained in:
@@ -80,7 +80,7 @@ export default {
|
||||
theta: 0.9073792099952698, // 车辆航向角
|
||||
x: 0.004027, // 车辆x坐标
|
||||
y: -0.001812, // 车辆y坐标
|
||||
task_seq: '点位1-点位2-顶顶位3-point layout location-顶地方的方法顶顶顶点位3',
|
||||
task_seq: '点位1,点位2,work point 3,顶地方的方法顶顶顶点位3',
|
||||
task_point: '点位2',
|
||||
anomalyLevel: 1,
|
||||
errorData: [
|
||||
@@ -127,7 +127,7 @@ export default {
|
||||
created () {
|
||||
// this.$store.dispatch('setAgvObj', this.topInfo)
|
||||
// if (this.topInfo.task_seq) {
|
||||
// this.taskSeq = this.topInfo.task_seq.split('-')
|
||||
// this.taskSeq = this.topInfo.task_seq.split(',')
|
||||
// const target = this.topInfo.task_point
|
||||
// this.currentStep = this.taskSeq.findIndex(item => item === target)
|
||||
// } else {
|
||||
@@ -212,7 +212,7 @@ export default {
|
||||
if (this.reconnectTimer) clearTimeout(this.reconnectTimer)
|
||||
this.topInfo = res.data
|
||||
if (this.topInfo.task_seq) {
|
||||
this.taskSeq = this.topInfo.task_seq.split('-')
|
||||
this.taskSeq = this.topInfo.task_seq.split(',')
|
||||
const target = this.topInfo.task_point
|
||||
this.currentStep = this.taskSeq.findIndex(item => item === target)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user