メインコンテンツ

シーン オーサリング用の MATLAB 関数

R2026b
MATLAB® を使用して、道路、車線などの RoadRunner シーン要素を作成および変更する (Automated Driving Toolbox™ が必要)

シーン オーサリング用の MATLAB 関数を使用して、RoadRunner のシーンに道路の追加、道路のジオメトリの変更、車線の追加などの編集を MATLAB コマンド ライン インターフェイスからプログラムにより行えます。プログラムによりシーンを作成することで、アプリケーションを切り替えることなくシーンを素早く構築し、反復的なオーサリング タスクを自動化し、自動テスト用に複数のシーンのバリエーションを生成することができます。

これらの関数には、Automated Driving Toolbox ライセンスが必要です。

関数

すべて展開する

roadrunnerAPIRoadRunner authoring API (R2025a 以降)
ProjectSpecify RoadRunner project folder (R2025a 以降)
SceneCurrent RoadRunner scene (R2025a 以降)
createAsset新しいアセットの作成 (R2025a 以降)
getAsset指定したアセットのオブジェクトを抽出 (R2025a 以降)

道路タイプの定義

addLineArcRoadAdd road with line-arc horizontal curve type to RoadRunner scene (R2025a 以降)
addClothoidFitRoadAdd clothoid curve type road to RoadRunner scene (R2025a 以降)
addSegmentedRoadAdd road with segmented curve type to RoadRunner scene (R2025a 以降)

道路レイアウト

RoadSpecify road in RoadRunner scene (R2025a 以降)

水平方向の道路曲線のジオメトリの定義

addControlPointAdd control point to line-arc road curve (R2025a 以降)
addLineAdd new line segment to horizontal curve of segmented road (R2025a 以降)
addArcAdd new arc segment to horizontal curve of segmented road (R2025a 以降)
addSpiralAdd new spiral segment to horizontal curve of segmented road (R2025a 以降)
addParametricCubicAdd new parametric cubic segment to horizontal curve of segmented road (R2025a 以降)

水平方向の曲線のタイプ

LineArcRoadCurveSpecify line-arc road curve in RoadRunner scene (R2025a 以降)
LineArcRoadCurvePointSpecify control point on line-arc road curve in RoadRunner scene (R2025a 以降)
SegmentedRoadCurveDefine horizontal curve of segmented road (R2025a 以降)

垂直方向の道路曲線のジオメトリの定義

insertNodeInsert node in span sequence (R2025a 以降)

垂直方向の道路曲線のタイプ

SpanSequenceDefine sequence of nodes connected by spans (R2025a 以降)
SpanSequenceNodeDefine span sequence node in span sequence (R2025a 以降)
SpanSequenceSpanDefine span between two nodes in span sequence (R2025a 以降)

Lane オブジェクトの抽出

LaneRoadRunner シーンの道路上の車線 (R2025a 以降)
ReferenceLaneReference lane of road in RoadRunner scene (R2025a 以降)

車線の追加

addLaneToRightAdd lane to right side of specified lane (R2025a 以降)
addLaneToLeftAdd lane to left side of specified lane (R2025a 以降)

車線区分線プロファイルの定義

LaneMarkingProfileMarking profile for lane boundaries in RoadRunner scene (R2025a 以降)
LaneMarkingStyleMarking style of lane boundary in RoadRunner scene (R2025a 以降)
LaneMarkingSpanSpan in lane marking profile in RoadRunner scene (R2025a 以降)
LaneMarkingNodeNode in lane marking profile in RoadRunner scene (R2025a 以降)

車線幅プロファイルの定義

LaneWidthProfileWidth profile for lane boundaries in RoadRunner scene (R2025a 以降)
LaneWidthSpanSpan in lane width profile in RoadRunner scene (R2025a 以降)
LaneWidthNodeNode in lane width profile in RoadRunner scene (R2025a 以降)
SuperElevationCurveRoad superelevation or banking angle profile (R2025b 以降)
SuperElevationNodeRoad superelevation or banking angle at point (R2025b 以降)
SuperElevationSpanBanking angle transition between adjacent superelevation nodes along road (R2025b 以降)
addSuperElevationAdd or update road superelevation or banking angle at point (R2025b 以降)
LateralProfileLateral profile of road (R2026a 以降)
LateralProfileNodeNode in lateral profile (R2026a 以降)
LateralProfileSpanSpan in lateral profile in RoadRunner scene (R2026a 以降)
CrossSectionCurveCross-section profile of road (R2026a 以降)
CrossSectionNodeNode in cross-section profile (R2026a 以降)
CrossSectionSpanSpan in cross-section profile (R2026a 以降)
addLateralHeightAdd lateral height variation to road (R2026a 以降)

junction の作成および変更

JunctionJunctions in RoadRunner scene (R2026b 以降)
addJunctionAdd junction to RoadRunner scene (R2026b 以降)
clearMarkingsInJunctionClear lane markings in junction (R2026b 以降)

junction マヌーバーの管理

ManeuverManeuver roads in junction (R2026b 以降)
addAutomaticManeuversAdd automatic maneuvers to junction (R2026b 以降)
addManeuverAdd maneuver roads to junction (R2026b 以降)

コーナー ジオメトリの変更

CornerCorner of junction connecting edges of two adjacent approach roads (R2026b 以降)
setRadiusSet corner radius (R2026b 以降)

道路のオーバーラップの管理

OverlapGroupOverlap group of road (R2026b 以降)
addOverlapGroupAdd overlap group (R2026b 以降)
getRoadOverlapsReturns distance ranges where two roads overlap (R2026b 以降)

junction トポロジのクエリ

getLanesQuery direction specific lanes on road relative to junction (R2026b 以降)
getConnectedRoadsQuery approach roads connected by corner (R2026b 以降)
getConnectedRoadOrientationsQuery orientation of connected approach roads (R2026b 以降)
getJunctionsReturns all junctions for road (R2026b 以降)

注目の例