Difference between revisions of "Moving The P3DX In Gazebo"

From Lofaro Lab Wiki
Jump to: navigation, search
(Get code for moving the P3-DX)
(Get code for moving the P3-DX)
Line 14: Line 14:
 
The code you will use to move the P3-DX is in a ROS package on Github. First clone the package from Github into your catkin_ws.
 
The code you will use to move the P3-DX is in a ROS package on Github. First clone the package from Github into your catkin_ws.
  
   <nowiki>git clone https://github.com/SD-Robot-Vision/p3dx_mover.git</nowiki>
+
   <nowiki>$ git clone https://github.com/SD-Robot-Vision/p3dx_mover.git</nowiki>
  
 
Now use catkin_make after cd-ing into your catkin_ws.
 
Now use catkin_make after cd-ing into your catkin_ws.
  
   <nowiki>roscd</nowiki>
+
   <nowiki>$ roscd</nowiki>
   <nowiki>cd ..</nowiki>
+
   <nowiki>$ cd ..</nowiki>
   <nowiki>catkin_make</nowiki>
+
   <nowiki>$ catkin_make</nowiki>

Revision as of 18:39, 31 January 2015

Prerequisites: Ubuntu, Gazebo, and ROS

Our tutorials were made using Ubuntu 12.04 LTS. In order to move the P3-DX in Gazebo you will have to install Gazebo, you can do that here. In order to move the P3-DX in Gazebo, you must first install ROS. In our tutorial we used ROS Hydro. You can install ROS Hydro from here.

Obtaining the P3-DX model

Git clone P3-DX model from https://github.com/SD-Robot-Vision/PioneerModel.git

  git clone https://github.com/SD-Robot-Vision/PioneerModel.git

Install the P3-DX model in your catkin_ws by following the steps in the README of the git repository.

Get code for moving the P3-DX

The code you will use to move the P3-DX is in a ROS package on Github. First clone the package from Github into your catkin_ws.

  $ git clone https://github.com/SD-Robot-Vision/p3dx_mover.git

Now use catkin_make after cd-ing into your catkin_ws.

  $ roscd
  $ cd ..
  $ catkin_make