姿态参数
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user