Get Point Cloud Snapshot
GET/api/v1/robot/point-cloud
Fetch a single normalized point cloud snapshot from ROS for the 3D dashboard view.
Request
Query Parameters
timeoutMs integer
Possible values: >= 1000 and <= 30000
topicKey string
Possible values: [pointCloud, mapPointsCloud]
Responses
- 200
- 500
- 503
- 504
Successful response with point cloud snapshot data
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data objectrequired
topic stringrequired
frameId stringrequired
sourceFrameId stringrequired
stamp objectrequired
secs numberrequired
nsecs numberrequired
width numberrequired
height numberrequired
isDense booleanrequired
pointCount numberrequired
transformApplied booleanrequired
transformReason stringrequired
bounds objectrequired
min arrayrequired
max arrayrequired
positions number[]required
colors number[]
status numberrequired
{
"success": true,
"message": "string",
"data": {
"topic": "string",
"frameId": "string",
"sourceFrameId": "string",
"stamp": {
"secs": 0,
"nsecs": 0
},
"width": 0,
"height": 0,
"isDense": true,
"pointCount": 0,
"transformApplied": true,
"transformReason": "string",
"bounds": {
"min": [
null
],
"max": [
null
]
},
"positions": [
0
],
"colors": [
0
]
},
"status": 0
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data object,nullrequired
details stringrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
ROS instance is not available
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data object,nullrequired
details stringrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
Timed out waiting for a ROS point cloud message
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data object,nullrequired
details stringrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
Loading...