User Tools

Site Tools


gazebo:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gazebo:install [2017/07/10 11:41] – [Ubuntu 16.04] typosgazebo:install [2023/03/06 10:31] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Check your version of Ubuntu using:
 +
 +<code=bash> lsb_release -a </code>
 +
 +These instructions assume that you are using a **catkin workspace**, which you should definitely get familiar with [[http://wiki.ros.org/catkin/Tutorials | here]]). Focus on tutorials 1-3 for now.
 +
 ===== Ubuntu 16.04 Flavors ===== ===== Ubuntu 16.04 Flavors =====
  
 ==== ROS Kinetic Kame New Install ==== ==== ROS Kinetic Kame New Install ====
  
-One big advantage of running ROS Kinetic Kame on Ubuntu 16.04 is that Kinetic comes with Gazebo 7.0 as part of the full ROS installation, so you don’t have to worry about installing 7.5 from source.+One big advantage of running ROS Kinetic Kame on Ubuntu 16.04 is that Kinetic comes with Gazebo 7.0 as part of the **full** ROS installation, so you don’t have to worry about installing 7.5 from source.
  
 === Setting up the basics === === Setting up the basics ===
Line 11: Line 17:
 === Installing ROS (Kinetic Kame) === === Installing ROS (Kinetic Kame) ===
  
-See the guide [[http://wiki.ros.org/kinetic/Installation/Ubuntu | here]] for the basic installation of ROS Kinetic Kame for Ubuntu 16.04+See the guide [[http://wiki.ros.org/kinetic/Installation/Ubuntu | here]] if you would prefer the **basic** installation of ROS Kinetic Kame for Ubuntu 16.04.
  
 <code=bash> sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' </code> <code=bash> sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' </code>
Line 45: Line 51:
 <code=bash> source devel/setup.bash </code> <code=bash> source devel/setup.bash </code>
  
-=== Installing Misc Packages you may need ===+=== Installing Gazebo 7.0 === 
 + 
 +<code=bash> sudo apt-get install ros-kinetic-turtlebot-gazebo </code> 
 + 
 +=== Installing miscellaneous packages you may need ===
  
 <code=bash> sudo apt-get install ros-kinetic-turtlebot-teleop </code> <code=bash> sudo apt-get install ros-kinetic-turtlebot-teleop </code>
Line 52: Line 62:
  
 ===== Ubuntu 14.04 Flavors ===== ===== Ubuntu 14.04 Flavors =====
 +
 +The ROS Indigo Igloo, Gazebo and Turtlebot combination is relatively stable and seems to have the most support.
  
 ==== ROS Indigo Igloo Preinstalled Virtual Machine ==== ==== ROS Indigo Igloo Preinstalled Virtual Machine ====
Line 59: Line 71:
 Instructions can be found [[http://nootrix.com/software/ros-indigo-virtual-machine/ | here]]. Instructions can be found [[http://nootrix.com/software/ros-indigo-virtual-machine/ | here]].
  
-The actual download can be found [[http://nootrix.com/downloads/#RosVM | here]]. +The actual download can be found [[http://nootrix.com/downloads/#RosVM | here]]. (Download the 64 bit version if you have enough RAM).
- +
-Download the 64 bit version if you have enough RAM.+
  
 ==== ROS Indigo Igloo New Install ==== ==== ROS Indigo Igloo New Install ====
  
-Below are the instructions for installing the turtlebot and gazebo on a 14.04 flavor of Ubuntu with ROS Indigo.  This combination seems to have the most support and is relatively stable. Don't miss the 'pyqt4-dev-tools', several others have.+Below are the instructions for a **full** installation of ROS Indigo Igloo, Gazebo and Turtlebot on a 14.04 flavor of Ubuntu.
  
-The instructions also assume that you are using a **catkin workspace**, which you definitely should get familiar with (see these [[http://wiki.ros.org/catkin/Tutorials | tutorials]]). Tutorials 1-are very useful for the time being; don't worry about Tutorial 4.+=== Setting up the basics === 
 + 
 +<code=bash> sudo apt-get update </code> 
 + 
 +Install the synaptic package manager 
 +<code=bash> sudo apt-get synaptic </code> 
 + 
 +Download “Muon Discover” from the app store 
 + 
 +=== Installing ROS (Indigo Igloo) === 
 + 
 +See the guide [[http://wiki.ros.org/indigo/Installation/Ubuntu| here]] if you would prefer the **basic** installation of ROS Indigo Igloo for Ubuntu 14.04. 
 + 
 +=== Setting up catkin workspace (Indigo Igloo) === 
 + 
 +Following the tutorial [[http://wiki.ros.org/catkin/Tutorials/create_a_workspace here.]] 
 + 
 +<code=bash> source /opt/ros/indigo/setup.bash </code> 
 + 
 +<code=bash> mkdir -p ~/catkin_ws/src </code> 
 + 
 +<code=bash> cd ~/catkin_ws/src </code> 
 + 
 +<code=bash> cd ~/catkin_ws/ </code> 
 + 
 +<code=bash> catkin_make </code> 
 + 
 +<code=bash> source devel/setup.bash </code> 
 + 
 +=== Installing Gazebo 7.5 === 
 + 
 +Following the links [[http://gazebosim.org/tutorials?tut=ros_wrapper_versions#UsingaspecificGazeboversionwithROS | here]] and [[http://gazebosim.org/tutorials?tut=ros_wrapper_versions | here.]] 
 + 
 +<code=bash> sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -scmain" > /etc/apt/sources.list.d/ros-latest.list' </code> 
 + 
 +<code=bash> sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 </code> 
 + 
 +<code=bash> sudo apt-get update </code> 
 + 
 +<code=bash> sudo apt-get install ros-indigo-desktop-full ros-indigo-turtlebot-simulator ros-indigo-turtlebot-teleop </code> 
 + 
 +<code=bash> sudo rosdep init </code> 
 + 
 +<code=bash> rosdep update </code> 
 + 
 +<code=bash> sudo apt-get install python-rosinstall </code> 
 + 
 +<code=bash> //sudo apt-get remove '.*gazebo.*' '.*sdformat.*' '.*ignition-math.*' '.*ignition-msgs.*' '.*ignition-transport.*' </code> 
 + 
 +<code=bash> sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' </code> 
 + 
 +<code=bash> wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - </code> 
 + 
 +<code=bash> sudo apt-get update </code> 
 + 
 +<code=bash> export ROS_DISTRO=indigo </code> 
 + 
 +<code=bash> sudo apt-get install ros-$ROS_DISTRO-gazebo7-ros-pkgs </code> 
 + 
 +<code=bash> sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential </code> 
 + 
 +<code=bash> rosinstall_generator turtlebot_simulator --rosdistro indigo --deps --exclude RPP kobuki_gazebo_plugins > gazebo.rosinstall </code> 
 + 
 +<code=bash> wstool init -j10 src gazebo.rosinstall </code> 
 + 
 +<code=bash> rosdep install --from-paths src --ignore-src </code> 
 + 
 +<code=bash> catkin_make </code> 
 + 
 + 
 +==== ROS Indigo Igloo Already Installed ==== 
 + 
 +Below are the instructions for installing the Turtlebot and Gazebo on a 14.04 flavor of Ubuntu with ROS Indigo. 
 + 
 +The procedure below only includes dependencies that are not immediately apparent from compiler error messages. You will likely need to install others packages/dependencies, but you should be able to figure out what they are from the messages.
  
-The procedure below only includes dependencies that are not immediately apparent from compiler error messages. You will likely need to install others packages/dependencies, but should be able to figure out what they are from the messages.  Here goes: 
 <code=bash>sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' </code> <code=bash>sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' </code>
 +
 <code=bash>wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - </code> <code=bash>wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - </code>
 +
 <code=bash>sudo apt-get update</code> <code=bash>sudo apt-get update</code>
 +
 <code=bash>sudo apt-get install ros-$ROS_DISTRO-gazebo7-ros-pkgs pyqt4-dev-tools</code> <code=bash>sudo apt-get install ros-$ROS_DISTRO-gazebo7-ros-pkgs pyqt4-dev-tools</code>
 +
 <code=bash>cd {your catkin workspace}/src</code> <code=bash>cd {your catkin workspace}/src</code>
 +
 <code=bash>git clone https://github.com/turtlebot/turtlebot_simulator.git -b indigo</code> <code=bash>git clone https://github.com/turtlebot/turtlebot_simulator.git -b indigo</code>
 +
 <code=bash>git clone https://github.gatech.edu/ivabots/kobuki_desktop.git -b indigo</code> <code=bash>git clone https://github.gatech.edu/ivabots/kobuki_desktop.git -b indigo</code>
 +
 <code=bash>cd ..</code> <code=bash>cd ..</code>
 +
 <code=bash>catkin_make</code> <code=bash>catkin_make</code>
  
gazebo/install.1499701292.txt.gz · Last modified: 2023/03/06 10:31 (external edit)