username:password
Authorization: Basic *****************
{
"robotId": 0
}
curl --location --request POST '/woosh/robot/RobotInfo' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"robotId": 0
}'
{
"body": {
"abnormalCodes": {
"scs": []
},
"battery": {
"batteryCycle": 0,
"chargeCycle": 0,
"chargeState": 1,
"health": 0,
"power": 93,
"robotId": 30001,
"tempMax": 0
},
"deviceState": {
"state": 3
},
"genral": {
"displayModel": "Robase200",
"modelData": {
"height": 1550,
"length": 1250,
"load": 150,
"weight": 50,
"width": 670
},
"serialNumber": 30001,
"serviceId": "RB2000030100000000Z",
"type": 1,
"urdfName": "wooshmodel_robase200_cp_y",
"version": {
"rc": "1.0.0-1",
"system": "UROS20210720"
}
},
"hardwareState": {
"beacon": 0,
"board": 0,
"camera": [
0,
0
],
"crash": 0,
"esb": 0,
"imu": 0,
"lidar": [
0,
0
],
"lift": [
0,
0
],
"light": 0,
"magnetism": 0,
"motor": [
0,
0
],
"plc": 0,
"power": 0,
"roller": [
0,
0
],
"seanner": 0,
"sonar": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"tractor": 0
},
"mode": {
"ctrl": 1,
"work": 3
},
"model": {
"model": [
{
"x": 0.35,
"y": 0.265,
"z": 0
},
{
"x": 0.4,
"y": 0.215,
"z": 0
},
{
"x": 0.4,
"y": -0.215,
"z": 0
},
{
"x": 0.35,
"y": -0.265,
"z": 0
},
{
"x": -0.35,
"y": -0.265,
"z": 0
},
{
"x": -0.4,
"y": -0.215,
"z": 0
},
{
"x": -0.4,
"y": 0.215,
"z": 0
},
{
"x": -0.35,
"y": 0.265,
"z": 0
}
],
"robotId": 30001
},
"network": {
"isConnected": false,
"robotIp": "172.20.254.63",
"schIp": ""
},
"operationState": {
"nav": 2,
"robotId": 30001
},
"poseSpeed": {
"mapId": 0,
"mileage": 0,
"pose": {
"theta": -0.255771846,
"x": 4.23276472,
"y": -6.6727581
},
"robotId": 30001
},
"robotId": 30001,
"scene": {
"mapId": 0,
"mapName": "wooshmap",
"robotId": 30001,
"sceneName": "wooshmap",
"version": "147"
},
"setting": {
"allow": {
"autoCharge": true,
"autoPark": true,
"goodsCheck": true,
"mechanismCheck": false
},
"identity": {
"name": "30001"
},
"power": {
"alarm": 5,
"full": 98,
"idle": 80,
"low": 20
},
"server": {
"ip": "172.20.8.85",
"port": 5420
}
},
"state": 4,
"statusCodes": {
"scs": [
{
"code": "130104000000",
"level": 0,
"msg": "收到新的导航任务,导航避障开始",
"robotId": 30001,
"state": 4,
"taskId": "68240893101",
"time": "1682409385879",
"type": 1
},
{
"code": "130104000031",
"level": 1,
"msg": "避障成功",
"robotId": 30001,
"state": 4,
"taskId": "68240893101",
"time": "1682409386081",
"type": 1
}
]
},
"taskProc": {
"action": {
"state": 1,
"type": 1,
"waitId": 0
},
"dest": "U5",
"msg": "",
"robotId": 30001,
"robotTaskId": "68240893101",
"state": 3,
"time": 1682409349,
"type": 1
}
},
"msg": "",
"ok": true,
"type": "woosh.robot.RobotInfo"
}