- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add matlab/matlab-agentic-toolkit --skill roadrunner-asset-mapping -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add matlab/matlab-agentic-toolkit --skill roadrunner-asset-mapping -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add matlab/matlab-agentic-toolkit --skill roadrunner-asset-mapping -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add matlab/matlab-agentic-toolkit --skill roadrunner-asset-mapping -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/matlab/matlab-agentic-toolkit/tree/HEAD/skills-catalog/automotive/roadrunner-asset-mappingTừ nhà phát hành
Consolidated lookup tables for mapping source map format elements to RoadRunner project asset paths. All paths are relative to the project Assets/ folder.
.rrlms asset pathsroadrunner-rrhd-authoringroadrunner-convert-lanelet2-to-rrhdroadrunner-import-sceneAssets/ — always prefix when constructing RelativeAssetPath objects..rrlms = lane marking style, .rrcws = crosswalk style, .rrpms = polygon marking style, .svg_rrx = sign. Using wrong extension causes "Asset file is missing" on import..svg_rrx extension (NOT .svg). The .svg paths in XML configs are internal references only.Stop_JP_01.svg_rrx, MaxSpeedLimit_30_DE.svg_rrx). The old Sign_<code>.svg naming is obsolete.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 formatThese XML files are located in the RoadRunner project's configuration directory (typically <RoadRunner Project>/Configuration/).
See references/laneMarkings.md for full mapping table.
Key patterns:
Assets/Markings/ with .rrlms extensionSolidDoubleYellow.rrlmsSolidSingleWhite.rrlmsSee references/signs.md for full mapping table.
CRITICAL: Asset File Extension
.svg_rrx extension on disk (NOT .svg).svg paths in project XML configs are internal references only.svg_rrx in RelativeAssetPath objects — using .svg causes "Could not find asset" errorsMANDATORY: Runtime Asset Discovery
dir(fullfile(projFolder, 'Assets', 'Signs', region, category, '*.svg_rrx')) to discover available signsKey patterns:
Assets/Signs/US/Regulatory Signs/ or Assets/Signs/US/Warning Signs/Assets/Signs/Germany/Regulatory Signs/Assets/Signs/Japan/Regulatory Signs/ or Assets/Signs/Japan/Warning Signs/GeoOrientedBoundingBox (Center + Dimension + GeoOrientation)Naming convention: Signs use descriptive English names with region suffix:
<Description>_<Region>.svg_rrx (e.g., Stop_JP_01.svg_rrx, MaxSpeedLimit_30_JP.svg_rrx)Sign_<code>.svg naming is obsolete — files do NOT exist on diskRegion 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):
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.
See references/barriers.md for full mapping table.
Key patterns:
Assets/Extrusions/ with .rrext or .rrext.rrmeta extensionroadrunner.hdmap.BarrierType with ExtrusionPathSee references/staticObjects.md for full mapping table.
Key patterns:
Assets/Props/ subdirectories (Trees, Signals, TrafficControl, etc.)roadrunner.hdmap.StaticObjectType with AssetPathGeoOrientedBoundingBox for placementSee references/laneTypes.md for full mapping table.
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):
Japan-specific markings (.rrlms_rrx / .rrcws_rrx):
Germany-specific markings:
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.
These are the project-wide defaults (from DefaultAssets.xml):
% 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.
Assets/Markings/<Name>.<ext> — extension determines type (.rrlms, .rrcws, .rrpms)Assets/Markings/<Region>/<Name>_<CC>.<ext>_rrx (e.g., _JP.rrlms_rrx)Assets/Signs/<Region>/<Category>/<Description>_<CC>.svg_rrx (NOT .svg)Assets/Extrusions/<Name>.rrext (or .rrext.rrmeta)Assets/Props/<Category>/<Name>.fbx (or .fbx_rrx)RelativeAssetPath(AssetPath="...") for RRHD construction (Name=Value syntax)SolidDoubleYellow.rrlms; default outer boundary: SolidSingleWhite.rrlmsCopyright 2026 The MathWorks, Inc.
>
---name: roadrunner-asset-mappingdescription: >---# skills-catalog/automotive/roadrunner-asset-mapping/SKILL.mdCâu hỏi thường gặp
Tải skills-catalog/automotive/roadrunner-asset-mapping/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/matlab/matlab-agentic-toolkit.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.