feat: 调整机械臂最大速度
This commit is contained in:
parent
60a73b5264
commit
b1186e5922
@ -11,7 +11,7 @@
|
||||
</el-button>
|
||||
</template>
|
||||
<div class="form__container">
|
||||
<el-button type="primary" v-if="['AGV_MOVE_TO_POINT', 'ALM'].includes(props.data.properties.action)" size="small" @click="openRobotForm(props.data.properties.action)">获取位置</el-button>
|
||||
<el-button type="primary" v-if="['AGV_MOVE_TO_POINT', 'ARM_MOVE_TO_POINT'].includes(props.data.properties.action)" size="small" @click="openRobotForm(props.data.properties.action)">获取位置</el-button>
|
||||
<el-form :inline="true" :model="formData" :rules="rules" ref="dynamicFormRef" label-position="top"
|
||||
label-width="auto">
|
||||
<div v-for="(property, index) in formData.nodeParams" :key="index">
|
||||
|
||||
@ -135,8 +135,8 @@
|
||||
|
||||
<div class="speed-container">
|
||||
<div class="label">速度:</div>
|
||||
<el-slider v-model="speed" :min="0.1" :step="0.1" :max="4" />
|
||||
<div class="proportion">{{( speed / 4 * 100).toFixed(0) }} %</div>
|
||||
<el-slider v-model="speed" :min="0.1" :step="0.1" :max="2" />
|
||||
<div class="proportion">{{( speed / 2 * 100).toFixed(0) }} %</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -82,8 +82,8 @@
|
||||
</div>
|
||||
<div class="speed-container">
|
||||
<div class="label">速度:</div>
|
||||
<el-slider v-model="jointSpeed" :min="0.1" :step="0.1" :max="9" />
|
||||
<div class="proportion">{{( jointSpeed / 9 * 100).toFixed(0) }} %</div>
|
||||
<el-slider v-model="jointSpeed" :min="0.1" :step="0.1" :max="3" />
|
||||
<div class="proportion">{{( jointSpeed / 3 * 100).toFixed(0) }} %</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user