주요 콘텐츠

장면 작성을 위한 MATLAB 함수

R2026b
MATLAB®을 사용하여 액터, 논리 단계, 웨이포인트와 같은 RoadRunner 시나리오 요소를 생성하고 수정합니다.

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 이후)

Lane 객체 추출하기

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 이후)
LateralProfileLateral profile of road (R2026a 이후)
LateralProfileNodeNode in lateral profile (R2026a 이후)
LateralProfileSpanSpan in lateral profile in RoadRunner scene (R2026a 이후)
CrossSectionCurveCross-section profile of road (R2026a 이후)
CrossSectionSpanSpan in cross-section profile (R2026a 이후)
CrossSectionNodeNode in cross-section profile (R2026a 이후)
addLateralHeightAdd lateral height variation to road (R2026a 이후)

분기점 생성 및 수정하기

JunctionJunctions in RoadRunner scene (R2026b 이후)
addJunctionAdd junction to RoadRunner scene (R2026b 이후)
clearMarkingsInJunctionClear lane markings in junction (R2026b 이후)

분기점 기동 관리하기

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 이후)

분기점 토폴로지 쿼리하기

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 이후)

추천 예제