Obstacles Protocols
/obstacles/?
Source | Visualizer |
Destination | Simulator |
Data Type | String |
Message Format | {reality} |
Description |
The visualizer can request from the Simulator about obstacle data, filtered by the reality. Reply will be received through the topic /obstacles.
|
/obstacles
Source | Simulator |
Destination | Visualizer |
Data Type | JSON List |
Message Format |
[
Obstacle1,
Obstacle2
]
|
Description |
The Simulator will send this as response to the /obstacles/? request.
|
/obstacles/delete
Source | Simulator |
Destination | Visualizer |
Data Type | JSON |
Message Format |
{ "id": [obstacle_Id] }
|
Description |
Delete the obstacle from the environment, which has given id.
|
/obstacles/delete/all
Source | Simulator |
Destination | Visualizer |
Data Type | String |
Message Format | ? |
Description | Delete all the obstacles in the environment. |