roadrunner-rrhd-authoring

Assemble RoadRunner HD Map entities in MATLAB and write .rrhd files.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill roadrunner-rrhd-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: roadrunner-rrhd-authoring
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/automotive/roadrunner-rrhd-authoring
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill roadrunner-rrhd-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the problem of constructing correct RoadRunner HD map (.rrhd) content by guiding you through building RoadRunner HD Map entities in MATLAB without relying on external scene-builder steps.

Core Features & Use Cases

  • RRHD authoring from scratch: Create lanes, lane boundaries, markings, junctions, signs, signals, barriers, and parking by directly assembling roadrunnerHDMap objects and writing .rrhd.
  • Topology and correctness guardrails: Enforces key construction patterns (create-then-assign, rrMap = roadrunnerHDMap namespace load, Nx3 geometry, typed empty arrays) and requires an alignment/spatial validation gate before write().
  • Track and RRHD-specific handling: Avoids common RoadRunner rendering bugs (e.g., green/grass artifacts) by specifying alignment rules, shared boundary conventions, and track-specific omissions (no topology, Z bumps, or boundary marking attributes for closed-loop tracks).

Quick Start

Use the roadrunner-rrhd-authoring skill to build and write a new .rrhd file by generating MATLAB code that creates a roadrunnerHDMap, constructs lanes and their shared lane boundaries with correct Forward/Backward alignment, runs the required enforcement checks, and then calls write(rrMap, "your_map.rrhd").

Frequently Asked Questions about roadrunner-rrhd-authoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create RoadRunner HD Map files directly in MATLAB?

You create RoadRunner HD Map (.rrhd) files in MATLAB by assembling `roadrunnerHDMap` objects with verified `roadrunner.hdmap.*` entities, validating alignment, and writing the map using the `write` function.

What is the correct way to build lane geometry for RRHD maps in MATLAB?

Building RRHD lane geometry requires Nx3 coordinate arrays and a create-then-assign construction pattern to ensure lanes and shared boundaries have correct Forward and Backward spatial alignment.

Why does my RoadRunner map show green or grass rendering artifacts?

Rendering artifacts like green or grass patches in RoadRunner often occur when shared boundary conventions and spatial alignment rules are not properly enforced before writing the HD map data.

Can I convert existing HD map data into a RoadRunner HD map using MATLAB?

Yes, you can assemble `.rrhd` maps from converted HD-map inputs by directly constructing `roadrunnerHDMap` entities in MATLAB and populating them with the converted lane, junction, and marking data.

Do I need an external scene builder to author synthetic driving scenes for RoadRunner?

No, you can author synthetic driving scenes for RoadRunner entirely in MATLAB by programmatically generating lanes, boundaries, signs, and signals, then writing them directly to a `.rrhd` file.