Code Monkey home page Code Monkey logo

Comments (7)

Esquilli avatar Esquilli commented on June 13, 2024

Hey @MichaelW93, This week I had to do the same thing. My steps to get my custom map into Autoware were:

  1. RoadRunner - OpenDRIVE file (.xodr)
  2. Assure Mapping Tool - Lanelet2 (.xodr to .osm)
  3. Autoware lanelet2aisan - Aisan vector map (.osm to .csv)
  4. Place your map files into their respective folder inside Autoware's docker like this:
  • PCD: /home/autoware/autoware-contents/maps/point_cloud_maps/MyCustomMap.pcd
  • Aisan: /home/autoware/autoware-contents/maps/vector_maps/asian/MyCustomMap./<'all generated files'>.csv
  • Lanelet2: /home/autoware/autoware-contents/maps/vector_maps/lanelet2/MyCustomMap.osm
  1. Launch Autoware
    roslaunch carla_autoware_agent carla_autoware_agent.launch town:=MyCustomMap

Notes:

  • Currently, CARLA's Autoware only load the PCD and Aisan maps.
  • I'm having an issue in which the PCD and the vector map doesn't match. They are misaligned.

from carla-autoware.

athulg avatar athulg commented on June 13, 2024

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!

from carla-autoware.

Esquilli avatar Esquilli commented on June 13, 2024

@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.

from carla-autoware.

athulg avatar athulg commented on June 13, 2024

@Esquilli Thanks a lot!

from carla-autoware.

Esquilli avatar Esquilli commented on June 13, 2024

@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?

from carla-autoware.

athulg avatar athulg commented on June 13, 2024

@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

from carla-autoware.

Esquilli avatar Esquilli commented on June 13, 2024

I haven't experienced that issue myself, so I don't know how to help you on that one.

from carla-autoware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.