This Repository will explain my 3rd task in Robotics and AI department at SMART METHODS summer training.
- Use another ROS robot to creat and save a map.
-
Using this package to provide a simulation environment of a warehouse. A robot is simulated at the center of the environment, with 2D laser scanner provided.
-
Install ROS package
sudo apt-get install ros-melodic-hector-trajectory-server ros-melodic-slam-gmapping ros-melodic-navigation
3.Clone repositorycd ~/catkin_ws/src
git clone https://github.com/mo7ammed-saleh/warehouse_simulation_toolkit
cd ..
catkin_make
source ~/catkin_ws/devel/setup.bash
-
Launch ROS
roslaunch warehouse_simulation warehouse_simulation.launch
-
Autonomous Navigation by setting a target points in RVIZ and the robot will navigate to the location in gazebo.
- click 2d nav goal button on rviz and then click any points you want on the map.
-
When the map is created successfully in Rviz, open new terminal and save it using the command
rosrun map_server map_saver -f ~/map
-
Refrences: (https://github.com/Amg0z/warehouse_simulation_toolkit).
-
Task is Done 😍