CmvrControlStation/assets/agv/SOURCE.md
Codex 22620db699 feat(agv): merge local map editing and manual controls
Bring local station and route editing/deletion, verified map saves, confirmed switches, direct map transport and manual velocity ramps onto latest main. Preserve upstream non-AGV implementations, interface definitions and startup behavior.

Validated with the existing qmake Release build, AGV map/UI/manual-motion tests, loopback upload/deletion/SEER transport tests and function-level retention audits.
2026-11-10 16:10:46 +08:00

27 lines
1.4 KiB
Markdown

# AGV Demo scan map
`demo_scan.smap` is a Demo-only conversion of the official TurtleBot 4 depot
occupancy sample. It is never a connected robot's downloaded map.
Sources (TurtleBot 4 `jazzy` branch, Apache-2.0):
- [depot.pgm](https://github.com/turtlebot/turtlebot4/blob/jazzy/turtlebot4_navigation/maps/depot.pgm)
- [depot.yaml](https://github.com/turtlebot/turtlebot4/blob/jazzy/turtlebot4_navigation/maps/depot.yaml)
- [LICENSE](https://github.com/turtlebot/turtlebot4/blob/jazzy/LICENSE), copied unchanged to `LICENSE.txt`.
The original raster is 755 x 380 cells at 0.04 m/cell with origin
(-15.1, -7.74), giving bounds (-15.1, -7.74) to (15.1, 7.46).
For each 2 x 2 raster block containing an occupied cell (gray < 128), the
first occupied cell's center becomes one `normal_pos_list` point. World
coordinates use x = origin.x + (column + 0.5) * resolution and
y = origin.y + (height - row - 0.5) * resolution. This retains 3,217
real scan samples, including thin boundaries, without synthesizing walls.
Free and unknown cells do not become scan points.
The 11 named stations and 10 bidirectional connections are added solely for
Demonstration. Routes are serialized by `AgvMapDocument::addRoute`.
LM10 and LM4 use y = 0.2 m to avoid occupied samples on y = 0;
all station centers and route centerlines were checked against the original
PGM at 0.01 m intervals and lie in free cells. This is a visual Demo layout,
not a robot navigation or clearance certificate.