任务执行

This commit is contained in:
ywb
2026-05-24 18:26:10 +08:00
parent d095d68433
commit 119246ade3
7 changed files with 338 additions and 24 deletions
+18
View File
@@ -348,6 +348,24 @@
</div>
</section>
<!-- 机械臂初始姿态 -->
<section class="card" style="margin-top:16px">
<h2>② 🦾 机械臂初始姿态</h2>
<p class="hint" style="margin-bottom:12px">每个机器执行前恢复的初始姿态(6个关节角度,单位:度)</p>
<div class="form-row" style="flex-wrap:wrap;gap:12px">
<div v-for="j in 6" :key="'armInit'+j" class="form-group" style="min-width:100px">
<label>J{% raw %}{{ j }}{% endraw %}</label>
<input type="number" step="0.5"
v-model.number="armInitialPose[j-1]"
style="width:100%;padding:8px;border:1px solid #2a3441;border-radius:4px">
</div>
<div class="form-group" style="align-self:end">
<button class="btn btn-primary" @click="saveArmInitialPose">💾 保存初始姿态</button>
<button class="btn btn-secondary" @click="loadArmCurrentAngles" :disabled="!armConnected" style="margin-left:6px">📋 读取当前角度</button>
</div>
</div>
</section>
<!-- 下:序列预览 -->
<section class="card" v-if="sequence && sequence.length > 0" style="margin-top:16px">
<h2>③ 🐍 蛇形拍摄序列预览</h2>