roadrunner-import-scene

Import RRHD or OpenDRIVE files into a RoadRunner scene from MATLAB.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you connect from MATLAB to a RoadRunner instance and reliably import HD map files (RRHD/OpenDRIVE) into a fresh scene for visualization and verification.

Core Features & Use Cases

  • Connect-first RoadRunner workflow: Reuses an existing RoadRunner instance when available, otherwise auto-launches one.
  • Safe, project-contained imports: Always stages the input file into the RoadRunner project folder before importing.
  • Verification-friendly import flow: Defaults to an RRHD “Load” step so you can validate the result before performing any build.
  • Supports common formats: Imports "RoadRunner HD Map" (.rrhd) and "OpenDRIVE" (.xodr).
  • Scene management: Creates a new scene and saves the resulting scene for later inspection.

Quick Start

Tell your AI agent to import lanelet2_map.rrhd into RoadRunner using the Load step for verification, then save the scene.

Frequently Asked Questions about roadrunner-import-scene

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

FAQPage Schema
How do I import an OpenDRIVE file into a RoadRunner scene from MATLAB?

Yes, RoadRunner HD Map files (.rrhd) can be imported into RoadRunner scenes from MATLAB for visual verification by staging the file in the project folder and using importScene with roadrunnerHDMapImportOptions.

How does MATLAB connect to RoadRunner before importing an HD map?

MATLAB connects to RoadRunner by calling roadrunner.connect(), which reuses an existing RoadRunner instance or automatically launches a new one to establish the session required for scene import.

Why should I stage an HD map file before importing it into RoadRunner?

Staging an HD map file into the RoadRunner project folder before importing ensures safe, project-contained operations and prevents path resolution errors during the importScene process.

Can I verify a Lanelet2 to RRHD conversion using RoadRunner scene import?

You can verify Lanelet2 to RRHD conversions by importing the resulting .rrhd file into a new RoadRunner scene using the Load step, allowing you to visually inspect the map before building.

What is the difference between Load and Build steps when importing a RoadRunner HD Map?

The Load step imports the RoadRunner HD Map for immediate visual verification without full processing, whereas Build constructs the final scene geometry, making Load the safer default for validation.