メインコンテンツ

シーン作成用の MATLAB 関数

アクター、論理位相、ウェイポイントなどの RoadRunner シナリオの要素を MATLAB® を使用して作成および変更

Automated Driving Toolbox™ には、MATLAB コマンド ライン インターフェイスから道路の追加、道路のジオメトリの変更、車線の追加などをすることで、RoadRunner のシーンをプログラムで作成できる関数が用意されています。シーンをプログラムで作成すると、シーンの作成をアプリケーションの切り替えなしですばやく行うことができ、繰り返し実行する作成タスクを自動化して、自動テスト用のシーン バリエーションを生成できます。

関数

すべて展開する

roadrunnerAPIRoadRunner authoring API (R2025a 以降)
ProjectSpecify RoadRunner project folder (R2025a 以降)
SceneCurrent RoadRunner scene (R2025a 以降)
createAssetCreate new asset (R2025a 以降)
getAssetExtract object for specified asset (R2025a 以降)

道路タイプの定義

addLineArcRoadAdd road with line-arc horizontal curve type to RoadRunner scene (R2025a 以降)
addSegmentedRoadAdd road with segmented curve type to RoadRunner scene (R2025a 以降)
addClothoidFitRoadAdd clothoid curve type road 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 以降)

車線オブジェクトの抽出

LaneLane on road in RoadRunner scene (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 以降)

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

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 以降)
SuperElevationCurveRoad superelevation or banking angle profile (R2026a 以降)
SuperElevationNodeRoad superelevation or banking angle at point (R2026a 以降)
SuperElevationSpanBanking angle transition between adjacent superelevation nodes along road (R2026a 以降)
addSuperElevationAdd or update road superelevation or banking angle at point (R2026a 以降)

注目の例