list_pois
Service type: map_manager/srv/ListPOIs
Service name: /poi/list
Description
Lists POIs in the current GRW map. floor_id is ignored. The reliable returned fields are id, name, and pose.x, pose.y, and pose.theta.
Request (Request)
| Field | Type | Description |
|---|---|---|
| floor_id | string | IDL compatibility field; ignored and not used for filtering. |
Response (Response)
| Field | Type | Description |
|---|---|---|
| pois | map_manager/msg/POI[] | POI list with id, name, and 2D pose. |
| success | bool | Whether the operation succeeded. |
| message | string | Result message. |
Example
Complete Environment Preparation first: the CLI examples require
ROBOT_NAMESPACEto be set.
Bash
ros2 service call $ROBOT_NAMESPACE/poi/list map_manager/srv/ListPOIs "{}"