Get sensor map
get_sensor_mapRetrieve the rover’s sensor-built occupancy grid, camera landmarks, bumper hits, pose, and exploration stats; set clear=true to wipe the map before reading.
Instructions
The map the rover has built from its own sensors only (not the true layout): an occupancy grid of 10 px cells as ASCII rows ("#" occupied by a sonar/IR echo or bumper hit, "." free, " " unknown, "@" rover, a capital letter = floor color read by a color sensor), camera landmarks with estimated world x/y, bumper hit points, the pose and exploration stats. clear=true wipes the map first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the map before returning it (default false) |