
roadrunner-asset-mapping
RoadRunner asset path lookup tables for map format conversions in MATLAB. Maps lane markings, signs, signals, barriers, objects, and lane types to RoadRunner asset paths. Use when converting map formats to RRHD, resolving asset paths, or assigning visual assets to HD Map objects.
- Installs
- 77
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill roadrunner-asset-mapping- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads roadrunner-asset-mapping automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
RoadRunner Asset Mapping
Consolidated lookup tables for mapping source map format elements to RoadRunner project asset paths. All paths are relative to the project Assets/ folder.
When to Use
- Resolving lane marking subtypes to RoadRunner
.rrlmsasset paths - Mapping sign codes (US MUTCD, German StVO, Japanese) to sign asset SVGs
- Looking up barrier/extrusion asset paths for fence, guard rail, jersey barrier, wall
- Finding prop/static object asset paths for placement in RRHD
- Determining region-specific sign paths based on geoReference coordinates
- Assigning lane type enums from source format lane classifications
When NOT to Use
- Building RRHD objects from scratch — use
roadrunner-rrhd-authoring - Performing the full Lanelet2 conversion pipeline — use
roadrunner-convert-lanelet2-to-rrhd - Importing maps into RoadRunner — use
roadrunner-import-scene
Key Rules
- All asset paths start with
Assets/— always prefix when constructingRelativeAssetPathobjects. - Extension matters.
.rrlms= lane marking style,.rrcws= crosswalk style,.rrpms= polygon marking style,.svg_rrx= sign. Using wrong extension causes "Asset file is missing" on import. - Signs use
.svg_rrxextension (NOT.svg). The.svgpaths in XML configs are internal references only. - Sign naming: descriptive English names with region suffix (e.g.,
Stop_JP_01.svg_rrx,MaxSpeedLimit_30_DE.svg_rrx). The oldSign_<code>.svgnaming is obsolete. - Region detection from geoReference. Use lat/lon to determine Japan/Germany/US for sign and marking paths.
- Runtime asset discovery is MANDATORY for signs. Asset names vary by version — always verify file exists before assigning.
Source Data
Asset mappings are derived from the official RoadRunner project configuration XMLs:
DefaultAssets.xml— default materials and markingsApolloAssetData.xml— Apollo/Baidu HD Map formatOpenDriveAssetData.xml— OpenDRIVE formatHEREAssetData_NA.xml/HEREAssetData_WE.xml— HERE HD Map (NA/EU)TomTomAssetData.xml— TomTom HD Map format
These XML files are located in the RoadRunner project's configuration directory (typically <RoadRunner Project>/Configuration/).
Lane Markings
See references/laneMarkings.md for full mapping table.
Key patterns:
- All marking assets are in
Assets/Markings/with.rrlmsextension - Markings are keyed by type (solid/dashed/double) + color (white/yellow)
- Default road center marking:
SolidDoubleYellow.rrlms - Default outer boundary:
SolidSingleWhite.rrlms
Signs
See references/signs.md for full mapping table.
CRITICAL: Asset File Extension
- RoadRunner sign assets use
.svg_rrxextension on disk (NOT.svg) - The
.svgpaths in project XML configs are internal references only - Always use
.svg_rrxinRelativeAssetPathobjects — using.svgcauses "Could not find asset" errors
MANDATORY: Runtime Asset Discovery
- Sign asset names vary by RoadRunner version and installed asset libraries
- Always verify at runtime that the target asset exists before assigning it
- Use
dir(fullfile(projFolder, 'Assets', 'Signs', region, category, '*.svg_rrx'))to discover available signs
Key patterns:
- US signs:
Assets/Signs/US/Regulatory Signs/orAssets/Signs/US/Warning Signs/ - German signs:
Assets/Signs/Germany/Regulatory Signs/ - Japan signs:
Assets/Signs/Japan/Regulatory Signs/orAssets/Signs/Japan/Warning Signs/ - Sign geometry uses
GeoOrientedBoundingBox(Center + Dimension + GeoOrientation)
Naming convention: Signs use descriptive English names with region suffix:
- Pattern:
<Description>_<Region>.svg_rrx(e.g.,Stop_JP_01.svg_rrx,MaxSpeedLimit_30_JP.svg_rrx) - The old
Sign_<code>.svgnaming is obsolete — files do NOT exist on disk
Region detection from geoReference:
lat = geoRef(1); lon = geoRef(2);
if lat >= 24 && lat <= 46 && lon >= 122 && lon <= 154
region = "Japan";
elseif lat >= 35 && lat <= 72 && lon >= -10 && lon <= 25
region = "Germany";
else
region = "US";
end
Region-specific sign paths (verified R2026a with RoadRunner_Asset_Library):
| Sign | Japan | US | Germany |
|---|---|---|---|
| Stop | Signs/Japan/Regulatory Signs/Stop_JP_01.svg_rrx | Signs/US/Stop_US.svg_rrx | Signs/Germany/Regulatory Signs/Stop_DE.svg_rrx |
| Yield | — | Signs/US/Yield_US.svg_rrx | Signs/Germany/Regulatory Signs/Yield_DE.svg_rrx |
| Speed N | Signs/Japan/Regulatory Signs/MaxSpeedLimit_<N>_JP.svg_rrx | Signs/US/Regulatory Signs/MaxSpeedLimit_<N>_US.svg_rrx | Signs/Germany/Regulatory Signs/MaxSpeedLimit_<N>_DE.svg_rrx |
| Fallback | Signs/Japan/Regulatory Signs/SlowDown_JP_01.svg_rrx | Signs/US/White_Blank_US.svg_rrx | Signs/Germany/Warning Signs/Danger_DE.svg_rrx |
Signals (Traffic Lights)
| Configuration | Asset Path |
|---|---|
| 3-light vertical (post) | Props/Signals/Signal_3Light_Post01.fbx |
| 3-light vertical (bare) | Props/Signals/Signal_3Light_Bare01.fbx_rrx |
Authoring vs Import limitation: You CAN author SignalType objects (add to rrMap.SignalTypes) and Signal instances (add to rrMap.Signals) in MATLAB and write the map to .rrhd — signal data IS written to the file and survives read/write cycles. However, RoadRunner silently ignores signals when importing .rrhd maps — signals will not appear in the RoadRunner scene after import. Show the asset paths and authoring code, but warn the user about this import limitation.
Barriers & Extrusions
See references/barriers.md for full mapping table.
Key patterns:
- All extrusions in
Assets/Extrusions/with.rrextor.rrext.rrmetaextension - Barriers use
roadrunner.hdmap.BarrierTypewithExtrusionPath
Props & Static Objects
See references/staticObjects.md for full mapping table.
Key patterns:
- Props in
Assets/Props/subdirectories (Trees, Signals, TrafficControl, etc.) - Static objects use
roadrunner.hdmap.StaticObjectTypewithAssetPath - Objects use
GeoOrientedBoundingBoxfor placement
Lane Types
See references/laneTypes.md for full mapping table.
Crosswalks & Curve Markings
Extension rules (commonly confused):
.rrcws= crosswalk style (only for actual crosswalks).rrlms= lane marking style (stop lines, bike markings, zig-zag).rrpms= polygon marking style (striped regions, chevrons).rrcws_rrx/.rrlms_rrx= region-specific variants (Japan, Germany, etc.)
Base assets (universal):
| Type | Asset Path | Extension |
|---|---|---|
| Simple crosswalk | Markings/SimpleCrosswalk.rrcws | .rrcws |
| Continental crosswalk | Markings/ContinentalCrosswalk.rrcws | .rrcws |
| Ladder crosswalk | Markings/LadderCrosswalk.rrcws | .rrcws |
| Stop line | Markings/StopLine.rrlms | .rrlms |
| Striped region | Markings/StripedRegion.rrpms | .rrpms |
Japan-specific markings (.rrlms_rrx / .rrcws_rrx):
| Type | Asset Path |
|---|---|
| Stop line | Markings/Japan/StopLine_JP.rrlms_rrx |
| Crosswalk | Markings/Japan/SimpleCrosswalk_JP.rrcws_rrx |
| Solid single white | Markings/Japan/SolidSingleWhite_JP.rrlms_rrx |
| Dashed single white | Markings/Japan/DashedSingleWhite_JP.rrlms_rrx |
| Solid double white | Markings/Japan/SolidDoubleWhite_JP.rrlms_rrx |
| Solid double yellow | Markings/Japan/SolidDoubleYellow_JP.rrlms_rrx |
Germany-specific markings:
| Type | Asset Path |
|---|---|
| Stop line | Markings/Germany/StopLine_DE.rrlms_rrx |
| Crosswalk | Markings/Germany/SimpleCrosswalk_DE.rrcws_rrx |
Region selection: Use base (non-regional) assets as default. Use regional variants when the map's geoReference indicates a specific region AND the regional asset exists in the project.
Stencils (Road Surface Markings)
| Type | Asset Path |
|---|---|
| Arrow left | Assets/Stencils/Stencil_ArrowType4L.svg |
| Arrow right | Assets/Stencils/Stencil_ArrowType4R.svg |
| STOP text | Assets/Stencils/Stencil_STOP.svg |
Materials
| Purpose | Asset Path |
|---|---|
| Road surface | Assets/Materials/Asphalt1.rrmtl |
| Sidewalk / concrete | Assets/Materials/Concrete1.rrmtl |
| Ground / grass | Assets/Materials/Grass1.rrmtl |
Default Assets
These are the project-wide defaults (from DefaultAssets.xml):
| Name | Path |
|---|---|
| Island Curb Material | Assets/Materials/Concrete1.rrmtl |
| Blank Sign | Assets/Signs/US/White_Blank_US.svg_rrx |
| Blank Warning Sign | Assets/Signs/US/Yellow_Blank_US.svg_rrx |
| Surface Material | Assets/Materials/Grass1.rrmtl |
| Crosswalk | Assets/Markings/SimpleCrosswalk.rrcws |
| Stop Line | Assets/Markings/StopLine.rrlms |
| Parking Space Marking | Assets/Markings/SolidSingleWhite.rrlms |
| Road Surface Material | Assets/Materials/Asphalt1.rrmtl |
| Road Center Marking | Assets/Markings/SolidDoubleYellow.rrlms |
| Dashed Road Marking | Assets/Markings/DashedSingleWhite.rrlms |
| Road Outer Boundary | Assets/Markings/SolidSingleWhite.rrlms |
| Road Inner Boundary | Assets/Markings/SolidSingleYellow.rrlms |
| One Way Passing | Assets/Markings/DashedSolidYellow.rrlms |
| Vehicle | Assets/Vehicles/Sedan.fbx |
Usage Pattern (MATLAB)
% Example: resolve marking asset path
function assetPath = resolveMarkingAsset(type, color)
% type: "solid", "dashed", "solid_solid", etc.
% color: "white", "yellow" (default: white)
if nargin < 2, color = "white"; end
% Use lookup from references/laneMarkings.md
end
All asset paths are prefixed with Assets/ when used in RRHD RelativeAssetPath objects.
Conventions
- All marking assets:
Assets/Markings/<Name>.<ext>— extension determines type (.rrlms,.rrcws,.rrpms) - Regional marking variants:
Assets/Markings/<Region>/<Name>_<CC>.<ext>_rrx(e.g.,_JP.rrlms_rrx) - All sign assets:
Assets/Signs/<Region>/<Category>/<Description>_<CC>.svg_rrx(NOT.svg) - All extrusion assets:
Assets/Extrusions/<Name>.rrext(or.rrext.rrmeta) - All prop assets:
Assets/Props/<Category>/<Name>.fbx(or.fbx_rrx) - Use
RelativeAssetPath(AssetPath="...")for RRHD construction (Name=Value syntax) - Default road center:
SolidDoubleYellow.rrlms; default outer boundary:SolidSingleWhite.rrlms - Always verify asset exists at runtime before assigning — paths vary by version and installed libraries
Copyright 2026 The MathWorks, Inc.
FAQ
What does the roadrunner-asset-mapping skill do?
RoadRunner asset path lookup tables for map format conversions in MATLAB. Maps lane markings, signs, signals, barriers, objects, and lane types to RoadRunner asset paths. Use when converting map formats to RRHD, resolving asset paths, or assigning visual assets to HD Map objects.
How do I install roadrunner-asset-mapping?
Run npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill roadrunner-asset-mapping in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/roadrunner-asset-mapping/ (personal) or .claude/skills/roadrunner-asset-mapping/ (project).
Which AI agents can use roadrunner-asset-mapping?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is roadrunner-asset-mapping safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains roadrunner-asset-mapping?
It is published by matlab in matlab/matlab-agentic-toolkit. It has 77 recorded installs.
More from matlab/matlab-agentic-toolkit
matlab-review-code
matlab/matlab-agentic-toolkit
Review MATLAB code for quality, performance, maintainability, and adherence to MathWorks coding standards. Uses checkmatlabcode and matlabcodingguidelines. Use when reviewing code, checking style, finding code smells, assessing quality, or preparing code for handoff or publication.
matlab-analyze-data
matlab/matlab-agentic-toolkit
Analyze data using MATLAB. Use when the task involves tables, timetables, time-series data, numeric arrays, sensor matrices, or gridded data — including but not limited to exploring, row filtering, sorting, cleaning, transforming, aggregating, smoothing, padding, trimming, and answering questions about data. MATLAB provides extensive, easy-to-use built-in functions for these workflows with no additional products required.
matlab-design-digital-filter
matlab/matlab-agentic-toolkit
Design and validate digital filters in MATLAB. Use when cleaning up noisy signals, removing interference, filtering signals, designing FIR/IIR filters (lowpass/highpass/bandpass/bandstop/notch), or comparing filters in Filter Analyzer.
matlab-modernize-code
matlab/matlab-agentic-toolkit
Modernize removed or discouraged MATLAB functions and patterns. Use when the checkmatlabcode MCP tool reports that a function "is not recommended", "will be removed in a future release", or "has been removed" — at any severity (info, warning, or error) — when migrating legacy code, or when replacing removed or discouraged APIs with current equivalents. Also applies to discouraged patterns Code Analyzer does not flag (containers.Map, bsxfun, str2num, eval, clear all) and to removed or discouraged functions such as trainNetwork, csvread, xlsread, datenum, guide, svmtrain, ltln2val, webmap.
matlab-create-live-script
matlab/matlab-agentic-toolkit
Create, edit, and run plain-text MATLAB live scripts (.m files) with rich text formatting, LaTeX equations, section breaks, and inline figures. Use when generating tutorials, analysis notebooks, reports, documentation, or educational content, when modifying existing live scripts, or when converting existing binary .mlx files to .m for version control. Requires R2025a+.
matlab-agentic-toolkit-setup
matlab/matlab-agentic-toolkit
Install and configure the MATLAB Agentic Toolkit — detect MATLAB, install the MCP server, register with your AI coding agent, and verify the environment. Supports Claude Code, Codex, GitHub Copilot, Amp, and Gemini CLI.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available