This repository contains a URDF (Unified Robot Description Format) model for a robot, designed to work with Gazebo and integrated with ROS (Robot Operating System) and a video tutorial.
This repository is organized into several branches, each serving a specific purpose:
- base: Creates a simple URDF model
- base_sensors: Adds sensors to the robot
- navigation: Enables autonomous navigation (updated for ROS Melodic Morenia)
Please checkout the appropriate branch for your needs.
For a step-by-step guide on how to use this repository, please watch our tutorial video:
Based on https://github.com/richardw05/mybot_ws.git
- ./run_gazebo - launch gazebo world with mybot robot
- ./run_cmd - give linear and angular velocity to robot for circular motion
- ./run_rviz - visualization of robot with sensors in rviz
Grab willow_garage.pgm (107 MB) from https://drive.google.com/open?id=19qgc33GMiKADq-p_aDTKzgeXyQ7PxEfF for learned willow garage map.
sudo apt-get install ros-melodic-gazebo-ros
sudo apt-get install ros-melodic-turtlebot ros-melodic-turtlebot-apps ros-melodic-turtlebot-
interactions ros-melodic-turtlebot-simulator
- Changes to CMakeLists may be required before catkin_make
- Above recorded simulation is speed up 10 times
roslaunch mybot_gazebo mybot_world.launch
roslaunch mybot_navigation amcl_demo.launch
roslaunch mybot_description mybot_rviz_amcl.launch
- Use 2D Nav Goal in Rviz to Navigate
If you have any questions or issues, please open an issue in this repository or contact me at yeowh@hotmail.sg