update_virtual_wall
Service type: map_manager/srv/AddVirtualWall
Service name: /wall/update
Descriptionβ
Updates an existing virtual wall. The endpoint reuses AddVirtualWall; wall.id identifies the target and remains unchanged. floor_id fields are ignored.
Request (Request)β
| Field | Type | Description |
|---|---|---|
| wall | map_manager/msg/VirtualWall | id is the numeric target ID; GRW uses x and y from start and end. |
Exampleβ
Complete Environment Preparation first: the CLI examples require
ROBOT_NAMESPACEto be set.
Bash
ros2 service call $ROBOT_NAMESPACE/wall/update map_manager/srv/AddVirtualWall "{wall: {id: 42, start: {x: 1.0, y: 5.0}, end: {x: 11.0, y: 5.0}}}"