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.
0 个评论
回答(1 个)
Nishan Nekoo
2023-11-20
Hi Prajwal,
I assume this is the same question as this thread: https://www.mathworks.com/matlabcentral/answers/2043147-selecting-waypoints-for-a-roadrunner-scene-to-run-on-ue-using-simulink?s_tid=srchtitle
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:
https://www.mathworks.com/help/roadrunner-scenario/ug/simulate-roadrunner-scenario-using-matlab.html
Nishan
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Scene and Scenario Management 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!