Open MichaelW93 opened 3 years ago
Hey @MichaelW93, This week I had to do the same thing. My steps to get my custom map into Autoware were:
RoadRunner - OpenDRIVE file (.xodr)
Assure Mapping Tool - Lanelet2 (.xodr to .osm)
Autoware lanelet2aisan - Aisan vector map (.osm to .csv)
Place your map files into their respective folder inside Autoware's docker like this:
Launch Autoware
roslaunch carla_autoware_agent carla_autoware_agent.launch town:=MyCustomMap
Notes:
Hey @Esquilli , I'm new to this and I'm trying to convert .osm to .csv using lanelet2aisan. Can you please guide me on where to run the command(steps required) rosrun lanelet_aisan_converter lanelet2aisan _map_file:=<path to lanelet map> _origin_lat:=<latitude of origin for XYZ projection> _origin_lon:=<longitude of origin for XYZ projection> _save_dir:=<optional: path to save dir>
Thanks!
@athulg You need to run that command inside the carla-autoware docker. You can run roscore
outside the docker, but that commands still needs to be run inside the docker container.
@Esquilli Thanks a lot!
@athulg Let me know if after exporting the map and trying it on Autoware you get the same issue as me (mismatched/misaligned maps). Did you used Assure mapping tool?
@Esquilli I'm sorry I actually don't remember how I got the .osm file. But, now I've a different issue after exporting it on Autoware (Unintialized quaternion, assuming identity) in Rviz
I haven't experienced that issue myself, so I don't know how to help you on that one.
Hello,
we have created a custom Map for Carla, which works just fine. Now we want to use autoware to drive our vehicle in the town. I was already able to create a point cloud of the Town using the pcl_recorder. We now want autoware to calculate its own path. For this, autoware requires a vector map of the town afaik Until now I was not able to find a way to convert our town into the proper format needed by autoware. So how do I create a vector map of our carla map for autoware, or how was it done with the already provided ones. Much thanks in advance!