Cannot export .rrhd file from current scenes in RoadRunner R2024a
63 views (last 30 days)
Show older comments
JING XIE
on 11 Nov 2024 at 1:48
Commented: Manisha Das
on 14 Nov 2024 at 10:31
I am using RoadRunner R2024a. Here is the exporting options from my roadrunner, but I cannot find the option which can export scenes to .rrhd file.
And in this website, https://ww2.mathworks.cn/help/roadrunner/ug/export-to-rrhdmap.html?searchHighlight=rrhd&s_tid=srchtitle_support_results_2_rrhd. This tutorial has the option to export scenes to .rrhd file.
So what happened with my software?
1 Comment
Sathvik
on 11 Nov 2024 at 4:24
Hi
I am using RoadRunner R2024a Update 4 and I see this option. Are you using the latest update to RoadRunner? If not, can you update RoadRunner and check if you still do not find the option to export?
Accepted Answer
Shuba Nandini
on 11 Nov 2024 at 5:47
Edited: Shuba Nandini
on 11 Nov 2024 at 5:49
Hello,
I understand that you are unable to see the "RoadRunner HD Map (.rrhd)" option in the export dropdown menu within the RoadRunner GUI.
Kindly follow the below workarounds to resolve the issue through a programmatic approach:
- Export the driving scenario directly to a .rrhd binary file by using the "export" function as shown in the below command:
export(scenario,"RoadRunner HD Map","<Scenario Name>.rrhd")
- You can also first get the RoadRunner HD Map object for the scenario and write the RoadRunner HD Map to a .rrhd binary file using the following commands:
rrMap = getRoadRunnerHDMap(scenario);
write(rrMap,'4wayIntersection.rrhd')
Additionally, please ensure that you are using the latest version of RoadRunner to check if the issue persists.
Kindly refer to the following MATLAB documentation links to know more about "export", "write" functions and reference example:
- https://in.mathworks.com/help/driving/ref/drivingscenario.export.html
- https://www.mathworks.com/help/driving/ref/roadrunnerhdmap.write.html
- https://in.mathworks.com/help/driving/ref/drivingscenario.getroadrunnerhdmap.html
I hope this helps you to resolve the issue!
2 Comments
Manisha Das
on 14 Nov 2024 at 10:31
Hello,
I can understand from your question that you want to export a scene to .rrhd file from RoadRunnr App UI but are unable to see the export option for the same.
Support to export a RoadRunner Scene to .rrhd file is enabled since R2024a Update 3. To use this feature, you have to update your R2024a installer to get the most recent version of R2024a.
To know more about the update process, please refer following document.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!