Skip to main content

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)​

FieldTypeDescription
floor_idstringIDL compatibility field; ignored and not used for filtering.

Response (Response)​

FieldTypeDescription
poismap_manager/msg/POI[]POI list with id, name, and 2D pose.
successboolWhether the operation succeeded.
messagestringResult message.

Example​

Complete Environment Preparation first: the CLI examples require ROBOT_NAMESPACE to be set.

Bash
ros2 service call $ROBOT_NAMESPACE/poi/list map_manager/srv/ListPOIs "{}"

Related services: AddPOI, RemovePOI.