Roadrunner Asset Mapping logo

Roadrunner Asset Mapping

OrganizationPopular
matlab
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.

Overview

Publishermatlab
Repositorymatlab-agentic-toolkit
Skill nameroadrunner-asset-mapping
Stars
1.2K
Forks
138
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by matlab on GitHub. Read the source before you install it.

Installation

Install the Roadrunner Asset Mapping AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/automotive/roadrunner-asset-mapping
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/matlab-agentic-toolkit.git /tmp/matlab-agentic-toolkit
mkdir -p .claude/skills
cp -r /tmp/matlab-agentic-toolkit/skills-catalog/automotive/roadrunner-asset-mapping .claude/skills/roadrunner-asset-mapping
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Roadrunner Asset Mapping in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Roadrunner Asset Mapping on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Roadrunner Asset Mapping is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 .rrlms asset 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 constructing RelativeAssetPath objects.
  • 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_rrx extension (NOT .svg). The .svg paths 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 old Sign_<code>.svg naming 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 markings
  • ApolloAssetData.xml — Apollo/Baidu HD Map format
  • OpenDriveAssetData.xml — OpenDRIVE format
  • HEREAssetData_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 .rrlms extension
  • 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_rrx extension on disk (NOT .svg)
  • The .svg paths in project XML configs are internal references only
  • Always use .svg_rrx in RelativeAssetPath objects — using .svg causes "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/ or Assets/Signs/US/Warning Signs/
  • German signs: Assets/Signs/Germany/Regulatory Signs/
  • Japan signs: Assets/Signs/Japan/Regulatory Signs/ or Assets/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>.svg naming is obsolete — files do NOT exist on disk

Region detection from geoReference:

matlab
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):

SignJapanUSGermany
StopSigns/Japan/Regulatory Signs/Stop_JP_01.svg_rrxSigns/US/Stop_US.svg_rrxSigns/Germany/Regulatory Signs/Stop_DE.svg_rrx
Yield—Signs/US/Yield_US.svg_rrxSigns/Germany/Regulatory Signs/Yield_DE.svg_rrx
Speed NSigns/Japan/Regulatory Signs/MaxSpeedLimit_<N>_JP.svg_rrxSigns/US/Regulatory Signs/MaxSpeedLimit_<N>_US.svg_rrxSigns/Germany/Regulatory Signs/MaxSpeedLimit_<N>_DE.svg_rrx
FallbackSigns/Japan/Regulatory Signs/SlowDown_JP_01.svg_rrxSigns/US/White_Blank_US.svg_rrxSigns/Germany/Warning Signs/Danger_DE.svg_rrx

Signals (Traffic Lights)

ConfigurationAsset 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 .rrext or .rrext.rrmeta extension
  • Barriers use roadrunner.hdmap.BarrierType with ExtrusionPath

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.StaticObjectType with AssetPath
  • Objects use GeoOrientedBoundingBox for 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):

TypeAsset PathExtension
Simple crosswalkMarkings/SimpleCrosswalk.rrcws.rrcws
Continental crosswalkMarkings/ContinentalCrosswalk.rrcws.rrcws
Ladder crosswalkMarkings/LadderCrosswalk.rrcws.rrcws
Stop lineMarkings/StopLine.rrlms.rrlms
Striped regionMarkings/StripedRegion.rrpms.rrpms

Japan-specific markings (.rrlms_rrx / .rrcws_rrx):

TypeAsset Path
Stop lineMarkings/Japan/StopLine_JP.rrlms_rrx
CrosswalkMarkings/Japan/SimpleCrosswalk_JP.rrcws_rrx
Solid single whiteMarkings/Japan/SolidSingleWhite_JP.rrlms_rrx
Dashed single whiteMarkings/Japan/DashedSingleWhite_JP.rrlms_rrx
Solid double whiteMarkings/Japan/SolidDoubleWhite_JP.rrlms_rrx
Solid double yellowMarkings/Japan/SolidDoubleYellow_JP.rrlms_rrx

Germany-specific markings:

TypeAsset Path
Stop lineMarkings/Germany/StopLine_DE.rrlms_rrx
CrosswalkMarkings/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)

TypeAsset Path
Arrow leftAssets/Stencils/Stencil_ArrowType4L.svg
Arrow rightAssets/Stencils/Stencil_ArrowType4R.svg
STOP textAssets/Stencils/Stencil_STOP.svg

Materials

PurposeAsset Path
Road surfaceAssets/Materials/Asphalt1.rrmtl
Sidewalk / concreteAssets/Materials/Concrete1.rrmtl
Ground / grassAssets/Materials/Grass1.rrmtl

Default Assets

These are the project-wide defaults (from DefaultAssets.xml):

NamePath
Island Curb MaterialAssets/Materials/Concrete1.rrmtl
Blank SignAssets/Signs/US/White_Blank_US.svg_rrx
Blank Warning SignAssets/Signs/US/Yellow_Blank_US.svg_rrx
Surface MaterialAssets/Materials/Grass1.rrmtl
CrosswalkAssets/Markings/SimpleCrosswalk.rrcws
Stop LineAssets/Markings/StopLine.rrlms
Parking Space MarkingAssets/Markings/SolidSingleWhite.rrlms
Road Surface MaterialAssets/Materials/Asphalt1.rrmtl
Road Center MarkingAssets/Markings/SolidDoubleYellow.rrlms
Dashed Road MarkingAssets/Markings/DashedSingleWhite.rrlms
Road Outer BoundaryAssets/Markings/SolidSingleWhite.rrlms
Road Inner BoundaryAssets/Markings/SolidSingleYellow.rrlms
One Way PassingAssets/Markings/DashedSolidYellow.rrlms
VehicleAssets/Vehicles/Sedan.fbx

Usage Pattern (MATLAB)

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Roadrunner Asset Mapping AI 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.

Why use Roadrunner Asset Mapping on TypingMind?

Because you install it once and use it with any model. Roadrunner Asset Mapping is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Roadrunner Asset Mapping in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/automotive/roadrunner-asset-mapping. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Roadrunner Asset Mapping?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Roadrunner Asset Mapping?

As many as you like. As long as a model supports skills, you can use Roadrunner Asset Mapping with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Roadrunner Asset Mapping AI skill free?

It is published on GitHub by matlab. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇