username:password
Authorization: Basic *****************
{
"start": {
"x": 0,
"y": 0,
"theta": 0
},
"end": {
"x": 0,
"y": 0,
"theta": 0
},
"tolerance": 0
}
curl --location --request POST '/woosh/robot/PlanNavPath' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"start": {
"x": 0,
"y": 0,
"theta": 0
},
"end": {
"x": 0,
"y": 0,
"theta": 0
},
"tolerance": 0
}'
{"body":{"path":{"poses":[{"theta":0,"x":-0.0202224571,"y":-0.0129800271},{"theta":0,"x":-0.0702224597,"y":-0.00829252694},{"theta":0,"x":-0.118576623,"y":0.0103710685},{"theta":0,"x":-0.158427283,"y":0.0394931808},{"theta":0,"x":-0.183533967,"y":0.0704372749},{"theta":0,"x":-0.2,"y":0.1}]}},"msg":"Request succeed","ok":true,"type":"woosh.robot.NavPath"}