姿态参数

This commit is contained in:
ywb
2026-05-19 21:41:14 +08:00
parent 2eb39fdbd5
commit f05d6ea059
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -871,7 +871,7 @@ createApp({
try {
var res = await fetch(API + '/api/navigate/to', {
method: 'POST', headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ x: coords[0], y: coords[1] })
body: JSON.stringify({ x: coords[0], y: coords[1], yaw: coords[2] })
})
var data = await res.json()
if (data.ok) {