156 lines
3.7 KiB
Plaintext
156 lines
3.7 KiB
Plaintext
################### ROBOT IMR #####################
|
|
|
|
-> Update thêm startPause, stopPause cho IMR:
|
|
|
|
###### Code JSON startPause #######
|
|
{
|
|
"headerId": 1,
|
|
"timestamp": "2026-06-05T09:00:00.000Z",
|
|
"version": "0.0.1",
|
|
"manufacturer": "phenikaaX",
|
|
"serialNumber": "IMR",
|
|
"actions": [
|
|
{
|
|
"actionType": "startPause",
|
|
"actionId": "startpause-0001",
|
|
"actionDescription": "startPause",
|
|
"blockingType": "NONE",
|
|
"actionParameters": []
|
|
}
|
|
]
|
|
}
|
|
|
|
###### Code JSON stopPause #######
|
|
{
|
|
"headerId": 1,
|
|
"timestamp": "2026-06-05T10:00:05.000Z",
|
|
"version": "0.0.1",
|
|
"manufacturer": "phenikaaX",
|
|
"serialNumber": "IMR",
|
|
"actions": [
|
|
{
|
|
"actionType": "stopPause",
|
|
"actionId": "stoppause-0001",
|
|
"actionDescription": "stopPause",
|
|
"blockingType": "NONE",
|
|
"actionParameters": []
|
|
}
|
|
]
|
|
}
|
|
|
|
-> Update thêm initPosition cho IMR:
|
|
|
|
###### Code JSON initPosition #######
|
|
{
|
|
"headerId": 1,
|
|
"timestamp": "2026-06-10T09:00:00.000Z",
|
|
"version": "0.0.1",
|
|
"manufacturer": "phenikaaX",
|
|
"serialNumber": "IMR",
|
|
"actions": [
|
|
{
|
|
"actionType": "initPosition",
|
|
"actionId": "initposition-0001",
|
|
"actionDescription": "initPosition",
|
|
"blockingType": "NONE",
|
|
"actionParameters": [
|
|
{
|
|
"key": "x",
|
|
"value": "1.45"
|
|
},
|
|
{
|
|
"key": "y",
|
|
"value": "-0.8"
|
|
},
|
|
{
|
|
"key": "theta",
|
|
"value": "1.57"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|
|
-> Sửa lại name actionId trong actionStates cho IMR:
|
|
|
|
Sửa từ "actionID" thành "actionId"
|
|
|
|
|
|
|
|
################### ROBOT AMR #####################
|
|
|
|
-> Update thêm startPause, stopPause cho AMR:
|
|
|
|
###### Code JSON startPause #######
|
|
{
|
|
"headerId": 1,
|
|
"timestamp": "2026-06-05T09:00:00.000Z",
|
|
"version": "0.0.1",
|
|
"manufacturer": "phenikaaX",
|
|
"serialNumber": "AMR2WS",
|
|
"actions": [
|
|
{
|
|
"actionType": "startPause",
|
|
"actionId": "startPause-0001",
|
|
"actionDescription": "startPause",
|
|
"blockingType": "NONE",
|
|
"actionParameters": []
|
|
}
|
|
]
|
|
}
|
|
|
|
###### Code JSON stopPause #######
|
|
{
|
|
"headerId": 1,
|
|
"timestamp": "2026-06-05T10:00:05.000Z",
|
|
"version": "0.0.1",
|
|
"manufacturer": "phenikaaX",
|
|
"serialNumber": "AMR2WS",
|
|
"actions": [
|
|
{
|
|
"actionType": "stopPause",
|
|
"actionId": "stopPause-0001",
|
|
"actionDescription": "stopPause",
|
|
"blockingType": "NONE",
|
|
"actionParameters": []
|
|
}
|
|
]
|
|
}
|
|
|
|
-> Update thêm initPosition cho AMR:
|
|
|
|
###### Code JSON initPosition #######
|
|
{
|
|
"headerId": 1,
|
|
"timestamp": "2026-06-10T09:00:00.000Z",
|
|
"version": "0.0.1",
|
|
"manufacturer": "phenikaaX",
|
|
"serialNumber": "AMR2WS",
|
|
"actions": [
|
|
{
|
|
"actionType": "initPosition",
|
|
"actionId": "initposition-0001",
|
|
"actionDescription": "initPosition",
|
|
"blockingType": "NONE",
|
|
"actionParameters": [
|
|
{
|
|
"key": "x",
|
|
"value": "0.0"
|
|
},
|
|
{
|
|
"key": "y",
|
|
"value": "0.0"
|
|
},
|
|
{
|
|
"key": "theta",
|
|
"value": "0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|
|
-> Sửa lại name của UnDockFromStation cho AMR:
|
|
|
|
Sửa từ "UndockFromStation" thành "UnDockFromStation"
|