how to let lane begin form [0,0] in Roadrunner?
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Xinyu Yang
el 22 de Oct. de 2024 a las 13:41
Comentada: Xinyu Yang
el 22 de Oct. de 2024 a las 18:34
Hallo everyone,
I'm using "Generate High Definition Scene from Lane Detections and OpenStreetMap" to build road and lanes, but after follow these steps, I got road and lanes in Roadrunner that didn't begin from [0,0]. I tried to change the parameter but it still donest work.
Could anyone please give me some methods to solve this problem? Thank you.
Best regards,
Xinyu
0 comentarios
Respuestas (1)
Simone
el 22 de Oct. de 2024 a las 15:34
Hi Xinyu,
you need to adjust the World Origin. This can be done either interactivley in RoadRunner or programmatically,
Interactive:
World setting tool: Change origin
Programmatically using changeWorldSettings command:
% rrApp = roadrunner(rrProjectPath,InstallationFolder=rrAppPath);
% importScene(rrApp,fullfile(pwd,"RoadRunnerHDMapFromLanes.rrhd"),"RoadRunner HD Map");
changeWorldSettings(rrApp, WorldOrigin=[45.5286873 -122.6214463],TransformScene=true);
I am curious: why is it important that your road starts at [0,0]?
Regards,
Simone
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!