How do I create "Junction ID" & "Road ID" in RoadRunner?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
예은
el 18 de Jul. de 2024
Comentada: Umar
el 19 de Jul. de 2024
I am using RoadRunner R2024a right now, and I want to assign road IDs to the roads I generate and junction IDs to the junctions.
If you look at the link below,
at 4:42, you can see junction IDs and road IDs in the attributes.
Even if I follow the video exactly, nothing appears in my attributes.
So I looked at the answer of other person who asked similar question.
It says I have to buy matlab and automated driving toolbox, but that costs too much money.
I just want to add something simple like an ID to the attributes.
Is there really no way other than buying matlab and the toolbox?
9 comentarios
Umar
el 19 de Jul. de 2024
Hi 예은,
Make sure to include the directory where multiply_numbers.m is located, not just the RoadRunner installation directory.Here is an example of how you can add the path correctly:
addpath('C:\Program Files\RoadRunner R2024a'); % Add RoadRunner directory to the path
addpath('C:\Program Files\RoadRunner R2024a\YOUR_SCRIPT_DIRECTORY'); % Add the directory containing multiply_numbers.m
By adding both the RoadRunner directory and the specific directory containing your script, Matlab will be able to locate and execute multiply_numbers.m successfully.
Respuesta aceptada
Angelo Yeo
el 19 de Jul. de 2024
Editada: Angelo Yeo
el 19 de Jul. de 2024
Showing Junction ID, etc. in the attribute panel shown in the video is a function that can only be seen with RoadRunner's developer license, and is not available to end users as of now.
End users can use the OpenDRIVE Export Preview Tool to view Lane Id, Road Id, and Junction Id.
- With any "rrscene" file open, click the OpenDRIVE Export Preview Tool to “Export” it. (There is no need to change any special settings.)
- With the OpenDRIVE Export Preview Tool activated, you can check the Id values by clicking on a road, etc.
2 comentarios
Angelo Yeo
el 19 de Jul. de 2024
@예은, I don't think the IDs are changing for every export for me. Can you show your issue with screenshots? Also, can you let me reproduce the issue with given example scenes in RR?
Also, unfortunately, the IDs are shown as "read-only" in Open DRIVE Export Preview Tool. If you want to change this, please reach out to MW technical support and apply for an enhancement reqruest.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!