Finding waypoints Road Runner in Road Runner

5 次查看(过去 30 天)
We are building a adaptive headlamps system and we used road runner for building our custom road Environment. We need the way points of the road so that car can follow that path.
Is there any method in road runner to get the waypoints in which car is travelling so that we can feed our car model to follow those path.
We are finding very difficult to find the waypoints by other means.

回答(1 个)

Nishan Nekoo
Nishan Nekoo 2023-11-20
Hi Prajwal,
I am copying my answer over:
One approach is try to export RoadRunner Scene as an OpenDrive file. Import the OpenDrive file into the Driving Scenario Designer (Requires Automated Driving Toolbox) and define the waypoints there.
Another approach is to use MATLAB functions and RoadRunner Scenario to simulate the scene and you can obtain the waypoints of the lanes from the simulation object. See the example below:
Nishan

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by