feat: 调整机械臂

This commit is contained in:
zhanghao 2026-07-21 15:18:31 +08:00
parent 3b7b151aab
commit 571bfa2552
2 changed files with 3 additions and 2 deletions

View File

@ -157,6 +157,7 @@ app.post('/api/agv/stopRobot', async (req, res) => {
// 获取机械臂末端位姿 // 获取机械臂末端位姿
app.post('/api/arm/getPose', async (req, res) => { app.post('/api/arm/getPose', async (req, res) => {
console.log('ssssssss')
const request = { const request = {
header: { header: {
device_id: req.body.deviceId || 'huayan_arm' device_id: req.body.deviceId || 'huayan_arm'

View File

@ -419,10 +419,10 @@ onMounted(() => {
if (timer.value) { if (timer.value) {
clearInterval(timer.value) clearInterval(timer.value)
} }
// timer.value = setInterval(() => { timer.value = setInterval(() => {
getPose() getPose()
getJointState() getJointState()
// }, 100) }, 100)
}) })
}) })