feat: 处理机械臂运动速度
This commit is contained in:
parent
b2593bf857
commit
b37785b0a2
@ -349,8 +349,8 @@ function handler(params) {
|
||||
{ name: "rx", type: "input", input: "", disabled: true },
|
||||
{ name: "ry", type: "input", input: "", disabled: true },
|
||||
{ name: "rz", type: "input", input: "", disabled: true },
|
||||
{ name: "velocity", type: "input", componentType: 'number', max: 5, step: 0.1, input: 0, disabled: true },
|
||||
{ name: "acceleration", type: "input", componentType: 'number', max: 5, step: 0.1, input: 0, disabled: true },
|
||||
{ name: "velocity", type: "input", componentType: 'number', max: 5, step: 0.01, input: 0.1, disabled: true },
|
||||
{ name: "acceleration", type: "input", componentType: 'number', max: 5, step: 0.01, input: 0.2, disabled: true },
|
||||
],
|
||||
outputType: 'json'
|
||||
},
|
||||
@ -364,8 +364,8 @@ function handler(params) {
|
||||
nodeParams: [
|
||||
{ name: "deviceId", type: "input", input: "", disabled: true },
|
||||
{ name: "target", type: "input", input: "[0, 0, 0, 0, 0, 0]", disabled: true },
|
||||
{ name: "velocity", type: "input", componentType: 'number', max: 5, step: 0.1, input: 0.5, disabled: true },
|
||||
{ name: "acceleration", type: "input", componentType: 'number', max: 5, step: 0.1, input: 1, disabled: true },
|
||||
{ name: "velocity", type: "input", componentType: 'number', max: 5, step: 0.01, input: 0.1, disabled: true },
|
||||
{ name: "acceleration", type: "input", componentType: 'number', max: 5, step: 0.01, input: 0.2, disabled: true },
|
||||
],
|
||||
outputType: 'json'
|
||||
},
|
||||
|
||||
@ -179,6 +179,7 @@ onMounted(() => {
|
||||
|
||||
.robot-container {
|
||||
max-height: 50%;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
.robot-state {
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
<el-table-column label="类型" prop="robotType" width="120">
|
||||
<template #default="{ row }">{{ robotTypeLabel(row.robotType) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="180" fixed="right">
|
||||
<el-table-column label="操作" width="220" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button link type="primary" icon="View" :disabled="!row.robotId" @click="openDevices(row)">设备</el-button>
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(row)">编辑</el-button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user