matlab/matlab-agentic-toolkit / skills-catalog/automotive/roadrunner-build-rrhd-map
roadrunner-build-rrhd-map
VerifiedBuild, convert, and import RoadRunner HD Maps (.rrhd) in MATLAB. Author lanes, lane boundaries, markings, junctions, signs, barriers, and speed limits with roadrunnerHDMap; convert Lanelet2 (.osm, Autoware) maps to RRHD; resolve RoadRunner road asset paths for markings, crosswalks, signs, signals, and barriers; and import or build .rrhd or OpenDRIVE (.xodr) files into a RoadRunner scene. Use when creating road networks for driving simulation, converting Lanelet2 or other HD map sources to RRHD, looking up road asset paths, or loading and verifying a map in RoadRunner or RoadRunner Scene Builder. Not for building scenes from recorded sensor data, running simulations, or recreating OpenSCENARIO (.xosc) scenarios.
references/authoring/validateMap.md
View on GitHub# Validate an RRHD Map Before Writing
**Function:** `report = validateRRHD(rrMap)`
**Source:** [scripts/validateRRHD.m](../../scripts/validateRRHD.m)
## Description
Validates a `roadrunnerHDMap` for structural correctness. Checks:
- Duplicate IDs across all entity types
- Dangling references (lane→boundary, lane→predecessor/successor, boundary→marking, instance→type)
- Geometry has >= 2 points
- Parametric spans within [0,1]
- GeoReference within valid lat/lon bounds
- Type-instance reference integrity (signs, signals, objects, barriers, stencils)
## Inputs
| Parameter | Type | Description |
|-----------|------|-------------|
| `rrMap` | roadrunnerHDMap | The map to validate |
## Output
`report` — struct with:
| Field | Type | Description |
|-------|------|-------------|
| `.errors` | string array | Blocking issues |
| `.warnings` | string array | Non-blocking issues |
| `.isValid` | logical | `true` if no errors |
## Example
```matlab
report = validateRRHD(rrMap);
if ~report.isValid
disp(report.errors);
end
assert(report.isValid, "Validation failed: " + strjoin(report.errors, "; "));
```
----
Copyright 2026 The MathWorks, Inc.
----
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |