- Ubuntu 18.04.
- 16gb RAM.
- Vulkan enabled GPU is preferred , Follow the LINK to check your GPU compatibility.
- Unreal Engine 4.24 , for build instructions follow LINK.
- Carla 0.9.8, for build instructions follow LINK.
- ROS Melodic , for install instructions follow LINK.
- Navigate to carla build directory , you should find
*.eggfile incarla/Dist/CARLA_Shipping_0.9.8-***********/LinuxNoEditor/PythonAPI/carla/dist/folder, which to be exported to python environment to run further simulations. Make sure you export appropiate egg file based on your preferred python version. - Install SLAM Nodes
- Install Gmapping by
sudo apt-get install ros-melodic-slam-gmapping. - Install Hector SLAM bysudo apt-get install ros-melodic-hector-slam. - Install RTAB-Map bysudo apt-get install ros-kinetic-rtabmap-ros. - Karto SLAM needs to be build from the source , follow standard ROS package installation procedure. The Kartoslam Github repo can be found LINK. - Clone the SLAM packages
https://github.com/prithvisekhar/ROS-AD-SLAM-Evaluation.git - Copy the ros-bridge contents to a ros workspace
srcfolder and build the workspace and source the workspace before running theroscore.
- Run Carla simulator by navigating to
carla/Dist/CARLA_Shipping_0.9.8-***********/LinuxNoEditor/and running./CarlaUE4.shif you are usingopenglthen you should pass-openglas configuration along with the carla launch command. it should open the simulator (Refer the below image as reference). For More info on graphics support follow this LINK
- Run the Carla ROS Client
roslaunch carla_ros_bridge carla_ros_bridge_with_example_ego_vehicle.launch, Refer the below image as reference
- Run the Gmapping Node
roslaunch carlabg Gmapping_Carla.launch, for configuration option seeros-bridge/carlabg/launchfolder. After mapping session is over save the map using map_saver toolrosrun map_server map_saver -f /path to your file. - Run the Hector SLAM Node
roslaunch carlabg Hectormapping_Carla.launch. Follow the same map saver command to save the map for Hector SLAM. - Run the Karto SLAM Node
roslaunch carlabg KartoSLAM2.launch. Follow the same map saver command but this time pass the map frame asmap2. - Launch the RTAB-Map Node
roslaunch carlabg RtabMapping_Carla.launch. RTAB Map can be directly saved from the RTAB map application.
- Run the Gmapping Node