Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 2.4 KB

README.md

File metadata and controls

45 lines (40 loc) · 2.4 KB

Robocon Simulation

Ros and Gazebo


Robot Operating System (ROS) is an open-source robotics middleware suite. ROS is a collection of software frameworks for robot software development, it provides services for hardware abstraction, low-level device control, message-passing between processes, and package management.Gazebo is a full-fledged simulation environment that offers the ability to accurately and efficiently simulate populations of robots in complex indoor and outdoor environments.

Installing ROS2 Foxy Fitzroy

Download ROS2 Foxy

Run the following commands after the download
  • cd ~/Downloads
  • chmod a+x foxy_install_aim.sh
  • ./foxy_install_aim.sh
  • source ~/.bashrc

Installing Robocon Gazebo

  • cd ~
  • mkdir -p robows/src && cd robows/src
  • git clone https://github.com/pr-db/sim_gazebo_bringup.git -b master
  • cd ~/robows
  • colcon build --packages-select sim_gazebo_bringup --symlink-install
  • echo "source /home/$USER/robows/install/setup.bash" >> ~/.bashrc
  • source ~/.bashrc
  • ros2 launch sim_gazebo_bringup sim_gazebo.launch.py

After running the above command you will be asked to run few commands. Copy them and run them before moving to next step

Running Robocon Simulation

You've successfully installed Robocon Gazebo! For the siulation, run the command below

  • ros2 launch sim_gazebo_bringup sim_gazebo.launch.py