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)β
| Field | Type | Description |
|---|---|---|
| walls | map_manager/msg/VirtualWall[] | Walls with numeric id, start, and end. |
| 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/wall/list map_manager/srv/ListVirtualWalls "{}"
Related services: AddVirtualWall, UpdateVirtualWall, RemoveVirtualWall.