Skip to main content

list_virtual_walls

Service type: map_manager/srv/ListVirtualWalls

Service name: /wall/list

Description​

Lists virtual walls in the current GRW map. floor_id is ignored; each wall returns a numeric id and endpoint coordinates.

Response (Response)​

FieldTypeDescription
wallsmap_manager/msg/VirtualWall[]Walls with numeric id, start, and end.
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/wall/list map_manager/srv/ListVirtualWalls "{}"

Related services: AddVirtualWall, UpdateVirtualWall, RemoveVirtualWall.