OdomMap is a browser-based tool that overlays competition field images and lets you:
No installation required. Just a modern web browser:
| Browser | Support |
|---|---|
| ๐ข Chrome | โ Recommended |
| ๐ข Firefox | โ Supported |
| ๐ข Edge | โ Supported |
| ๐ก Safari | โ ๏ธ May vary |
OdomMap/
โโโ OdomMap.html # Main application file
โโโ iconrb.png # RobotRizz logo (header icon)
โโโ GameField/ # Field image assets
โโโ 2026/
โ โโโ Elementary.png
โ โโโ Junior.png
โ โโโ Senior.png
โ โโโ RoboSports.png
โโโ 2025/
โโโ 2024/
โโโ 2023/
GameField/<year>/ as <Category>.pngOdomMap.html directly in your browserโก No server needed โ it runs entirely client-side!
The default mode for measuring distances and analyzing paths on the field.
Features at a glance:
| Feature | Description |
|---|---|
| ๐ Line Distance | Click two points to measure the straight-line distance between them in mm |
| ๐ Angle of Change | See the angle between consecutive lines to plan turns and heading changes |
| ๐ Measurement from Edge | Measure distance relative to the nearest field edge for precise positioning |
| ๐ฒ Show Grid | Toggle a grid overlay on the field for visual reference and alignment |
| ๐ Right Triangle View | Break down any diagonal line into its horizontal (X) and vertical (Y) components visually |
How to draw lines:
| Step | Action |
|---|---|
| 1๏ธโฃ | Click on the canvas to set the start point |
| 2๏ธโฃ | Move your mouse โ live measurements appear in the sidebar |
| 3๏ธโฃ | Click again to lock the end point |
| 4๏ธโฃ | A new line is saved; repeat to draw more |
| ๐ฑ๏ธ Right-click | Cancels the current line |
| Value | Description |
|---|---|
| ๐ Distance | Straight-line distance in mm |
| ๐ Angle | Absolute angle from horizontal (ยฐ) |
| ๐ Angle of Change | Turn angle between the previous and current line segment (ยฐ) |
| ๐ Distance from Edge | Distance to the nearest field boundary (mm) |
| ๐ Wheel Rotations | Full rotations needed for your wheel diameter |
| ๐ต Wheel Degrees | Motor degrees needed |
| โ๏ธ Horizontal | X-axis component (mm) |
| โ๏ธ Vertical | Y-axis component (mm) |
Enter your robotโs wheel diameter (in mm) in the top control bar.
Default: 62.4 mm
๐งฎ The tool recalculates wheel rotations and degrees automatically.
Odometry Mode helps you plan and visualize robot position relative to a custom origin point.
๐ก The origin acts as your robotโs (0, 0) coordinate. All X/Y positions are measured relative to it.
| Value | Meaning |
|---|---|
| X | Horizontal distance from origin (mm) |
| Y | Vertical distance from origin (mm, upward positive) |
| Angle | Direction from origin (ยฐ) |
Route Mode lets you plan, save, and replay your robotโs full competition path on the field map.
| Feature | Description |
|---|---|
| ๐ Waypoints | Click to place ordered stops along the robotโs planned path |
| ๐พ Save Route | Export and store your drawn route to reload later |
| ๐ Load Route | Reload a previously saved route and display it on the field |
| ๐ Replay Path | Visualize the full route sequence on the field map |
๐ Useful for competition day โ plan your route during practice and load it up before your run.
Use the dropdowns in the header to choose:
| Selector | Options |
|---|---|
| ๐ Year | 2023, 2024, 2025, 2026 |
| ๐ Category | Elementary, Junior, Senior, RoboSports |
Field images load from
GameField/<year>/<category>.png. If an image is missing, the tool gracefully falls back to a grid-only view.
Field dimensions: 2362 mm ร 1143 mm
Max robot size: 250 mm ร 250 mm
| Button | Action |
|---|---|
| ๐ New Line | Resets the current line drawing |
| ๐๏ธ Delete Last | Removes the most recently drawn line |
| ๐งน Clear All | Clears all lines (and odometry/route data in their respective modes) |
| Toggle | Effect |
|---|---|
| ๐ฒ Show Grid | Toggles the grid overlay on the field canvas |
| ๐ต Show Right Triangle | Displays horizontal/vertical leg breakdown of each line |
| ๐ก Odometry Mode | Enables origin-relative X/Y coordinate tracking |
| ๐ฃ๏ธ Route Mode | Enables waypoint-based route planning and saving |
| ๐ Grid Opacity Slider | Adjusts the grid overlay brightness (Odometry Mode only) |
Contributions are welcome! To contribute:
git checkout -b feature/your-featuregit commit -m "Add your feature"git push origin feature/your-featurePlease keep code clean and well-commented. New field images should follow the existing GameField/<year>/<Category>.png naming convention.
This project is licensed under the MIT License โ see the LICENSE file for full details.