<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mediawiki.isr.tecnico.ulisboa.pt/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lestergarcia</id>
	<title>ISRWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://mediawiki.isr.tecnico.ulisboa.pt/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lestergarcia"/>
	<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/wiki/Special:Contributions/Lestergarcia"/>
	<updated>2026-06-26T12:39:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Vislab&amp;diff=3654</id>
		<title>Vislab</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Vislab&amp;diff=3654"/>
		<updated>2011-03-30T15:59:28Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Tutorials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Institutional information: &lt;br /&gt;
http://vislab.isr.ist.utl.pt&lt;br /&gt;
&lt;br /&gt;
Our YouTube channel, containing nice videos and demonstrations:&lt;br /&gt;
http://www.youtube.com/user/VislabLisboa&lt;br /&gt;
&lt;br /&gt;
Our internal video page on this wiki:&lt;br /&gt;
[[VisLab Videos]]&lt;br /&gt;
&lt;br /&gt;
== Research Topics ==&lt;br /&gt;
&lt;br /&gt;
* Machine Learning&lt;br /&gt;
* Computer Vision&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
&lt;br /&gt;
=== Current projects ===&lt;br /&gt;
&lt;br /&gt;
* First-MM - Flexible Skill Acquisition and Intuitive Robot Tasking for Mobile Manipulation (EC FP7, Feb. 2010 - Jul. 2013)&lt;br /&gt;
** http://www.first-mm.eu/&lt;br /&gt;
** The goal of First-MM is to build the basis for a new generation of autonomous mobile manipulation robots that can flexibly be instructed to perform complex manipulation and transportation tasks. The project will develop a novel robot programming environment that allows even non-expert users to specify complex manipulation tasks in real-world environments. In addition to a task specification language, the environment includes concepts for probabilistic inference and for learning manipulation skills from demonstration and from experience. &lt;br /&gt;
* HANDLE - Developmental Pathway Towards Autonomy and Dexterity in Robot In-Hand Manipulation (EC FP7, Feb. 2009 - Feb. 2013)&lt;br /&gt;
** http://www.handle-project.eu&lt;br /&gt;
** This project aims at providing advanced perception and control capabilities to the Shadow Robot hand, one of the most advanced robotic hands in mechanical terms. We follow some paradigms of human learning to make the system able to grasp and manipulate objects of different characteristics: learning by imitation and by self-exploration. Different object characteristics and usages (object affordances) determine the way the hand will perform the grasping and manipulation actions. &lt;br /&gt;
* RoboSoM - A Robotic Sense of Movement (EC FP7, Dec. 2009 - Dec. 2012)&lt;br /&gt;
** http://www.robosom.eu/&lt;br /&gt;
** This project aims at advancing the state-of-the-art in motion perception and control in a humanoid robot. The fundamental principles to explore are rooted on theories of human perception: Expected Perception (EP) and the Vestibular Unified Reference Frame.&lt;br /&gt;
&lt;br /&gt;
=== Past projects ===&lt;br /&gt;
&lt;br /&gt;
* RobotCub - Robotic Open-Architecture Technology for Cognition, Understanding and Behaviour (EC FP6, Sept. 2004 - Jan. 2010)&lt;br /&gt;
** http://www.robotcub.org&lt;br /&gt;
* URUS - Ubiquitous Networking Robotics in Urban Settings (EC FP6, Dec. 2006 - Nov. 2009)&lt;br /&gt;
** http://urus.upc.es&lt;br /&gt;
* CAVIAR - Context-Aware Vision Using Image-Based Active Recognition (EC FP6, 2002 - 2005)&lt;br /&gt;
** http://homepages.inf.ed.ac.uk/rbf/CAVIAR/&lt;br /&gt;
* MIRROR - Mirror Neurons for Recognition (EC FP5, 2001 - 2004)&lt;br /&gt;
&lt;br /&gt;
== People ==&lt;br /&gt;
&lt;br /&gt;
=== Permanent staff ===&lt;br /&gt;
&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~jasv/ José Santos-Victor]&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~alex Alexandre Bernardino]&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~jpc/ João Paulo Costeira]&lt;br /&gt;
* [http://welcome.isr.ist.utl.pt/people/index.asp?accao=showpeople&amp;amp;id_people=2 João Sentieiro]&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~jag/ José Gaspar]&lt;br /&gt;
&lt;br /&gt;
=== Researchers ===&lt;br /&gt;
&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~plinio/ Plinio Moreno]&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~ricardo/ Ricardo Ferreira]&lt;br /&gt;
&lt;br /&gt;
=== PhD students ===&lt;br /&gt;
&lt;br /&gt;
* Bruno Damas&lt;br /&gt;
* Dario Figueira&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~gsaponaro/ Giovanni Saponaro]&lt;br /&gt;
* Jonas Hörnstein&lt;br /&gt;
* Jonas Ruesch&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~mtaiana/ Matteo Taiana]&lt;br /&gt;
* Nuno Moutinho&lt;br /&gt;
* [http://welcome.isr.ist.utl.pt/people/index.asp?accao=showpeople&amp;amp;id_people=105 Pedro Ribeiro]&lt;br /&gt;
* Ravin DeSouza ([http://www.ist.utl.pt/en/about-IST/global-cooperation/IST-EPFL/ IST-EPFL])&lt;br /&gt;
* Sébastien Gay ([http://www.ist.utl.pt/en/about-IST/global-cooperation/IST-EPFL/ IST-EPFL])&lt;br /&gt;
* Urbain Prieur (IST-UPMC)&lt;br /&gt;
&lt;br /&gt;
=== Master&#039;s students ===&lt;br /&gt;
&lt;br /&gt;
* Ashish Jain&lt;br /&gt;
* Duarte Aragão&lt;br /&gt;
* Filipe Veiga&lt;br /&gt;
* Lester García&lt;br /&gt;
* Marco Henriques&lt;br /&gt;
&lt;br /&gt;
=== Other staff ===&lt;br /&gt;
&lt;br /&gt;
* Ana Santos (administrative)&lt;br /&gt;
* Nuno Conraria (engineering)&lt;br /&gt;
* Ricardo Nunes (engineering)&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
&lt;br /&gt;
* [http://roboticslab.uc3m.es/roboticslab/persona.php?id_pers=42 Carla González], Universidad Carlos III de Madrid, Spain&lt;br /&gt;
* [http://www.speech.kth.se/~giampi/ Giampiero Salvi], Royal Institute of Technology, Sweden &lt;br /&gt;
* [http://webdiis.unizar.es/~montesan/ Luis Montesano]&lt;br /&gt;
* Luís Vargas&lt;br /&gt;
* [http://www.isr.ist.utl.pt/~macl Manuel Lopes]&lt;br /&gt;
* Martim Brandão&lt;br /&gt;
* Mauricio Arias, Escuela de Ingeniería de Antioquia, Colombia&lt;br /&gt;
* [http://nicolagreggio.altervista.org/ Nicola Greggio], Sant&#039;Anna School of Advanced Studies, Pisa, Italy&lt;br /&gt;
* [http://www.gatv.ssr.upm.es/index.php/en/component/content/article/62 Nuria Sánchez], Universidad Politécnica de Madrid, Spain&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~rmcantin Rubén Martínez-Cantín]&lt;br /&gt;
&lt;br /&gt;
=== Past members ===&lt;br /&gt;
&lt;br /&gt;
* Afshin Dehghan&lt;br /&gt;
* Anastácia Rodrigues (administrative)&lt;br /&gt;
* António Bastos&lt;br /&gt;
* Bruno Dias&lt;br /&gt;
* Carlo Favali, visiting PhD student, University of Genoa, Italy&lt;br /&gt;
* Carlos Carreira, University of Valencia, Spain&lt;br /&gt;
* César Silva, Ph.D. (2001)&lt;br /&gt;
* Christian Wressnegger&lt;br /&gt;
* Claudia Deccó, visiting PhD student, University of São Paulo, Brazil&lt;br /&gt;
* Cláudia Soares&lt;br /&gt;
* Daniel Matter, IAESTE intern&lt;br /&gt;
* Diego Ortín, visiting PhD student, University of Zaragoza, Spain&lt;br /&gt;
* Etienne Grossmann&lt;br /&gt;
* Eval Bacca Cortes, visiting MSc student, University of Cali, Colombia&lt;br /&gt;
* Freek Stulp, visiting researcher, University of Groningen, The Netherlands and University of Edinburgh, UK&lt;br /&gt;
* Gianluca De Leo, University of Genoa, Italy&lt;br /&gt;
* Ivana Cingovksa, IAESTE intern&lt;br /&gt;
* [http://webdiis.unizar.es/~jminguez/ Javier Minguez], visiting PhD student, University of Zaragoza, Spain&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~maciel/ João Maciel], Ph.D. (2002)&lt;br /&gt;
* João Pimentel&lt;br /&gt;
* José Eduardo Vianna, Universidade Federal do Espírito Santo, Brazil&lt;br /&gt;
* Kristijan Petkov, summer 2010 IAESTE intern&lt;br /&gt;
* Lenildo Silva, visiting PhD student, Universidade Federal do Rio de Janeiro, Brazil&lt;br /&gt;
* Luís Jordão&lt;br /&gt;
* Marco Zucchelli, visiting PhD student, Royal Institute of Technology, Sweden &lt;br /&gt;
* Maria Nazarycheva&lt;br /&gt;
* Matteo Perrone, University of Genoa, Italy&lt;br /&gt;
* Miguel Praça&lt;br /&gt;
* Mišél Batmendijn&lt;br /&gt;
* Mohit Khurana, summer 2008 intern&lt;br /&gt;
* Niall Winters, visiting PhD student, Trinity College, Dublin, Ireland&lt;br /&gt;
* Nuno Gracias&lt;br /&gt;
* Nuno Pinho&lt;br /&gt;
* Raquel Vassallo, visiting PhD student, Universidade Federal do Espírito Santo, Brazil&lt;br /&gt;
* Ricardo Beira&lt;br /&gt;
* [http://users.isr.ist.utl.pt/~rco/ Ricardo Oliveira]&lt;br /&gt;
* Roberto Iannello, University of Genoa, Italy&lt;br /&gt;
* Roger Castro Freitas, visiting PhD student, Universidade Federal do Espírito Santo, Brazil&lt;br /&gt;
* Sandra Nope Rodríguez&lt;br /&gt;
* Sjoerd van der Zwaan, M.Sc. (2001)&lt;br /&gt;
* Tayebeh Razmi&lt;br /&gt;
* Vicente Javier Traver &lt;br /&gt;
* Verica Krunić&lt;br /&gt;
* Vítor Costa, M.Sc. (1999)&lt;br /&gt;
&lt;br /&gt;
== Material ==&lt;br /&gt;
&lt;br /&gt;
[[Book Wish List]]&lt;br /&gt;
&lt;br /&gt;
== Robots ==&lt;br /&gt;
&lt;br /&gt;
* [[Baltazar]]&lt;br /&gt;
* [[Chico]] (iCubLisboa01)&lt;br /&gt;
* [[Chica]]&lt;br /&gt;
* [[Vizzy]]&lt;br /&gt;
&lt;br /&gt;
== Other resources ==&lt;br /&gt;
&lt;br /&gt;
=== Cortex cluster ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;For information on the setup of this cluster, see [[Cortex]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Demos ===&lt;br /&gt;
&lt;br /&gt;
* [[Binocular Head]]&lt;br /&gt;
* [[Imitation]]&lt;br /&gt;
* [[Surveillance]]&lt;br /&gt;
&lt;br /&gt;
=== iCubBrain cluster ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;For information on the setup of this cluster, see [[iCubBrain server configuration]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;See the [[VisLab network]] article.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== SVN repository ===&lt;br /&gt;
&lt;br /&gt;
You can find the VisLab SVN repository at:&lt;br /&gt;
  svn://svn.isr.ist.utl.pt/vislab&lt;br /&gt;
&lt;br /&gt;
=== Tutorials ===&lt;br /&gt;
&lt;br /&gt;
* [[3D ball tracker]]&lt;br /&gt;
* [[OpenRAVE Tutorial]]&lt;br /&gt;
* [[ROS Tutorial]]&lt;br /&gt;
&lt;br /&gt;
=== Useful links ===&lt;br /&gt;
&lt;br /&gt;
* [[Checklist for new VisLab members]]&lt;br /&gt;
* YARP for iCub: [[RobotCub coding basics]]&lt;br /&gt;
* iCub Joints: http://eris.liralab.it/wiki/ICub_joints&lt;br /&gt;
* iKinArmCtrl: http://eris.liralab.it/iCub/dox/html/group__iKinArmCtrl.html&lt;br /&gt;
* [[Temp 2010-11 iCub system update]]&lt;br /&gt;
* [[Software installation tricks]]&lt;br /&gt;
&lt;br /&gt;
== VisLab category ==&lt;br /&gt;
&lt;br /&gt;
The page &#039;&#039;Category:Vislab&#039;&#039; (linked below) lists all pages related to VisLab.&lt;br /&gt;
&lt;br /&gt;
[[Category:Learning]]&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3642</id>
		<title>OpenRAVE Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3642"/>
		<updated>2011-03-14T18:40:22Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Testing OpenRAVE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This is a step-by-step &amp;quot;How to Use OpenRAVE&amp;quot; Tutorial, and is intended to be a guide to learn from the scratch how to program simulations in this open source simulator. If you have some knowledge or experience on using this software, we recommend you to see the OpenRAVE Just Use It webpage.&lt;br /&gt;
&lt;br /&gt;
= What is OpenRAVE? =&lt;br /&gt;
&lt;br /&gt;
The Open Robotics Automation Virtual Environment (OpenRAVE) is  an open-source cross-platform software architecture that is targeted for real-world autonomous robot applications, and includes a seamless integration of 3-D simulation, visualization, planning, scripting and control.&lt;br /&gt;
&lt;br /&gt;
A plugin architecture allows users to easily write custom controllers or extend functionality. With OpenRAVE plugins, any planning algorithm, robot controller, or sensing subsystem can be distributed and dynamically loaded at run-time, which frees developers from struggling with monolithic code-bases. Users of OpenRAVE can concentrate on the development of planning and scripting aspects of a problem without having to explicitly manage the details of robot kinematics and dynamics, collision detection, world updates, and robot control. Because OpenRAVE is focused on autonomous motion planning and high-level scripting rather than low-level control and message protocols, it can be used in conjunction with other popular robotics packages such as ROS. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE supports a powerful scripting environment based on Python which makes it simple to control and monitor the demo and environment state. There are also supported interfaces for Octave and Matlab. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE was founded by [http://www.programmingvision.com/ Rosen Diankov] at the Quality of Life Technology Center in the Carnegie Mellon University Robotics Institute. It was inspired from the RAVE simulator James Kuffner had started developing in 1995 and used for his experiments ever since. The OpenRAVE project was started in 2006 and is a complete rewrite of RAVE. The main goal with OpenRAVE is to create a planning architecture that would give robotics researchers an easy open-source interface to control their robots both in simulation and in the real-world without having to worry about the small details. &lt;br /&gt;
&lt;br /&gt;
= Foreword =&lt;br /&gt;
&lt;br /&gt;
First of all, this is an unofficial tutorial, written at VisLab in order to facilitate the usage of this tool. &lt;br /&gt;
&lt;br /&gt;
Second: you can find the official web page of Rosen Diankov&#039;s OpenRAVE, [http://openrave.programmingvision.com/index.php/Main_Page here]. Although you will find better first hand information in the official web page, if you are a newbie, we better recommend to start with this tutorial that introduces gradually most of the modules that you will be using within this simulator.&lt;br /&gt;
&lt;br /&gt;
Third: although OpenRAVE is a cross-platform, this tutorial is just Linux-oriented, so, if you are a Windows user, perhaps you won&#039;t find this tutorial that useful.&lt;br /&gt;
&lt;br /&gt;
The rest is about to be LEARNED... Have some fun!!&lt;br /&gt;
&lt;br /&gt;
= How to Install OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
In this section we will describe how to easily install the OpenRAVE VisLab Edition.  We call it VisLab Edition, because some plug-ins have been modified for internal purposes and, also, some models have been added to the original version of OpenRAVE. In case you want to Install the current original version of OpenRAVE, please read the [http://openrave.programmingvision.com/index.php/Main_Page official site of OpenRAVE]. In order to install easily, we have written a installation script that automates the process. Just download the script, change it to an executable, and run it.&lt;br /&gt;
&lt;br /&gt;
 wget http://mediawiki.isr.ist.utl.pt/images/1/1a/Install_openRAVE.tar.gz&lt;br /&gt;
 tar -xzvf Install_openRAVE.tar.gz&lt;br /&gt;
 rm Install_openRAVE.tar.gz&lt;br /&gt;
 chmod u+x Install_openRAVE.sh&lt;br /&gt;
 Install_openRAVE.sh&lt;br /&gt;
&lt;br /&gt;
Once you have finished with the installation, you should restart your PC, and then continue with this tutorial.&lt;br /&gt;
&lt;br /&gt;
= Testing OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see if openRAVE was correctly installed, we would like to check if all the plug-ins are present in our software, we do that by entering in Terminal the following:&lt;br /&gt;
&lt;br /&gt;
 openrave -listplugins&lt;br /&gt;
&lt;br /&gt;
The Plug-ins are supposed to be at least 14, if is so, then check that examples have been included at installation. Please enter the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --listexamples&lt;br /&gt;
&lt;br /&gt;
This examples are not crucial for the tutorial, but later, they will be useful for explaining some aspects of coding and creating openRAVE Demos.&lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Default Viewer ==&lt;br /&gt;
&lt;br /&gt;
Before running any demo, it&#039;s important that you learn how to interact with the Coin3D GUI window, because Virtual Environments and 3D Models are shown in this window, and most of the time, you will find yourself willing to change the view perspectives, and other stuffs.&lt;br /&gt;
&lt;br /&gt;
In the following Figure, we show the default OpenRAVE Viewer that is Qt-Coin3D. We have pointed five principal buttons that you will use more frequently.&lt;br /&gt;
&lt;br /&gt;
[[Image:Openrave Window.png]]&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Menu View&#039;&#039;&#039;. In this menu, you will find the simulated camera parameters (that generates the actual view of the world), the Geometry, where you can switch between render &amp;amp; collision geometries of the objects, the frame rate of communication between the viewer and the core of the OpenRAVE, and the World Reference Frame (world axis).&lt;br /&gt;
# &#039;&#039;&#039;Menu Options&#039;&#039;&#039;. Here you will find as is expectable, some options for the simulation, like turning on the physics engine &amp;amp; the collision checkers, record the simulation etc.&lt;br /&gt;
# &#039;&#039;&#039;Arrow icon button&#039;&#039;&#039;. By default, this button is activated when the window is launched. This arrow indicates that your mouse pointer is in the “View Mode”. This means that you can rotate the view, pan &amp;amp; tilt, zoom in &amp;amp; out, etc. but you can not interact with the objects.&lt;br /&gt;
# Hand icon button. When you press this button, you are switching to the “Interaction Mode”.&lt;br /&gt;
# &#039;&#039;&#039;Eye icon button&#039;&#039;&#039;. This is a very helpful tool, because by pressing this button, the whole scene, will be automatically center in the window, so, if you initialize with an uncomfortable view, just click in the eye, and you will see the whole scene.&lt;br /&gt;
&lt;br /&gt;
OK, let&#039;s open our first experimental 3D World, that, in OpenRAVE we call Environment. The next instruction will open the Baltazar experimental environment. Try changing the views, also try to move the Robot and the objects, and finally, see what happens if you activate the physics engine with the gravity pointing to -Z. Notice that you can toggle between view-mode and interaction-mode pressing [Esc]. To move objects just wrap them, and to move joints, click in the link while holding [Ctrl]. Now, to launch the environment, if you have installed the OpenRAVE VisLab Edition, then in Terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave Vislab/OR4_Envs/Baltazar_at_Vislab.env.xml&lt;br /&gt;
&lt;br /&gt;
You should see a window similar to the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Baltazar Env.png]]&lt;br /&gt;
&lt;br /&gt;
In the remaining of this section, will be exploring the power of OpenRAVE by running some demos. &lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Demos ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s begin testing the physics engine [http://www.ode.org/ ODE]. Just type in Terminal..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics&lt;br /&gt;
&lt;br /&gt;
This is an example of how the physics engine works when activated. You will see that the robot is not remaining in a fixed position and Orientation. Why is that? Let&#039;s run another example to answer this question. In terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics_controller&lt;br /&gt;
&lt;br /&gt;
This second demo, is the one that actually demonstrates the physics engine with the Motor Controller of a PUMA. In the last demo, the controller was not defined and there were no such a thing like a force that maintain (or at least try to) the position and orientation of the links of the Robot. The physics engine also simulates the gravity, and because of that, if you do not declare the weight of the bodies in the environment, every time you activate the gravity simulation, you will see all this objects floating away in the scene.&lt;br /&gt;
&lt;br /&gt;
A third example that give us a demonstration of a Robot grasping objects, is the following..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example hanoi&lt;br /&gt;
&lt;br /&gt;
So far, we have seen examples of a Robot moving and interacting with objects, but OpenRAVE also give us the possibility of simulate Cameras and other sensors. Let&#039;s see an example with cameras. &lt;br /&gt;
&lt;br /&gt;
 openrave.py --example calibrationviews&lt;br /&gt;
&lt;br /&gt;
So, have you get the appetite? Yes?, well, now let&#039;s learn how to create some simulations!!!&lt;br /&gt;
&lt;br /&gt;
When experimenting with simulations in OpenRAVE, mainly we have the following stages:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Geometric Modelling&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Knowledge base generation&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Scripting&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Interfacing Simulations&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These will be discussed in the next sections...&lt;br /&gt;
&lt;br /&gt;
= Geometric Modelling =&lt;br /&gt;
&lt;br /&gt;
Here is where you will learn how to create your enviroment (scenario), and create the Robots and the objects. Please follow the tutorial in the next link&lt;br /&gt;
[[Geometric Modelling in OpenRAVE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Knowledge Base Generation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
When Rosen Diankov created OpenRAVE, he designed its structure in such a way that there were some modules (plug-ins) that automatically generate some databases in off-line mode. Some examples of these data bases, are the inverse kinematics, the grasping plug-in, reachability and inverse reachability computation, detectability and others. More about the knowledge base generation will be disused in other section.&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
Of course, if we want to run some special simulation, we have to code it. This can be done in [http://www.python.org/ Python] language, in [http://www.mathworks.com/ Matlab] Scripts, in [http://www.gnu.org/software/octave/ Octave] Scripts, or ultimately in C++.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We  present some Demos here:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Robot&#039;&#039;&#039;. In this demo, we have reproduced the ISR 7th flour. and we have mounted the Baltazar Robot on a segway, so it can translate throughout the corridors of the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Planning &amp;amp; Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Grasping&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Human Imitation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Interfacing Simulations =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
We also want to try our experiments in real Robots, and to do so, we can interface our simulation environment with the Robots. This is done with [http://www.ros.org/wiki/ ROS].&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3641</id>
		<title>OpenRAVE Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3641"/>
		<updated>2011-03-14T18:35:02Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* How to Install OpenRAVE DEPRICATED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This is a step-by-step &amp;quot;How to Use OpenRAVE&amp;quot; Tutorial, and is intended to be a guide to learn from the scratch how to program simulations in this open source simulator. If you have some knowledge or experience on using this software, we recommend you to see the OpenRAVE Just Use It webpage.&lt;br /&gt;
&lt;br /&gt;
= What is OpenRAVE? =&lt;br /&gt;
&lt;br /&gt;
The Open Robotics Automation Virtual Environment (OpenRAVE) is  an open-source cross-platform software architecture that is targeted for real-world autonomous robot applications, and includes a seamless integration of 3-D simulation, visualization, planning, scripting and control.&lt;br /&gt;
&lt;br /&gt;
A plugin architecture allows users to easily write custom controllers or extend functionality. With OpenRAVE plugins, any planning algorithm, robot controller, or sensing subsystem can be distributed and dynamically loaded at run-time, which frees developers from struggling with monolithic code-bases. Users of OpenRAVE can concentrate on the development of planning and scripting aspects of a problem without having to explicitly manage the details of robot kinematics and dynamics, collision detection, world updates, and robot control. Because OpenRAVE is focused on autonomous motion planning and high-level scripting rather than low-level control and message protocols, it can be used in conjunction with other popular robotics packages such as ROS. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE supports a powerful scripting environment based on Python which makes it simple to control and monitor the demo and environment state. There are also supported interfaces for Octave and Matlab. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE was founded by [http://www.programmingvision.com/ Rosen Diankov] at the Quality of Life Technology Center in the Carnegie Mellon University Robotics Institute. It was inspired from the RAVE simulator James Kuffner had started developing in 1995 and used for his experiments ever since. The OpenRAVE project was started in 2006 and is a complete rewrite of RAVE. The main goal with OpenRAVE is to create a planning architecture that would give robotics researchers an easy open-source interface to control their robots both in simulation and in the real-world without having to worry about the small details. &lt;br /&gt;
&lt;br /&gt;
= Foreword =&lt;br /&gt;
&lt;br /&gt;
First of all, this is an unofficial tutorial, written at VisLab in order to facilitate the usage of this tool. &lt;br /&gt;
&lt;br /&gt;
Second: you can find the official web page of Rosen Diankov&#039;s OpenRAVE, [http://openrave.programmingvision.com/index.php/Main_Page here]. Although you will find better first hand information in the official web page, if you are a newbie, we better recommend to start with this tutorial that introduces gradually most of the modules that you will be using within this simulator.&lt;br /&gt;
&lt;br /&gt;
Third: although OpenRAVE is a cross-platform, this tutorial is just Linux-oriented, so, if you are a Windows user, perhaps you won&#039;t find this tutorial that useful.&lt;br /&gt;
&lt;br /&gt;
The rest is about to be LEARNED... Have some fun!!&lt;br /&gt;
&lt;br /&gt;
= How to Install OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
In this section we will describe how to easily install the OpenRAVE VisLab Edition.  We call it VisLab Edition, because some plug-ins have been modified for internal purposes and, also, some models have been added to the original version of OpenRAVE. In case you want to Install the current original version of OpenRAVE, please read the [http://openrave.programmingvision.com/index.php/Main_Page official site of OpenRAVE]. In order to install easily, we have written a installation script that automates the process. Just download the script, change it to an executable, and run it.&lt;br /&gt;
&lt;br /&gt;
 wget http://mediawiki.isr.ist.utl.pt/images/1/1a/Install_openRAVE.tar.gz&lt;br /&gt;
 tar -xzvf Install_openRAVE.tar.gz&lt;br /&gt;
 rm Install_openRAVE.tar.gz&lt;br /&gt;
 chmod u+x Install_openRAVE.sh&lt;br /&gt;
 Install_openRAVE.sh&lt;br /&gt;
&lt;br /&gt;
Once you have finished with the installation, you should restart your PC, and then continue with this tutorial.&lt;br /&gt;
&lt;br /&gt;
= Testing OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see if openRAVE was correctly installed, we would like to check if all the plug-ins are present in our software, we do that by entering in Terminal the following:&lt;br /&gt;
&lt;br /&gt;
 openrave –listplugins&lt;br /&gt;
&lt;br /&gt;
The Plug-ins are supposed to be at least 14, if is so, then check that examples have been included at installation. Please enter the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
 openrave.py –listexamples&lt;br /&gt;
&lt;br /&gt;
This examples are not crucial for the tutorial, but later, they will be useful for explaining some aspects of coding and creating openRAVE Demos.&lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Default Viewer ==&lt;br /&gt;
&lt;br /&gt;
Before running any demo, it&#039;s important that you learn how to interact with the Coin3D GUI window, because Virtual Environments and 3D Models are shown in this window, and most of the time, you will find yourself willing to change the view perspectives, and other stuffs.&lt;br /&gt;
&lt;br /&gt;
In the following Figure, we show the default OpenRAVE Viewer that is Qt-Coin3D. We have pointed five principal buttons that you will use more frequently.&lt;br /&gt;
&lt;br /&gt;
[[Image:Openrave Window.png]]&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Menu View&#039;&#039;&#039;. In this menu, you will find the simulated camera parameters (that generates the actual view of the world), the Geometry, where you can switch between render &amp;amp; collision geometries of the objects, the frame rate of communication between the viewer and the core of the OpenRAVE, and the World Reference Frame (world axis).&lt;br /&gt;
# &#039;&#039;&#039;Menu Options&#039;&#039;&#039;. Here you will find as is expectable, some options for the simulation, like turning on the physics engine &amp;amp; the collision checkers, record the simulation etc.&lt;br /&gt;
# &#039;&#039;&#039;Arrow icon button&#039;&#039;&#039;. By default, this button is activated when the window is launched. This arrow indicates that your mouse pointer is in the “View Mode”. This means that you can rotate the view, pan &amp;amp; tilt, zoom in &amp;amp; out, etc. but you can not interact with the objects.&lt;br /&gt;
# Hand icon button. When you press this button, you are switching to the “Interaction Mode”.&lt;br /&gt;
# &#039;&#039;&#039;Eye icon button&#039;&#039;&#039;. This is a very helpful tool, because by pressing this button, the whole scene, will be automatically center in the window, so, if you initialize with an uncomfortable view, just click in the eye, and you will see the whole scene.&lt;br /&gt;
&lt;br /&gt;
OK, let&#039;s open our first experimental 3D World, that, in OpenRAVE we call Environment. The next instruction will open the Baltazar experimental environment. Try changing the views, also try to move the Robot and the objects, and finally, see what happens if you activate the physics engine with the gravity pointing to -Z. Notice that you can toggle between view-mode and interaction-mode pressing [Esc]. To move objects just wrap them, and to move joints, click in the link while holding [Ctrl]. Now, to launch the environment, if you have installed the OpenRAVE VisLab Edition, then in Terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave Vislab/OR4_Envs/Baltazar_at_Vislab.env.xml&lt;br /&gt;
&lt;br /&gt;
You should see a window similar to the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Baltazar Env.png]]&lt;br /&gt;
&lt;br /&gt;
In the remaining of this section, will be exploring the power of OpenRAVE by running some demos. &lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Demos ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s begin testing the physics engine [http://www.ode.org/ ODE]. Just type in Terminal..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics&lt;br /&gt;
&lt;br /&gt;
This is an example of how the physics engine works when activated. You will see that the robot is not remaining in a fixed position and Orientation. Why is that? Let&#039;s run another example to answer this question. In terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics_controller&lt;br /&gt;
&lt;br /&gt;
This second demo, is the one that actually demonstrates the physics engine with the Motor Controller of a PUMA. In the last demo, the controller was not defined and there were no such a thing like a force that maintain (or at least try to) the position and orientation of the links of the Robot. The physics engine also simulates the gravity, and because of that, if you do not declare the weight of the bodies in the environment, every time you activate the gravity simulation, you will see all this objects floating away in the scene.&lt;br /&gt;
&lt;br /&gt;
A third example that give us a demonstration of a Robot grasping objects, is the following..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example hanoi&lt;br /&gt;
&lt;br /&gt;
So far, we have seen examples of a Robot moving and interacting with objects, but OpenRAVE also give us the possibility of simulate Cameras and other sensors. Let&#039;s see an example with cameras. &lt;br /&gt;
&lt;br /&gt;
 openrave.py --example calibrationviews&lt;br /&gt;
&lt;br /&gt;
So, have you get the appetite? Yes?, well, now let&#039;s learn how to create some simulations!!!&lt;br /&gt;
&lt;br /&gt;
When experimenting with simulations in OpenRAVE, mainly we have the following stages:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Geometric Modelling&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Knowledge base generation&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Scripting&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Interfacing Simulations&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These will be discussed in the next sections...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Geometric Modelling =&lt;br /&gt;
&lt;br /&gt;
Here is where you will learn how to create your enviroment (scenario), and create the Robots and the objects. Please follow the tutorial in the next link&lt;br /&gt;
[[Geometric Modelling in OpenRAVE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Knowledge Base Generation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
When Rosen Diankov created OpenRAVE, he designed its structure in such a way that there were some modules (plug-ins) that automatically generate some databases in off-line mode. Some examples of these data bases, are the inverse kinematics, the grasping plug-in, reachability and inverse reachability computation, detectability and others. More about the knowledge base generation will be disused in other section.&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
Of course, if we want to run some special simulation, we have to code it. This can be done in [http://www.python.org/ Python] language, in [http://www.mathworks.com/ Matlab] Scripts, in [http://www.gnu.org/software/octave/ Octave] Scripts, or ultimately in C++.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We  present some Demos here:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Robot&#039;&#039;&#039;. In this demo, we have reproduced the ISR 7th flour. and we have mounted the Baltazar Robot on a segway, so it can translate throughout the corridors of the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Planning &amp;amp; Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Grasping&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Human Imitation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Interfacing Simulations =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
We also want to try our experiments in real Robots, and to do so, we can interface our simulation environment with the Robots. This is done with [http://www.ros.org/wiki/ ROS].&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Install_openRAVE.tar.gz&amp;diff=3640</id>
		<title>File:Install openRAVE.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Install_openRAVE.tar.gz&amp;diff=3640"/>
		<updated>2011-03-14T18:16:10Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: This is a bash scripts that automates the download and installation of OpenRAVE. Notice that it has been tested just in Ubuntu 10.04 LTS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a bash scripts that automates the download and installation of OpenRAVE. Notice that it has been tested just in Ubuntu 10.04 LTS&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:OR_Vislab_Edition.zip&amp;diff=3639</id>
		<title>File:OR Vislab Edition.zip</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:OR_Vislab_Edition.zip&amp;diff=3639"/>
		<updated>2011-03-14T17:52:25Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: uploaded a new version of &amp;quot;Image:OR Vislab Edition.zip&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is The VisLab extension for OpenRAVE&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3638</id>
		<title>OpenRAVE Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3638"/>
		<updated>2011-03-14T16:48:55Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install the OpenRAVE VisLab Edition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This is a step-by-step &amp;quot;How to Use OpenRAVE&amp;quot; Tutorial, and is intended to be a guide to learn from the scratch how to program simulations in this open source simulator. If you have some knowledge or experience on using this software, we recommend you to see the OpenRAVE Just Use It webpage.&lt;br /&gt;
&lt;br /&gt;
= What is OpenRAVE? =&lt;br /&gt;
&lt;br /&gt;
The Open Robotics Automation Virtual Environment (OpenRAVE) is  an open-source cross-platform software architecture that is targeted for real-world autonomous robot applications, and includes a seamless integration of 3-D simulation, visualization, planning, scripting and control.&lt;br /&gt;
&lt;br /&gt;
A plugin architecture allows users to easily write custom controllers or extend functionality. With OpenRAVE plugins, any planning algorithm, robot controller, or sensing subsystem can be distributed and dynamically loaded at run-time, which frees developers from struggling with monolithic code-bases. Users of OpenRAVE can concentrate on the development of planning and scripting aspects of a problem without having to explicitly manage the details of robot kinematics and dynamics, collision detection, world updates, and robot control. Because OpenRAVE is focused on autonomous motion planning and high-level scripting rather than low-level control and message protocols, it can be used in conjunction with other popular robotics packages such as ROS. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE supports a powerful scripting environment based on Python which makes it simple to control and monitor the demo and environment state. There are also supported interfaces for Octave and Matlab. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE was founded by [http://www.programmingvision.com/ Rosen Diankov] at the Quality of Life Technology Center in the Carnegie Mellon University Robotics Institute. It was inspired from the RAVE simulator James Kuffner had started developing in 1995 and used for his experiments ever since. The OpenRAVE project was started in 2006 and is a complete rewrite of RAVE. The main goal with OpenRAVE is to create a planning architecture that would give robotics researchers an easy open-source interface to control their robots both in simulation and in the real-world without having to worry about the small details. &lt;br /&gt;
&lt;br /&gt;
= Foreword =&lt;br /&gt;
&lt;br /&gt;
First of all, this is an unofficial tutorial, written at VisLab in order to facilitate the usage of this tool. &lt;br /&gt;
&lt;br /&gt;
Second: you can find the official web page of Rosen Diankov&#039;s OpenRAVE, [http://openrave.programmingvision.com/index.php/Main_Page here]. Although you will find better first hand information in the official web page, if you are a newbie, we better recommend to start with this tutorial that introduces gradually most of the modules that you will be using within this simulator.&lt;br /&gt;
&lt;br /&gt;
Third: although OpenRAVE is a cross-platform, this tutorial is just Linux-oriented, so, if you are a Windows user, perhaps you won&#039;t find this tutorial that useful.&lt;br /&gt;
&lt;br /&gt;
The rest is about to be LEARNED... Have some fun!!&lt;br /&gt;
&lt;br /&gt;
= How to Install OpenRAVE DEPRICATED=&lt;br /&gt;
&lt;br /&gt;
In this section we will describe how to easily install the OpenRAVE VisLab Edition.  We call it VisLab Edition, because some plug-ins have been modified for internal purposes and, also, some models have been added to the original version of OpenRAVE. In case you want to Install the current original version of OpenRAVE, please read the [http://openrave.programmingvision.com/index.php/Main_Page official site of OpenRAVE]. &lt;br /&gt;
We also strongly recommend you to download the VisLab_Scripts (a suite of shell scripts that have been written at VisLab), in order to facilitate most of the work explained in this section. To do so, just type in terminal the following:&lt;br /&gt;
&lt;br /&gt;
 wget http://mediawiki.isr.ist.utl.pt/images/6/60/OR_Vislab_Edition.zip&lt;br /&gt;
 mkdir $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 mv VisLab_Scripts.zip $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 cd $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 unzip VisLab_Scripts.zip&lt;br /&gt;
 chmod u+x -R $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 rm VisLab_Scripts.zip&lt;br /&gt;
 cd&lt;br /&gt;
&lt;br /&gt;
== Install the Mathworks MATLAB DEPRICATED ==&lt;br /&gt;
&lt;br /&gt;
If you wish to use the Matlab along with OpenRAVE, you must first have it properly installed. If you don&#039;t have it installed yet, in this little section you will find a shell script that simplifies a lot the installation in Linux. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following: &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_Matlab&lt;br /&gt;
&lt;br /&gt;
The last part of the configuration will be given in the Matlab Scripting Section.&lt;br /&gt;
&lt;br /&gt;
== Install the OpenRAVE VisLab Edition DEPRICATED ==&lt;br /&gt;
&lt;br /&gt;
As we referred at the beginning, OpenRAVE is an open-source package, and in order to properly install it, you have first to install the dependencies. This can be very messy, and for this reason we have created a shell script that will help you to almost automatically install the OpenRAVE (actually, you just have to submit your user password sometimes when installing dependencies). Notice that the process of installation can take around 45 mins. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following:    &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_openRAVE&lt;br /&gt;
&lt;br /&gt;
Once you have finished with the installation, you should restart your PC, and then continue with this tutorial.&lt;br /&gt;
&lt;br /&gt;
= Testing OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see if openRAVE was correctly installed, we would like to check if all the plug-ins are present in our software, we do that by entering in Terminal the following:&lt;br /&gt;
&lt;br /&gt;
 openrave –listplugins&lt;br /&gt;
&lt;br /&gt;
The Plug-ins are supposed to be at least 14, if is so, then check that examples have been included at installation. Please enter the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
 openrave.py –listexamples&lt;br /&gt;
&lt;br /&gt;
This examples are not crucial for the tutorial, but later, they will be useful for explaining some aspects of coding and creating openRAVE Demos.&lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Default Viewer ==&lt;br /&gt;
&lt;br /&gt;
Before running any demo, it&#039;s important that you learn how to interact with the Coin3D GUI window, because Virtual Environments and 3D Models are shown in this window, and most of the time, you will find yourself willing to change the view perspectives, and other stuffs.&lt;br /&gt;
&lt;br /&gt;
In the following Figure, we show the default OpenRAVE Viewer that is Qt-Coin3D. We have pointed five principal buttons that you will use more frequently.&lt;br /&gt;
&lt;br /&gt;
[[Image:Openrave Window.png]]&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Menu View&#039;&#039;&#039;. In this menu, you will find the simulated camera parameters (that generates the actual view of the world), the Geometry, where you can switch between render &amp;amp; collision geometries of the objects, the frame rate of communication between the viewer and the core of the OpenRAVE, and the World Reference Frame (world axis).&lt;br /&gt;
# &#039;&#039;&#039;Menu Options&#039;&#039;&#039;. Here you will find as is expectable, some options for the simulation, like turning on the physics engine &amp;amp; the collision checkers, record the simulation etc.&lt;br /&gt;
# &#039;&#039;&#039;Arrow icon button&#039;&#039;&#039;. By default, this button is activated when the window is launched. This arrow indicates that your mouse pointer is in the “View Mode”. This means that you can rotate the view, pan &amp;amp; tilt, zoom in &amp;amp; out, etc. but you can not interact with the objects.&lt;br /&gt;
# Hand icon button. When you press this button, you are switching to the “Interaction Mode”.&lt;br /&gt;
# &#039;&#039;&#039;Eye icon button&#039;&#039;&#039;. This is a very helpful tool, because by pressing this button, the whole scene, will be automatically center in the window, so, if you initialize with an uncomfortable view, just click in the eye, and you will see the whole scene.&lt;br /&gt;
&lt;br /&gt;
OK, let&#039;s open our first experimental 3D World, that, in OpenRAVE we call Environment. The next instruction will open the Baltazar experimental environment. Try changing the views, also try to move the Robot and the objects, and finally, see what happens if you activate the physics engine with the gravity pointing to -Z. Notice that you can toggle between view-mode and interaction-mode pressing [Esc]. To move objects just wrap them, and to move joints, click in the link while holding [Ctrl]. Now, to launch the environment, if you have installed the OpenRAVE VisLab Edition, then in Terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave Vislab/OR4_Envs/Baltazar_at_Vislab.env.xml&lt;br /&gt;
&lt;br /&gt;
You should see a window similar to the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Baltazar Env.png]]&lt;br /&gt;
&lt;br /&gt;
In the remaining of this section, will be exploring the power of OpenRAVE by running some demos. &lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Demos ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s begin testing the physics engine [http://www.ode.org/ ODE]. Just type in Terminal..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics&lt;br /&gt;
&lt;br /&gt;
This is an example of how the physics engine works when activated. You will see that the robot is not remaining in a fixed position and Orientation. Why is that? Let&#039;s run another example to answer this question. In terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics_controller&lt;br /&gt;
&lt;br /&gt;
This second demo, is the one that actually demonstrates the physics engine with the Motor Controller of a PUMA. In the last demo, the controller was not defined and there were no such a thing like a force that maintain (or at least try to) the position and orientation of the links of the Robot. The physics engine also simulates the gravity, and because of that, if you do not declare the weight of the bodies in the environment, every time you activate the gravity simulation, you will see all this objects floating away in the scene.&lt;br /&gt;
&lt;br /&gt;
A third example that give us a demonstration of a Robot grasping objects, is the following..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example hanoi&lt;br /&gt;
&lt;br /&gt;
So far, we have seen examples of a Robot moving and interacting with objects, but OpenRAVE also give us the possibility of simulate Cameras and other sensors. Let&#039;s see an example with cameras. &lt;br /&gt;
&lt;br /&gt;
 openrave.py --example calibrationviews&lt;br /&gt;
&lt;br /&gt;
So, have you get the appetite? Yes?, well, now let&#039;s learn how to create some simulations!!!&lt;br /&gt;
&lt;br /&gt;
When experimenting with simulations in OpenRAVE, mainly we have the following stages:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Geometric Modelling&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Knowledge base generation&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Scripting&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Interfacing Simulations&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These will be discussed in the next sections...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Geometric Modelling =&lt;br /&gt;
&lt;br /&gt;
Here is where you will learn how to create your enviroment (scenario), and create the Robots and the objects. Please follow the tutorial in the next link&lt;br /&gt;
[[Geometric Modelling in OpenRAVE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Knowledge Base Generation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
When Rosen Diankov created OpenRAVE, he designed its structure in such a way that there were some modules (plug-ins) that automatically generate some databases in off-line mode. Some examples of these data bases, are the inverse kinematics, the grasping plug-in, reachability and inverse reachability computation, detectability and others. More about the knowledge base generation will be disused in other section.&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
Of course, if we want to run some special simulation, we have to code it. This can be done in [http://www.python.org/ Python] language, in [http://www.mathworks.com/ Matlab] Scripts, in [http://www.gnu.org/software/octave/ Octave] Scripts, or ultimately in C++.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We  present some Demos here:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Robot&#039;&#039;&#039;. In this demo, we have reproduced the ISR 7th flour. and we have mounted the Baltazar Robot on a segway, so it can translate throughout the corridors of the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Planning &amp;amp; Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Grasping&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Human Imitation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Interfacing Simulations =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
We also want to try our experiments in real Robots, and to do so, we can interface our simulation environment with the Robots. This is done with [http://www.ros.org/wiki/ ROS].&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3637</id>
		<title>OpenRAVE Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3637"/>
		<updated>2011-03-14T16:48:33Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install the Mathworks MATLAB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This is a step-by-step &amp;quot;How to Use OpenRAVE&amp;quot; Tutorial, and is intended to be a guide to learn from the scratch how to program simulations in this open source simulator. If you have some knowledge or experience on using this software, we recommend you to see the OpenRAVE Just Use It webpage.&lt;br /&gt;
&lt;br /&gt;
= What is OpenRAVE? =&lt;br /&gt;
&lt;br /&gt;
The Open Robotics Automation Virtual Environment (OpenRAVE) is  an open-source cross-platform software architecture that is targeted for real-world autonomous robot applications, and includes a seamless integration of 3-D simulation, visualization, planning, scripting and control.&lt;br /&gt;
&lt;br /&gt;
A plugin architecture allows users to easily write custom controllers or extend functionality. With OpenRAVE plugins, any planning algorithm, robot controller, or sensing subsystem can be distributed and dynamically loaded at run-time, which frees developers from struggling with monolithic code-bases. Users of OpenRAVE can concentrate on the development of planning and scripting aspects of a problem without having to explicitly manage the details of robot kinematics and dynamics, collision detection, world updates, and robot control. Because OpenRAVE is focused on autonomous motion planning and high-level scripting rather than low-level control and message protocols, it can be used in conjunction with other popular robotics packages such as ROS. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE supports a powerful scripting environment based on Python which makes it simple to control and monitor the demo and environment state. There are also supported interfaces for Octave and Matlab. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE was founded by [http://www.programmingvision.com/ Rosen Diankov] at the Quality of Life Technology Center in the Carnegie Mellon University Robotics Institute. It was inspired from the RAVE simulator James Kuffner had started developing in 1995 and used for his experiments ever since. The OpenRAVE project was started in 2006 and is a complete rewrite of RAVE. The main goal with OpenRAVE is to create a planning architecture that would give robotics researchers an easy open-source interface to control their robots both in simulation and in the real-world without having to worry about the small details. &lt;br /&gt;
&lt;br /&gt;
= Foreword =&lt;br /&gt;
&lt;br /&gt;
First of all, this is an unofficial tutorial, written at VisLab in order to facilitate the usage of this tool. &lt;br /&gt;
&lt;br /&gt;
Second: you can find the official web page of Rosen Diankov&#039;s OpenRAVE, [http://openrave.programmingvision.com/index.php/Main_Page here]. Although you will find better first hand information in the official web page, if you are a newbie, we better recommend to start with this tutorial that introduces gradually most of the modules that you will be using within this simulator.&lt;br /&gt;
&lt;br /&gt;
Third: although OpenRAVE is a cross-platform, this tutorial is just Linux-oriented, so, if you are a Windows user, perhaps you won&#039;t find this tutorial that useful.&lt;br /&gt;
&lt;br /&gt;
The rest is about to be LEARNED... Have some fun!!&lt;br /&gt;
&lt;br /&gt;
= How to Install OpenRAVE DEPRICATED=&lt;br /&gt;
&lt;br /&gt;
In this section we will describe how to easily install the OpenRAVE VisLab Edition.  We call it VisLab Edition, because some plug-ins have been modified for internal purposes and, also, some models have been added to the original version of OpenRAVE. In case you want to Install the current original version of OpenRAVE, please read the [http://openrave.programmingvision.com/index.php/Main_Page official site of OpenRAVE]. &lt;br /&gt;
We also strongly recommend you to download the VisLab_Scripts (a suite of shell scripts that have been written at VisLab), in order to facilitate most of the work explained in this section. To do so, just type in terminal the following:&lt;br /&gt;
&lt;br /&gt;
 wget http://mediawiki.isr.ist.utl.pt/images/6/60/OR_Vislab_Edition.zip&lt;br /&gt;
 mkdir $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 mv VisLab_Scripts.zip $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 cd $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 unzip VisLab_Scripts.zip&lt;br /&gt;
 chmod u+x -R $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 rm VisLab_Scripts.zip&lt;br /&gt;
 cd&lt;br /&gt;
&lt;br /&gt;
== Install the Mathworks MATLAB DEPRICATED ==&lt;br /&gt;
&lt;br /&gt;
If you wish to use the Matlab along with OpenRAVE, you must first have it properly installed. If you don&#039;t have it installed yet, in this little section you will find a shell script that simplifies a lot the installation in Linux. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following: &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_Matlab&lt;br /&gt;
&lt;br /&gt;
The last part of the configuration will be given in the Matlab Scripting Section.&lt;br /&gt;
&lt;br /&gt;
== Install the OpenRAVE VisLab Edition ==&lt;br /&gt;
&lt;br /&gt;
As we referred at the beginning, OpenRAVE is an open-source package, and in order to properly install it, you have first to install the dependencies. This can be very messy, and for this reason we have created a shell script that will help you to almost automatically install the OpenRAVE (actually, you just have to submit your user password sometimes when installing dependencies). Notice that the process of installation can take around 45 mins. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following:    &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_openRAVE&lt;br /&gt;
&lt;br /&gt;
Once you have finished with the installation, you should restart your PC, and then continue with this tutorial.&lt;br /&gt;
&lt;br /&gt;
= Testing OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see if openRAVE was correctly installed, we would like to check if all the plug-ins are present in our software, we do that by entering in Terminal the following:&lt;br /&gt;
&lt;br /&gt;
 openrave –listplugins&lt;br /&gt;
&lt;br /&gt;
The Plug-ins are supposed to be at least 14, if is so, then check that examples have been included at installation. Please enter the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
 openrave.py –listexamples&lt;br /&gt;
&lt;br /&gt;
This examples are not crucial for the tutorial, but later, they will be useful for explaining some aspects of coding and creating openRAVE Demos.&lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Default Viewer ==&lt;br /&gt;
&lt;br /&gt;
Before running any demo, it&#039;s important that you learn how to interact with the Coin3D GUI window, because Virtual Environments and 3D Models are shown in this window, and most of the time, you will find yourself willing to change the view perspectives, and other stuffs.&lt;br /&gt;
&lt;br /&gt;
In the following Figure, we show the default OpenRAVE Viewer that is Qt-Coin3D. We have pointed five principal buttons that you will use more frequently.&lt;br /&gt;
&lt;br /&gt;
[[Image:Openrave Window.png]]&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Menu View&#039;&#039;&#039;. In this menu, you will find the simulated camera parameters (that generates the actual view of the world), the Geometry, where you can switch between render &amp;amp; collision geometries of the objects, the frame rate of communication between the viewer and the core of the OpenRAVE, and the World Reference Frame (world axis).&lt;br /&gt;
# &#039;&#039;&#039;Menu Options&#039;&#039;&#039;. Here you will find as is expectable, some options for the simulation, like turning on the physics engine &amp;amp; the collision checkers, record the simulation etc.&lt;br /&gt;
# &#039;&#039;&#039;Arrow icon button&#039;&#039;&#039;. By default, this button is activated when the window is launched. This arrow indicates that your mouse pointer is in the “View Mode”. This means that you can rotate the view, pan &amp;amp; tilt, zoom in &amp;amp; out, etc. but you can not interact with the objects.&lt;br /&gt;
# Hand icon button. When you press this button, you are switching to the “Interaction Mode”.&lt;br /&gt;
# &#039;&#039;&#039;Eye icon button&#039;&#039;&#039;. This is a very helpful tool, because by pressing this button, the whole scene, will be automatically center in the window, so, if you initialize with an uncomfortable view, just click in the eye, and you will see the whole scene.&lt;br /&gt;
&lt;br /&gt;
OK, let&#039;s open our first experimental 3D World, that, in OpenRAVE we call Environment. The next instruction will open the Baltazar experimental environment. Try changing the views, also try to move the Robot and the objects, and finally, see what happens if you activate the physics engine with the gravity pointing to -Z. Notice that you can toggle between view-mode and interaction-mode pressing [Esc]. To move objects just wrap them, and to move joints, click in the link while holding [Ctrl]. Now, to launch the environment, if you have installed the OpenRAVE VisLab Edition, then in Terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave Vislab/OR4_Envs/Baltazar_at_Vislab.env.xml&lt;br /&gt;
&lt;br /&gt;
You should see a window similar to the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Baltazar Env.png]]&lt;br /&gt;
&lt;br /&gt;
In the remaining of this section, will be exploring the power of OpenRAVE by running some demos. &lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Demos ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s begin testing the physics engine [http://www.ode.org/ ODE]. Just type in Terminal..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics&lt;br /&gt;
&lt;br /&gt;
This is an example of how the physics engine works when activated. You will see that the robot is not remaining in a fixed position and Orientation. Why is that? Let&#039;s run another example to answer this question. In terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics_controller&lt;br /&gt;
&lt;br /&gt;
This second demo, is the one that actually demonstrates the physics engine with the Motor Controller of a PUMA. In the last demo, the controller was not defined and there were no such a thing like a force that maintain (or at least try to) the position and orientation of the links of the Robot. The physics engine also simulates the gravity, and because of that, if you do not declare the weight of the bodies in the environment, every time you activate the gravity simulation, you will see all this objects floating away in the scene.&lt;br /&gt;
&lt;br /&gt;
A third example that give us a demonstration of a Robot grasping objects, is the following..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example hanoi&lt;br /&gt;
&lt;br /&gt;
So far, we have seen examples of a Robot moving and interacting with objects, but OpenRAVE also give us the possibility of simulate Cameras and other sensors. Let&#039;s see an example with cameras. &lt;br /&gt;
&lt;br /&gt;
 openrave.py --example calibrationviews&lt;br /&gt;
&lt;br /&gt;
So, have you get the appetite? Yes?, well, now let&#039;s learn how to create some simulations!!!&lt;br /&gt;
&lt;br /&gt;
When experimenting with simulations in OpenRAVE, mainly we have the following stages:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Geometric Modelling&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Knowledge base generation&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Scripting&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Interfacing Simulations&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These will be discussed in the next sections...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Geometric Modelling =&lt;br /&gt;
&lt;br /&gt;
Here is where you will learn how to create your enviroment (scenario), and create the Robots and the objects. Please follow the tutorial in the next link&lt;br /&gt;
[[Geometric Modelling in OpenRAVE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Knowledge Base Generation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
When Rosen Diankov created OpenRAVE, he designed its structure in such a way that there were some modules (plug-ins) that automatically generate some databases in off-line mode. Some examples of these data bases, are the inverse kinematics, the grasping plug-in, reachability and inverse reachability computation, detectability and others. More about the knowledge base generation will be disused in other section.&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
Of course, if we want to run some special simulation, we have to code it. This can be done in [http://www.python.org/ Python] language, in [http://www.mathworks.com/ Matlab] Scripts, in [http://www.gnu.org/software/octave/ Octave] Scripts, or ultimately in C++.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We  present some Demos here:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Robot&#039;&#039;&#039;. In this demo, we have reproduced the ISR 7th flour. and we have mounted the Baltazar Robot on a segway, so it can translate throughout the corridors of the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Planning &amp;amp; Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Grasping&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Human Imitation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Interfacing Simulations =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
We also want to try our experiments in real Robots, and to do so, we can interface our simulation environment with the Robots. This is done with [http://www.ros.org/wiki/ ROS].&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3636</id>
		<title>OpenRAVE Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3636"/>
		<updated>2011-03-14T16:47:54Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* How to Install OpenRAVE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This is a step-by-step &amp;quot;How to Use OpenRAVE&amp;quot; Tutorial, and is intended to be a guide to learn from the scratch how to program simulations in this open source simulator. If you have some knowledge or experience on using this software, we recommend you to see the OpenRAVE Just Use It webpage.&lt;br /&gt;
&lt;br /&gt;
= What is OpenRAVE? =&lt;br /&gt;
&lt;br /&gt;
The Open Robotics Automation Virtual Environment (OpenRAVE) is  an open-source cross-platform software architecture that is targeted for real-world autonomous robot applications, and includes a seamless integration of 3-D simulation, visualization, planning, scripting and control.&lt;br /&gt;
&lt;br /&gt;
A plugin architecture allows users to easily write custom controllers or extend functionality. With OpenRAVE plugins, any planning algorithm, robot controller, or sensing subsystem can be distributed and dynamically loaded at run-time, which frees developers from struggling with monolithic code-bases. Users of OpenRAVE can concentrate on the development of planning and scripting aspects of a problem without having to explicitly manage the details of robot kinematics and dynamics, collision detection, world updates, and robot control. Because OpenRAVE is focused on autonomous motion planning and high-level scripting rather than low-level control and message protocols, it can be used in conjunction with other popular robotics packages such as ROS. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE supports a powerful scripting environment based on Python which makes it simple to control and monitor the demo and environment state. There are also supported interfaces for Octave and Matlab. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE was founded by [http://www.programmingvision.com/ Rosen Diankov] at the Quality of Life Technology Center in the Carnegie Mellon University Robotics Institute. It was inspired from the RAVE simulator James Kuffner had started developing in 1995 and used for his experiments ever since. The OpenRAVE project was started in 2006 and is a complete rewrite of RAVE. The main goal with OpenRAVE is to create a planning architecture that would give robotics researchers an easy open-source interface to control their robots both in simulation and in the real-world without having to worry about the small details. &lt;br /&gt;
&lt;br /&gt;
= Foreword =&lt;br /&gt;
&lt;br /&gt;
First of all, this is an unofficial tutorial, written at VisLab in order to facilitate the usage of this tool. &lt;br /&gt;
&lt;br /&gt;
Second: you can find the official web page of Rosen Diankov&#039;s OpenRAVE, [http://openrave.programmingvision.com/index.php/Main_Page here]. Although you will find better first hand information in the official web page, if you are a newbie, we better recommend to start with this tutorial that introduces gradually most of the modules that you will be using within this simulator.&lt;br /&gt;
&lt;br /&gt;
Third: although OpenRAVE is a cross-platform, this tutorial is just Linux-oriented, so, if you are a Windows user, perhaps you won&#039;t find this tutorial that useful.&lt;br /&gt;
&lt;br /&gt;
The rest is about to be LEARNED... Have some fun!!&lt;br /&gt;
&lt;br /&gt;
= How to Install OpenRAVE DEPRICATED=&lt;br /&gt;
&lt;br /&gt;
In this section we will describe how to easily install the OpenRAVE VisLab Edition.  We call it VisLab Edition, because some plug-ins have been modified for internal purposes and, also, some models have been added to the original version of OpenRAVE. In case you want to Install the current original version of OpenRAVE, please read the [http://openrave.programmingvision.com/index.php/Main_Page official site of OpenRAVE]. &lt;br /&gt;
We also strongly recommend you to download the VisLab_Scripts (a suite of shell scripts that have been written at VisLab), in order to facilitate most of the work explained in this section. To do so, just type in terminal the following:&lt;br /&gt;
&lt;br /&gt;
 wget http://mediawiki.isr.ist.utl.pt/images/6/60/OR_Vislab_Edition.zip&lt;br /&gt;
 mkdir $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 mv VisLab_Scripts.zip $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 cd $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 unzip VisLab_Scripts.zip&lt;br /&gt;
 chmod u+x -R $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 rm VisLab_Scripts.zip&lt;br /&gt;
 cd&lt;br /&gt;
&lt;br /&gt;
== Install the Mathworks MATLAB ==&lt;br /&gt;
&lt;br /&gt;
If you wish to use the Matlab along with OpenRAVE, you must first have it properly installed. If you don&#039;t have it installed yet, in this little section you will find a shell script that simplifies a lot the installation in Linux. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following: &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_Matlab&lt;br /&gt;
&lt;br /&gt;
The last part of the configuration will be given in the Matlab Scripting Section.&lt;br /&gt;
&lt;br /&gt;
== Install the OpenRAVE VisLab Edition ==&lt;br /&gt;
&lt;br /&gt;
As we referred at the beginning, OpenRAVE is an open-source package, and in order to properly install it, you have first to install the dependencies. This can be very messy, and for this reason we have created a shell script that will help you to almost automatically install the OpenRAVE (actually, you just have to submit your user password sometimes when installing dependencies). Notice that the process of installation can take around 45 mins. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following:    &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_openRAVE&lt;br /&gt;
&lt;br /&gt;
Once you have finished with the installation, you should restart your PC, and then continue with this tutorial.&lt;br /&gt;
&lt;br /&gt;
= Testing OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see if openRAVE was correctly installed, we would like to check if all the plug-ins are present in our software, we do that by entering in Terminal the following:&lt;br /&gt;
&lt;br /&gt;
 openrave –listplugins&lt;br /&gt;
&lt;br /&gt;
The Plug-ins are supposed to be at least 14, if is so, then check that examples have been included at installation. Please enter the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
 openrave.py –listexamples&lt;br /&gt;
&lt;br /&gt;
This examples are not crucial for the tutorial, but later, they will be useful for explaining some aspects of coding and creating openRAVE Demos.&lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Default Viewer ==&lt;br /&gt;
&lt;br /&gt;
Before running any demo, it&#039;s important that you learn how to interact with the Coin3D GUI window, because Virtual Environments and 3D Models are shown in this window, and most of the time, you will find yourself willing to change the view perspectives, and other stuffs.&lt;br /&gt;
&lt;br /&gt;
In the following Figure, we show the default OpenRAVE Viewer that is Qt-Coin3D. We have pointed five principal buttons that you will use more frequently.&lt;br /&gt;
&lt;br /&gt;
[[Image:Openrave Window.png]]&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Menu View&#039;&#039;&#039;. In this menu, you will find the simulated camera parameters (that generates the actual view of the world), the Geometry, where you can switch between render &amp;amp; collision geometries of the objects, the frame rate of communication between the viewer and the core of the OpenRAVE, and the World Reference Frame (world axis).&lt;br /&gt;
# &#039;&#039;&#039;Menu Options&#039;&#039;&#039;. Here you will find as is expectable, some options for the simulation, like turning on the physics engine &amp;amp; the collision checkers, record the simulation etc.&lt;br /&gt;
# &#039;&#039;&#039;Arrow icon button&#039;&#039;&#039;. By default, this button is activated when the window is launched. This arrow indicates that your mouse pointer is in the “View Mode”. This means that you can rotate the view, pan &amp;amp; tilt, zoom in &amp;amp; out, etc. but you can not interact with the objects.&lt;br /&gt;
# Hand icon button. When you press this button, you are switching to the “Interaction Mode”.&lt;br /&gt;
# &#039;&#039;&#039;Eye icon button&#039;&#039;&#039;. This is a very helpful tool, because by pressing this button, the whole scene, will be automatically center in the window, so, if you initialize with an uncomfortable view, just click in the eye, and you will see the whole scene.&lt;br /&gt;
&lt;br /&gt;
OK, let&#039;s open our first experimental 3D World, that, in OpenRAVE we call Environment. The next instruction will open the Baltazar experimental environment. Try changing the views, also try to move the Robot and the objects, and finally, see what happens if you activate the physics engine with the gravity pointing to -Z. Notice that you can toggle between view-mode and interaction-mode pressing [Esc]. To move objects just wrap them, and to move joints, click in the link while holding [Ctrl]. Now, to launch the environment, if you have installed the OpenRAVE VisLab Edition, then in Terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave Vislab/OR4_Envs/Baltazar_at_Vislab.env.xml&lt;br /&gt;
&lt;br /&gt;
You should see a window similar to the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Baltazar Env.png]]&lt;br /&gt;
&lt;br /&gt;
In the remaining of this section, will be exploring the power of OpenRAVE by running some demos. &lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Demos ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s begin testing the physics engine [http://www.ode.org/ ODE]. Just type in Terminal..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics&lt;br /&gt;
&lt;br /&gt;
This is an example of how the physics engine works when activated. You will see that the robot is not remaining in a fixed position and Orientation. Why is that? Let&#039;s run another example to answer this question. In terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics_controller&lt;br /&gt;
&lt;br /&gt;
This second demo, is the one that actually demonstrates the physics engine with the Motor Controller of a PUMA. In the last demo, the controller was not defined and there were no such a thing like a force that maintain (or at least try to) the position and orientation of the links of the Robot. The physics engine also simulates the gravity, and because of that, if you do not declare the weight of the bodies in the environment, every time you activate the gravity simulation, you will see all this objects floating away in the scene.&lt;br /&gt;
&lt;br /&gt;
A third example that give us a demonstration of a Robot grasping objects, is the following..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example hanoi&lt;br /&gt;
&lt;br /&gt;
So far, we have seen examples of a Robot moving and interacting with objects, but OpenRAVE also give us the possibility of simulate Cameras and other sensors. Let&#039;s see an example with cameras. &lt;br /&gt;
&lt;br /&gt;
 openrave.py --example calibrationviews&lt;br /&gt;
&lt;br /&gt;
So, have you get the appetite? Yes?, well, now let&#039;s learn how to create some simulations!!!&lt;br /&gt;
&lt;br /&gt;
When experimenting with simulations in OpenRAVE, mainly we have the following stages:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Geometric Modelling&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Knowledge base generation&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Scripting&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Interfacing Simulations&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These will be discussed in the next sections...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Geometric Modelling =&lt;br /&gt;
&lt;br /&gt;
Here is where you will learn how to create your enviroment (scenario), and create the Robots and the objects. Please follow the tutorial in the next link&lt;br /&gt;
[[Geometric Modelling in OpenRAVE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Knowledge Base Generation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
When Rosen Diankov created OpenRAVE, he designed its structure in such a way that there were some modules (plug-ins) that automatically generate some databases in off-line mode. Some examples of these data bases, are the inverse kinematics, the grasping plug-in, reachability and inverse reachability computation, detectability and others. More about the knowledge base generation will be disused in other section.&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
Of course, if we want to run some special simulation, we have to code it. This can be done in [http://www.python.org/ Python] language, in [http://www.mathworks.com/ Matlab] Scripts, in [http://www.gnu.org/software/octave/ Octave] Scripts, or ultimately in C++.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We  present some Demos here:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Robot&#039;&#039;&#039;. In this demo, we have reproduced the ISR 7th flour. and we have mounted the Baltazar Robot on a segway, so it can translate throughout the corridors of the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Planning &amp;amp; Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Grasping&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Human Imitation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Interfacing Simulations =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
We also want to try our experiments in real Robots, and to do so, we can interface our simulation environment with the Robots. This is done with [http://www.ros.org/wiki/ ROS].&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3603</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3603"/>
		<updated>2011-03-10T16:09:57Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Note 2: &#039;&#039;for the &#039;&#039;&#039;past distribution of ROS C-Turtle&#039;&#039;&#039;, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the &#039;&#039;&#039;&amp;quot;Desktop-Full Install&amp;quot;&#039;&#039;&#039;. An easy to follow tutorial on how to install ROS is in here([http://www.ros.org/wiki/diamondback/Installation/Ubuntu ROS Installation]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks please read next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
In the C-Turtle distribution, the use of Kinect was done trough the Kinect Stack, now, in Diamondback, it is done by the [http://www.ros.org/wiki/ni ni STACK]. let us see how to install it.&lt;br /&gt;
&lt;br /&gt;
First, we need to have installed the following STACKS. To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#3rd_Party_Stacks_.26_Packages_installations 3rd Party stacks installation].&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/camera_drivers camera_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl_addons perception_pcl_addons]&lt;br /&gt;
&lt;br /&gt;
[http://www.ros.org/wiki/openni_kinect openni_kinect]&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see a Complete tutorial of OpenRAVE, please review this link: [http://mediawiki.isr.ist.utl.pt/wiki/OpenRAVE_Tutorial OpenRAVE Tutorial]&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3591</id>
		<title>OpenRAVE Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=OpenRAVE_Tutorial&amp;diff=3591"/>
		<updated>2011-03-07T15:57:04Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Scripting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This is a step-by-step &amp;quot;How to Use OpenRAVE&amp;quot; Tutorial, and is intended to be a guide to learn from the scratch how to program simulations in this open source simulator. If you have some knowledge or experience on using this software, we recommend you to see the OpenRAVE Just Use It webpage.&lt;br /&gt;
&lt;br /&gt;
= What is OpenRAVE? =&lt;br /&gt;
&lt;br /&gt;
The Open Robotics Automation Virtual Environment (OpenRAVE) is  an open-source cross-platform software architecture that is targeted for real-world autonomous robot applications, and includes a seamless integration of 3-D simulation, visualization, planning, scripting and control.&lt;br /&gt;
&lt;br /&gt;
A plugin architecture allows users to easily write custom controllers or extend functionality. With OpenRAVE plugins, any planning algorithm, robot controller, or sensing subsystem can be distributed and dynamically loaded at run-time, which frees developers from struggling with monolithic code-bases. Users of OpenRAVE can concentrate on the development of planning and scripting aspects of a problem without having to explicitly manage the details of robot kinematics and dynamics, collision detection, world updates, and robot control. Because OpenRAVE is focused on autonomous motion planning and high-level scripting rather than low-level control and message protocols, it can be used in conjunction with other popular robotics packages such as ROS. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE supports a powerful scripting environment based on Python which makes it simple to control and monitor the demo and environment state. There are also supported interfaces for Octave and Matlab. &lt;br /&gt;
&lt;br /&gt;
OpenRAVE was founded by [http://www.programmingvision.com/ Rosen Diankov] at the Quality of Life Technology Center in the Carnegie Mellon University Robotics Institute. It was inspired from the RAVE simulator James Kuffner had started developing in 1995 and used for his experiments ever since. The OpenRAVE project was started in 2006 and is a complete rewrite of RAVE. The main goal with OpenRAVE is to create a planning architecture that would give robotics researchers an easy open-source interface to control their robots both in simulation and in the real-world without having to worry about the small details. &lt;br /&gt;
&lt;br /&gt;
= Foreword =&lt;br /&gt;
&lt;br /&gt;
First of all, this is an unofficial tutorial, written at VisLab in order to facilitate the usage of this tool. &lt;br /&gt;
&lt;br /&gt;
Second: you can find the official web page of Rosen Diankov&#039;s OpenRAVE, [http://openrave.programmingvision.com/index.php/Main_Page here]. Although you will find better first hand information in the official web page, if you are a newbie, we better recommend to start with this tutorial that introduces gradually most of the modules that you will be using within this simulator.&lt;br /&gt;
&lt;br /&gt;
Third: although OpenRAVE is a cross-platform, this tutorial is just Linux-oriented, so, if you are a Windows user, perhaps you won&#039;t find this tutorial that useful.&lt;br /&gt;
&lt;br /&gt;
The rest is about to be LEARNED... Have some fun!!&lt;br /&gt;
&lt;br /&gt;
= How to Install OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
In this section we will describe how to easily install the OpenRAVE VisLab Edition.  We call it VisLab Edition, because some plug-ins have been modified for internal purposes and, also, some models have been added to the original version of OpenRAVE. In case you want to Install the current original version of OpenRAVE, please read the [http://openrave.programmingvision.com/index.php/Main_Page official site of OpenRAVE]. &lt;br /&gt;
We also strongly recommend you to download the VisLab_Scripts (a suite of shell scripts that have been written at VisLab), in order to facilitate most of the work explained in this section. To do so, just type in terminal the following:&lt;br /&gt;
&lt;br /&gt;
 wget http://mediawiki.isr.ist.utl.pt/images/6/60/OR_Vislab_Edition.zip&lt;br /&gt;
 mkdir $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 mv VisLab_Scripts.zip $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 cd $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 unzip VisLab_Scripts.zip&lt;br /&gt;
 chmod u+x -R $HOME/Desktop/VisLab_Scripts/&lt;br /&gt;
 rm VisLab_Scripts.zip&lt;br /&gt;
 cd&lt;br /&gt;
&lt;br /&gt;
== Install the Mathworks MATLAB ==&lt;br /&gt;
&lt;br /&gt;
If you wish to use the Matlab along with OpenRAVE, you must first have it properly installed. If you don&#039;t have it installed yet, in this little section you will find a shell script that simplifies a lot the installation in Linux. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following: &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_Matlab&lt;br /&gt;
&lt;br /&gt;
The last part of the configuration will be given in the Matlab Scripting Section.&lt;br /&gt;
&lt;br /&gt;
== Install the OpenRAVE VisLab Edition ==&lt;br /&gt;
&lt;br /&gt;
As we referred at the beginning, OpenRAVE is an open-source package, and in order to properly install it, you have first to install the dependencies. This can be very messy, and for this reason we have created a shell script that will help you to almost automatically install the OpenRAVE (actually, you just have to submit your user password sometimes when installing dependencies). Notice that the process of installation can take around 45 mins. If you have already the VisLab_Scripts in your Desktop, in Terminal just type the following:    &lt;br /&gt;
&lt;br /&gt;
 $HOME/Desktop/VisLab_Scripts/Install_openRAVE&lt;br /&gt;
&lt;br /&gt;
Once you have finished with the installation, you should restart your PC, and then continue with this tutorial.&lt;br /&gt;
&lt;br /&gt;
= Testing OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see if openRAVE was correctly installed, we would like to check if all the plug-ins are present in our software, we do that by entering in Terminal the following:&lt;br /&gt;
&lt;br /&gt;
 openrave –listplugins&lt;br /&gt;
&lt;br /&gt;
The Plug-ins are supposed to be at least 14, if is so, then check that examples have been included at installation. Please enter the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
 openrave.py –listexamples&lt;br /&gt;
&lt;br /&gt;
This examples are not crucial for the tutorial, but later, they will be useful for explaining some aspects of coding and creating openRAVE Demos.&lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Default Viewer ==&lt;br /&gt;
&lt;br /&gt;
Before running any demo, it&#039;s important that you learn how to interact with the Coin3D GUI window, because Virtual Environments and 3D Models are shown in this window, and most of the time, you will find yourself willing to change the view perspectives, and other stuffs.&lt;br /&gt;
&lt;br /&gt;
In the following Figure, we show the default OpenRAVE Viewer that is Qt-Coin3D. We have pointed five principal buttons that you will use more frequently.&lt;br /&gt;
&lt;br /&gt;
[[Image:Openrave Window.png]]&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Menu View&#039;&#039;&#039;. In this menu, you will find the simulated camera parameters (that generates the actual view of the world), the Geometry, where you can switch between render &amp;amp; collision geometries of the objects, the frame rate of communication between the viewer and the core of the OpenRAVE, and the World Reference Frame (world axis).&lt;br /&gt;
# &#039;&#039;&#039;Menu Options&#039;&#039;&#039;. Here you will find as is expectable, some options for the simulation, like turning on the physics engine &amp;amp; the collision checkers, record the simulation etc.&lt;br /&gt;
# &#039;&#039;&#039;Arrow icon button&#039;&#039;&#039;. By default, this button is activated when the window is launched. This arrow indicates that your mouse pointer is in the “View Mode”. This means that you can rotate the view, pan &amp;amp; tilt, zoom in &amp;amp; out, etc. but you can not interact with the objects.&lt;br /&gt;
# Hand icon button. When you press this button, you are switching to the “Interaction Mode”.&lt;br /&gt;
# &#039;&#039;&#039;Eye icon button&#039;&#039;&#039;. This is a very helpful tool, because by pressing this button, the whole scene, will be automatically center in the window, so, if you initialize with an uncomfortable view, just click in the eye, and you will see the whole scene.&lt;br /&gt;
&lt;br /&gt;
OK, let&#039;s open our first experimental 3D World, that, in OpenRAVE we call Environment. The next instruction will open the Baltazar experimental environment. Try changing the views, also try to move the Robot and the objects, and finally, see what happens if you activate the physics engine with the gravity pointing to -Z. Notice that you can toggle between view-mode and interaction-mode pressing [Esc]. To move objects just wrap them, and to move joints, click in the link while holding [Ctrl]. Now, to launch the environment, if you have installed the OpenRAVE VisLab Edition, then in Terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave Vislab/OR4_Envs/Baltazar_at_Vislab.env.xml&lt;br /&gt;
&lt;br /&gt;
You should see a window similar to the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Baltazar Env.png]]&lt;br /&gt;
&lt;br /&gt;
In the remaining of this section, will be exploring the power of OpenRAVE by running some demos. &lt;br /&gt;
&lt;br /&gt;
== OpenRAVE Demos ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s begin testing the physics engine [http://www.ode.org/ ODE]. Just type in Terminal..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics&lt;br /&gt;
&lt;br /&gt;
This is an example of how the physics engine works when activated. You will see that the robot is not remaining in a fixed position and Orientation. Why is that? Let&#039;s run another example to answer this question. In terminal just type..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example testphysics_controller&lt;br /&gt;
&lt;br /&gt;
This second demo, is the one that actually demonstrates the physics engine with the Motor Controller of a PUMA. In the last demo, the controller was not defined and there were no such a thing like a force that maintain (or at least try to) the position and orientation of the links of the Robot. The physics engine also simulates the gravity, and because of that, if you do not declare the weight of the bodies in the environment, every time you activate the gravity simulation, you will see all this objects floating away in the scene.&lt;br /&gt;
&lt;br /&gt;
A third example that give us a demonstration of a Robot grasping objects, is the following..:&lt;br /&gt;
&lt;br /&gt;
 openrave.py --example hanoi&lt;br /&gt;
&lt;br /&gt;
So far, we have seen examples of a Robot moving and interacting with objects, but OpenRAVE also give us the possibility of simulate Cameras and other sensors. Let&#039;s see an example with cameras. &lt;br /&gt;
&lt;br /&gt;
 openrave.py --example calibrationviews&lt;br /&gt;
&lt;br /&gt;
So, have you get the appetite? Yes?, well, now let&#039;s learn how to create some simulations!!!&lt;br /&gt;
&lt;br /&gt;
When experimenting with simulations in OpenRAVE, mainly we have the following stages:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Geometric Modelling&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Knowledge base generation&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Scripting&#039;&#039;&#039;. &lt;br /&gt;
# &#039;&#039;&#039;Interfacing Simulations&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These will be discussed in the next sections...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Geometric Modelling =&lt;br /&gt;
&lt;br /&gt;
Here is where you will learn how to create your enviroment (scenario), and create the Robots and the objects. Please follow the tutorial in the next link&lt;br /&gt;
[[Geometric Modelling in OpenRAVE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Knowledge Base Generation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
When Rosen Diankov created OpenRAVE, he designed its structure in such a way that there were some modules (plug-ins) that automatically generate some databases in off-line mode. Some examples of these data bases, are the inverse kinematics, the grasping plug-in, reachability and inverse reachability computation, detectability and others. More about the knowledge base generation will be disused in other section.&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
Of course, if we want to run some special simulation, we have to code it. This can be done in [http://www.python.org/ Python] language, in [http://www.mathworks.com/ Matlab] Scripts, in [http://www.gnu.org/software/octave/ Octave] Scripts, or ultimately in C++.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We  present some Demos here:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Robot&#039;&#039;&#039;. In this demo, we have reproduced the ISR 7th flour. and we have mounted the Baltazar Robot on a segway, so it can translate throughout the corridors of the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Planning &amp;amp; Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Grasping&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mobile Manipulation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Human Imitation&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Interfacing Simulations =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...This Section is not available yet&#039;&#039;&#039;.&lt;br /&gt;
We also want to try our experiments in real Robots, and to do so, we can interface our simulation environment with the Robots. This is done with [http://www.ros.org/wiki/ ROS].&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3589</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3589"/>
		<updated>2011-03-07T15:09:04Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* ROS - OpenRAVE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Note 2: &#039;&#039;for the &#039;&#039;&#039;past distribution of ROS C-Turtle&#039;&#039;&#039;, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the &#039;&#039;&#039;&amp;quot;Desktop-Full Install&amp;quot;&#039;&#039;&#039;. An easy to follow tutorial on how to install ROS is in here([http://www.ros.org/wiki/diamondback/Installation/Ubuntu ROS Installation]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks please read next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
In the C-Turtle distribution, the use of Kinect was done trough the Kinect Stack, now, in Diamondback, it is done by the [http://www.ros.org/wiki/ni ni STACK]. let us see how to install it.&lt;br /&gt;
&lt;br /&gt;
First, we need to have installed the following STACKS. To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#3rd_Party_Stacks_.26_Packages_installations 3rd Party stacks installation].&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/camera_drivers camera_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl_addons perception_pcl_addons]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
[http://www.ros.org/wiki/ni ROS OpenNi]&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
To see a Complete tutorial of OpenRAVE, please review this link: [http://mediawiki.isr.ist.utl.pt/wiki/OpenRAVE_Tutorial OpenRAVE Tutorial]&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3588</id>
		<title>ROS C Turtle</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3588"/>
		<updated>2011-03-07T15:06:16Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On March 3rd of 2011, the new version of ROS was released, so, the &#039;&#039;&#039;C-Turtle version is now deprecated&#039;&#039;&#039;. To view the recent version Diamonback, go to [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial this link ]&lt;br /&gt;
&lt;br /&gt;
Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3587</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3587"/>
		<updated>2011-03-07T15:00:42Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Note 2: &#039;&#039;for the &#039;&#039;&#039;past distribution of ROS C-Turtle&#039;&#039;&#039;, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the &#039;&#039;&#039;&amp;quot;Desktop-Full Install&amp;quot;&#039;&#039;&#039;. An easy to follow tutorial on how to install ROS is in here([http://www.ros.org/wiki/diamondback/Installation/Ubuntu ROS Installation]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks please read next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
In the C-Turtle distribution, the use of Kinect was done trough the Kinect Stack, now, in Diamondback, it is done by the [http://www.ros.org/wiki/ni ni STACK]. let us see how to install it.&lt;br /&gt;
&lt;br /&gt;
First, we need to have installed the following STACKS. To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#3rd_Party_Stacks_.26_Packages_installations 3rd Party stacks installation].&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/camera_drivers camera_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl_addons perception_pcl_addons]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
[http://www.ros.org/wiki/ni ROS OpenNi]&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3586</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3586"/>
		<updated>2011-03-07T14:58:16Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
Note 2: &#039;&#039;for the past distribution of ROS C-Turtle, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the &#039;&#039;&#039;&amp;quot;Desktop-Full Install&amp;quot;&#039;&#039;&#039;. An easy to follow tutorial on how to install ROS is in here([http://www.ros.org/wiki/diamondback/Installation/Ubuntu ROS Installation]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks please read next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
In the C-Turtle distribution, the use of Kinect was done trough the Kinect Stack, now, in Diamondback, it is done by the [http://www.ros.org/wiki/ni ni STACK]. let us see how to install it.&lt;br /&gt;
&lt;br /&gt;
First, we need to have installed the following STACKS. To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#3rd_Party_Stacks_.26_Packages_installations 3rd Party stacks installation].&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/camera_drivers camera_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl_addons perception_pcl_addons]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
[http://www.ros.org/wiki/ni ROS OpenNi]&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3585</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3585"/>
		<updated>2011-03-07T14:28:27Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Kinect Stack */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
Note 2: &#039;&#039;for the past distribution of ROS C-Turtle, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the &#039;&#039;&#039;&amp;quot;Desktop-Full Install&amp;quot;&#039;&#039;&#039;. An easy to follow tutorial on how to install ROS is in here([http://www.ros.org/wiki/diamondback/Installation/Ubuntu ROS Installation]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks please read next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
In the C-Turtle distribution, the use of Kinect was done trough the Kinect Stack, now, in Diamondback, it is done by the [http://www.ros.org/wiki/ni ni STACK]. let us see how to install it.&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3584</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3584"/>
		<updated>2011-03-07T14:19:51Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install ROS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
Note 2: &#039;&#039;for the past distribution of ROS C-Turtle, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the &#039;&#039;&#039;&amp;quot;Desktop-Full Install&amp;quot;&#039;&#039;&#039;. An easy to follow tutorial on how to install ROS is in here([http://www.ros.org/wiki/diamondback/Installation/Ubuntu ROS Installation]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks please read next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3583</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3583"/>
		<updated>2011-03-07T13:58:43Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note 1: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
Note 2: &#039;&#039;for the past distribution of ROS C-Turtle, please review [http://mediawiki.isr.ist.utl.pt/wiki/ROS_C_Turtle this link]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3582</id>
		<title>ROS C Turtle</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3582"/>
		<updated>2011-03-07T13:56:46Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: New page: On March 3rd of 2011, the new version of ROS was released, so, the C-Turtle version is now deprecated. To view the recent version Diamonback, go to [http://mediawiki.isr.ist.utl.pt/wiki/RO...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On March 3rd of 2011, the new version of ROS was released, so, the C-Turtle version is now deprecated. To view the recent version Diamonback, go to [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial this link ]&lt;br /&gt;
&lt;br /&gt;
Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3528</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3528"/>
		<updated>2011-03-01T20:48:15Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Start Using NOT FINISHED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SETING UP THE CYBERGLOVE&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0 (&#039;&#039;&#039;00:80:25:12:E7:57&#039;&#039;&#039; WCGII-3024)&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3527</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3527"/>
		<updated>2011-03-01T20:03:02Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now build the &#039;&#039;&#039;sr_remappers&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_remappers&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3526</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3526"/>
		<updated>2011-03-01T20:00:08Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Start Using NOT FINISHED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
 roslaunch cyberglove cyberglove.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_remappers remapper_glove.launch&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VER EL TOPIC&#039;&#039;&#039;&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3525</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3525"/>
		<updated>2011-03-01T19:50:43Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Start Using NOT FINISHED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; UPDATE &#039;&#039;&#039;&lt;br /&gt;
 roslaunch sr_hand sr_arm_motor.launch&lt;br /&gt;
&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
VER EL TOPIC&lt;br /&gt;
 rostopic echo /srh/shadowhand_data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
print mac adress&lt;br /&gt;
 hcitool scan&lt;br /&gt;
&lt;br /&gt;
Bind the mac adress to the rfcomm0&lt;br /&gt;
 sudo rfcomm bind rfcomm0 00:80:25:12:E7:57 1&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3524</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3524"/>
		<updated>2011-03-01T17:47:56Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* From Bazar Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar (bzr) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3523</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3523"/>
		<updated>2011-03-01T17:47:36Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* From Mercurial Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial (hg) Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the Mercurial installed in your pc &lt;br /&gt;
 sudo apt-get install mercurial&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page. As a example , we install the [http://www.ros.org/wiki/control &#039;&#039;&#039;control STACK&#039;&#039;&#039;]&lt;br /&gt;
 STACK=&amp;quot;control&amp;quot;&lt;br /&gt;
 SOURCE=&amp;quot;https://bitbucket.org/sglaser/control&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 cd $HOME/Ros_STACKS&lt;br /&gt;
 hg clone $SOURCE&lt;br /&gt;
&lt;br /&gt;
Export the path&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Finally, build the Stack&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3522</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3522"/>
		<updated>2011-03-01T17:25:26Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* 3rd Party Stacks &amp;amp; Packages installations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== From Mercurial Repository ==&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3521</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3521"/>
		<updated>2011-03-01T17:24:22Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* 3rd Party from Bazar Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== From Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
First, make sure that you have the bazar installed in your pc&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code, that is the link of the web-page, example&lt;br /&gt;
&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
Export the PATH to $ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
finally, build the STACK&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3520</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3520"/>
		<updated>2011-03-01T17:13:50Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/bosch_drivers bosch_drivers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, &#039;&#039;&#039;we will install first the sr_hand PACKAGE&#039;&#039;&#039;, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, let us procede with the &#039;&#039;&#039;sr_control_gui PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;sr_control_gui&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now, build the &#039;&#039;&#039;cyberglove PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;cyberglove&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now. build the &#039;&#039;&#039;dataglove STACK&#039;&#039;&#039;. To do so, enter the following in Terminal:&lt;br /&gt;
 STACK=&amp;quot;dataglove&amp;quot;&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/shadow_robot/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install the &#039;&#039;&#039;dataglove_processing PACKAGE&#039;&#039;&#039;&lt;br /&gt;
 PACKAGE=&amp;quot;dataglove_processing&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3519</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3519"/>
		<updated>2011-03-01T15:07:09Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/trajectory_msgs trajectory_msgs PACKAGE] (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control] (it&#039;s in Mercurial Repository)&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once (that will give several errors), we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], then the sr_control_gui PACKAGE, and finally we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, we will install first the sr_hand PACKAGE, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3518</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3518"/>
		<updated>2011-02-28T18:26:29Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* Add the [trajectory_msgs PACKAGE] to the common_msgs (use roscd trajectory_msgs to check if is already installed)&lt;br /&gt;
* [http://www.ros.org/wiki/control control]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, we will install first the sr_hand PACKAGE, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3517</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3517"/>
		<updated>2011-02-28T18:14:40Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/control control]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, we will install first the sr_hand PACKAGE, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3516</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3516"/>
		<updated>2011-02-28T18:02:37Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the full shadow_robot STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_common pr2_common]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_mechanism pr2_mechanism]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_controllers pr2_controllers]&lt;br /&gt;
* [http://www.ros.org/wiki/pr2_simulator# pr2_simulator]&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, we will install first the sr_hand PACKAGE, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3515</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3515"/>
		<updated>2011-02-27T19:09:25Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Start Using */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, we will install first the sr_hand PACKAGE, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using NOT FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Launchs the Node&lt;br /&gt;
 roslaunch sr_hand srh_motor.launch &lt;br /&gt;
&lt;br /&gt;
Now Display the Hand with the RVIZ&lt;br /&gt;
 roslaunch sr_hand rviz_motor.launch&lt;br /&gt;
&lt;br /&gt;
The RVIZ will not display automatically the Hand, because you have to add it to the display interface, To do this, click on Add at the bottom left of rviz, then select Robot Model. You can also visualize the targets of the hand by using a second robot_model in rviz. Don&#039;t forget to specify the correct topics:&lt;br /&gt;
&lt;br /&gt;
* To display the hand position: set Robot Description to hand_description and TF Prefix to /srh/position (on the left hand side, in the parameters of your robot_model).&lt;br /&gt;
* To display the hand targets: set Robot Description to hand_description and TF Prefix to /srh/target.&lt;br /&gt;
&lt;br /&gt;
Now, start the GUI Interface&lt;br /&gt;
 rosrun sr_control_gui sr_control_gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a helpfull link. [http://www.ros.org/doc/api/sr_hand/html/ sr_hand Documentation]&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3514</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3514"/>
		<updated>2011-02-27T17:29:23Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks:&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Until now, we just downloaded the whole STACK, and as Ugo Cupcic recommended, we will install first the sr_hand PACKAGE, so, to do that, in Terminal enter:&lt;br /&gt;
 PACKAGE=&amp;quot;sr_hand&amp;quot;&lt;br /&gt;
 roscd $PACKAGE&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using ==&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3513</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3513"/>
		<updated>2011-02-27T17:19:16Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first download the full STACK and then begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the, the shadow_robot STACK and [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install the STACK.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 SOURCE=&amp;quot;lp:sr-ros-interface&amp;quot;&lt;br /&gt;
 STACK=&amp;quot;shadow_robot&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 bzr branch $SOURCE&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
Now, export the path to the ROS_PACKAGE_PATH&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using ==&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3512</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3512"/>
		<updated>2011-02-27T17:07:39Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In this section we present some useful steps to install the [http://www.ros.org/wiki/shadow_robot shadow_robot STACK], although this stack is still under development, installation steps should be similar in future releases.&lt;br /&gt;
&lt;br /&gt;
Because the developer of this STACK Ugo Cupcic recommend it, instead of just installing the whole STACK at once, we first begin installing the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], and then, we will add the rest of the packages.&lt;br /&gt;
&lt;br /&gt;
As you will see in the [http://www.ros.org/wiki/sr_hand sr_hand PACKAGE], the repository is in Bazar, so, first make sre that you have the bazar installed.&lt;br /&gt;
 sudo apt-get install bzr&lt;br /&gt;
&lt;br /&gt;
Then prepare the directory where you want to install it.&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Get the SOURCE code..:&lt;br /&gt;
 bzr branch lp:sr-ros-interface&lt;br /&gt;
 mv sr-ros-interface/shadow_robot .&lt;br /&gt;
 rm -r sr-ros-interface&lt;br /&gt;
&lt;br /&gt;
If that fails, &#039;&#039;&#039;this is an alternative way to download the SOURCE code &#039;&#039;&#039;.&lt;br /&gt;
 wget http://launchpad.net/sr-ros-interface/release1.2/1.2.0/+download/release1.2.tar.gz&lt;br /&gt;
 tar xvvzf release1.2.tar.gz&lt;br /&gt;
 mv release1.2/shadow_robot .&lt;br /&gt;
 rm -r release1.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there are other useful links:&lt;br /&gt;
* [https://answers.launchpad.net/sr-ros-interface/+faq/1206 Installation FAQs]&lt;br /&gt;
* [http://www.ros.org/doc/api/sr_hand/html/ Shadow Robot Documentation]&lt;br /&gt;
&lt;br /&gt;
== Start Using ==&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3511</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3511"/>
		<updated>2011-02-27T16:13:31Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
= Shadow Robot Stack =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
== Start Using ==&lt;br /&gt;
&lt;br /&gt;
= Cyberglove =&lt;br /&gt;
&lt;br /&gt;
= ROS - OpenRAVE =&lt;br /&gt;
&lt;br /&gt;
= Interfacing Other Robots =&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3510</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3510"/>
		<updated>2011-02-26T22:32:26Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &#039;&#039;&#039;If when starting, the window seems to take a lot of memory (and most probably it will), you can release memory by UNCHECKING the Cameras in the left table as shown in the figure&#039;&#039;&#039;.&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
[[Image:Kinect.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s it. You can kill processes and unplug the Kinect.&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Kinect.png&amp;diff=3509</id>
		<title>File:Kinect.png</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Kinect.png&amp;diff=3509"/>
		<updated>2011-02-26T22:31:43Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: uploaded a new version of &amp;quot;Image:Kinect.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RVIZ window showing the Kinect&#039;s input.&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Kinect.png&amp;diff=3508</id>
		<title>File:Kinect.png</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Kinect.png&amp;diff=3508"/>
		<updated>2011-02-26T22:29:36Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: RVIZ window showing the Kinect&amp;#039;s input.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RVIZ window showing the Kinect&#039;s input.&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3507</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3507"/>
		<updated>2011-02-26T22:14:55Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039; and wait at least 10 seconds (camera initialization). Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, type:&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; do the following:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3506</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3506"/>
		<updated>2011-02-26T22:07:13Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Now install kinect and visualilzation&lt;br /&gt;
 sudo apt-get install ros-cturtle-kinect ros-cturtle-visualization&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Now plug in Kinect to USB port &#039;&#039;&#039; and open up permissions on usb port by entering in Terminal the following:&lt;br /&gt;
 sudo chmod 777 -R /dev/bus/usb&lt;br /&gt;
&lt;br /&gt;
Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
&lt;br /&gt;
And copy the next text into the file and save it.&lt;br /&gt;
 # /etc/udev/rules.d/53-kinect.rules&lt;br /&gt;
 # make kinect device mount with writing permissions&lt;br /&gt;
 #(default is read only for unknown devices)&lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Motor&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02b0&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Audio&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ad&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ATTR{product}==&amp;quot;Xbox NUI Camera&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;045e&amp;quot;, ATTR{idProduct}==&amp;quot;02ae&amp;quot;, MODE=&amp;quot;0666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now &#039;&#039;&#039;Make sure the kinect is disconnected from your computer&#039;&#039;&#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &#039;&#039;&#039;reconnect your kinect&#039;&#039;&#039;. Permissions should be normal (read/write).&lt;br /&gt;
&lt;br /&gt;
To test if the Kinect is publishing in ROS, &#039;&#039;&#039;in a new terminal&#039;&#039;&#039; Launch the Kinect by entering:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 roslaunch kinect_camera kinect_with_tf.launch&lt;br /&gt;
&lt;br /&gt;
Now to Launch the Visualization, create the file /tmp/kinect.vcg &lt;br /&gt;
 gedit /tmp/kinect.vcg &lt;br /&gt;
&lt;br /&gt;
...and copy the following text:&lt;br /&gt;
 Background\ ColorR=0&lt;br /&gt;
 Background\ ColorG=0&lt;br /&gt;
 Background\ ColorB=0&lt;br /&gt;
 Fixed\ Frame=/kinect_depth&lt;br /&gt;
 Target\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Camera.Alpha=0.5&lt;br /&gt;
 Camera.Enabled=1&lt;br /&gt;
 Camera.Image\ Topic=/kinect/rgb/image_raw&lt;br /&gt;
 Camera.Transport\ Hint=raw&lt;br /&gt;
 Camera2.Alpha=0.5&lt;br /&gt;
 Camera2.Enabled=1&lt;br /&gt;
 Camera2.Image\ Topic=/kinect/depth/image_raw&lt;br /&gt;
 Camera2.Transport\ Hint=raw&lt;br /&gt;
 Grid.Alpha=0.5&lt;br /&gt;
 Grid.Cell\ Size=1&lt;br /&gt;
 Grid.ColorR=0.5&lt;br /&gt;
 Grid.ColorG=0.5&lt;br /&gt;
 Grid.ColorB=0.5&lt;br /&gt;
 Grid.Enabled=1&lt;br /&gt;
 Grid.Line\ Style=0&lt;br /&gt;
 Grid.Line\ Width=0.03&lt;br /&gt;
 Grid.Normal\ Cell\ Count=0&lt;br /&gt;
 Grid.OffsetX=0&lt;br /&gt;
 Grid.OffsetY=0&lt;br /&gt;
 Grid.OffsetZ=0&lt;br /&gt;
 Grid.Plane=0&lt;br /&gt;
 Grid.Plane\ Cell\ Count=50&lt;br /&gt;
 Grid.Reference\ Frame=&amp;lt;Fixed Frame&amp;gt;&lt;br /&gt;
 Point\ Cloud2.Alpha=0.5&lt;br /&gt;
 Point\ Cloud2.Billboard\ Size=0.001&lt;br /&gt;
 Point\ Cloud2.Color\ Transformer=Flat Color&lt;br /&gt;
 Point\ Cloud2.Decay\ Time=0&lt;br /&gt;
 Point\ Cloud2.Enabled=1&lt;br /&gt;
 Point\ Cloud2.Position\ Transformer=XYZ&lt;br /&gt;
 Point\ Cloud2.Selectable=1&lt;br /&gt;
 Point\ Cloud2.Style=2&lt;br /&gt;
 Point\ Cloud2.Topic=/kinect/depth/points2&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorR=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorG=1&lt;br /&gt;
 Point\ Cloud2..Flat\ ColorColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityAutocompute\ Intensity\ Bounds=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorR=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorG=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ ColorB=1&lt;br /&gt;
 Point\ Cloud2..IntensityMax\ Intensity=4096&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorR=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorG=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ ColorB=0&lt;br /&gt;
 Point\ Cloud2..IntensityMin\ Intensity=0&lt;br /&gt;
 Tool\ 2D\ Nav\ GoalTopic=move_base_simple/goal&lt;br /&gt;
 Tool\ 2D\ Pose\ EstimateTopic=initialpose&lt;br /&gt;
 Camera\ Type=rviz::OrbitViewController&lt;br /&gt;
 Camera\ Config=2.88559 6.26704 6.20208 0.118644 2.18674 -0.179489&lt;br /&gt;
 Property\ Grid\ State=selection=Camera2.Enabled.Camera2.Image Topic;expanded=.Global Options,Point Cloud2.Enabled,Camera.Enabled,Camera2.Enabled;scrollpos=0,0;splitterpos=330,660;ispageselected=1&lt;br /&gt;
 [Display0]&lt;br /&gt;
 Name=Grid&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::GridDisplay&lt;br /&gt;
 [Display1]&lt;br /&gt;
 Name=Point Cloud2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::PointCloud2Display&lt;br /&gt;
 [Display2]&lt;br /&gt;
 Name=Camera&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 [Display3]&lt;br /&gt;
 Name=Camera2&lt;br /&gt;
 Package=rviz&lt;br /&gt;
 ClassName=rviz::CameraDisplay&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
You can see the nodes by entering &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039;&lt;br /&gt;
 rxgraph&lt;br /&gt;
&lt;br /&gt;
Close the rxgraph and now &#039;&#039;&#039;in a new Terminal&#039;&#039;&#039; do the following:&lt;br /&gt;
 . /opt/ros/cturtle/setup.sh&lt;br /&gt;
 rosrun rviz rviz -d /tmp/kinect.vcg&amp;amp;&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3505</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3505"/>
		<updated>2011-02-26T21:19:13Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Kinect */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect Stack=&lt;br /&gt;
&lt;br /&gt;
ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS. The kinect ROS stack contains low-level drivers, visualization launch files, and PCL/OpenCV tutorials/demos.&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
As you will see, Kinect STACK is in the GIT repository, so, First install the git and also the easy install tool from ROS, in terminal enter the following:&lt;br /&gt;
 sudo apt-get install python-setuptools git-core&lt;br /&gt;
 sudo easy_install -U rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, download the source code by typing in terminal:&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
 wget http://github.com/ros-pkg-git/kinect/raw/master/kinect.rosinstall --no-check-certificate&lt;br /&gt;
 rosinstall $HOME/Ros_Stacks/kinect-devel /opt/ros/cturtle kinect.rosinstall&lt;br /&gt;
&lt;br /&gt;
Now, to set up your environment.&lt;br /&gt;
 source $HOME/Ros_Stacks/kinect-devel/setup.bash&lt;br /&gt;
&lt;br /&gt;
Finally, Build ROS-kinect:&lt;br /&gt;
 . $HOME/Ros_Stacks/kinect-devel/setup.sh&lt;br /&gt;
 rosmake kinect --rosdep-install&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3504</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3504"/>
		<updated>2011-02-26T20:57:18Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* [http://www.ros.org/wiki/perception_pcl perception_pcl]&lt;br /&gt;
* [http://www.ros.org/wiki/point_cloud_perception point_cloud_perception]&lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3503</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3503"/>
		<updated>2011-02-26T20:50:01Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From_ROS-PKG:_SVN_Repository ROS-PKG: SVN Repository]&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3502</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3502"/>
		<updated>2011-02-26T20:48:51Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* Install Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
To Install the Kinect STACK, You first need installed the following stacks&lt;br /&gt;
&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
To know how to install them, please read [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial#From ROS-PKG: SVN Repository ]&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3501</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3501"/>
		<updated>2011-02-26T20:43:46Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* From ROS-PKG: SVN Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory and install the STACK. to do so, just enter in terminal:&lt;br /&gt;
 roscd $STACK&lt;br /&gt;
 rosmake --rosdep-install&lt;br /&gt;
&lt;br /&gt;
Ok, now you can try your STACK.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3500</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3500"/>
		<updated>2011-02-26T20:22:14Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* From ROS-PKG: SVN Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://code.ros.org/svn/ros-pkg/stacks/perception_pcl/trunk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3499</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3499"/>
		<updated>2011-02-26T20:20:39Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* From ROS-PKG: SVN Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://bosch-ros-pkg.svn.sourceforge.net/svnroot/bosch-ros-pkg/trunk/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3498</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3498"/>
		<updated>2011-02-26T20:19:47Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* From ROS-PKG: SVN Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospackage find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://bosch-ros-pkg.svn.sourceforge.net/svnroot/bosch-ros-pkg/trunk/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
Almost finish. To actually install the stack, you have to enter to the stack directory&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3497</id>
		<title>ROS Tutorial</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_Tutorial&amp;diff=3497"/>
		<updated>2011-02-26T20:16:37Z</updated>

		<summary type="html">&lt;p&gt;Lestergarcia: /* 3rd Party from ROS-PKG: SVN Repository */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: &#039;&#039;this tutorial is under construction&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Install ROS =&lt;br /&gt;
&lt;br /&gt;
To start using ROS meta operating system for robots, we recommend to follow the next steps:&lt;br /&gt;
&lt;br /&gt;
#  First you must install ROS. There already exist a very good tutorial to do so, and when you reach the part where you have to decide which version of ROS you want to install, we recommend to select the BASE edition. &amp;quot;Base: ROS plus robot-generic stacks (e.g. navigation, visualization&amp;quot;. The tutorial is in here([http://www.ros.org/wiki/cturtle/Installation/Ubuntu Install ROS Tutorial]).&lt;br /&gt;
#  To get a quick and good tutorial for beginners see this page ([http://www.ros.org/wiki/ROS/Tutorials BEGINNERS TUTORIAL]). We recommend to read at least the beginners tutorials.&lt;br /&gt;
#  To start adding stacks FIRST CHECK if the STACK you want is in [http://www.ros.org/wiki/StackList THIS List], If it is, you can install it easily by the next command, but be careful, because unfortunately, not all stacks in the list (but most of them) can be installed by the following method. The shadow_robot STACK it&#039;s one of them. You can install a specific ROS stack in the previous list just replacing underscores with dashes of the stack name with the following: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ros-cturtle-STACK-NAME&lt;br /&gt;
&lt;br /&gt;
if your installation fails, then read the next section.&lt;br /&gt;
&lt;br /&gt;
= 3rd Party Stacks &amp;amp; Packages installations =&lt;br /&gt;
&lt;br /&gt;
Source code, stacks and packages are stored in different repositories depending on who is developing the code. Must common repositories are the SVN and Bazar, so, downloading and installation are covered in this tutorial, but first, you must know how to identify these data.&lt;br /&gt;
&lt;br /&gt;
When You are interested in a particular software, as showed in the [http://www.ros.org/wiki/ROS/Tutorials beginners tutorial], you should search for the topic, and eventually, you will find yourself in a web-page similar to the one that is shown in the Figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Stack Page.png]]&lt;br /&gt;
&lt;br /&gt;
In the Figure, it is important that you recognize five features:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Application Name&#039;&#039;&#039; (Green). This name, shows the main functionality of the stack. Sometimes has the same name as the STACK name, but is not always the case.&lt;br /&gt;
# &#039;&#039;&#039;STACK name&#039;&#039;&#039; (Magenta). This is the actual name of the STACK. the others that are at the right side of the STACK name, are the sub-stacks or packages contained in this STACK. So, before considering to install the stack, first check if you have it already installed.&lt;br /&gt;
# &#039;&#039;&#039;Dependencies&#039;&#039;&#039; (Yellow). Before starting to install this actual STACK, is very recommended that you first have this stack-dependencies installed. Yes, this means that you have to track back all the dependencies until you find one with all dependencies already installed. (Ros Base has install for you many of the most common, so don&#039;t worry so much).&lt;br /&gt;
# &#039;&#039;&#039;Repository&#039;&#039;&#039; (Blue). Acording to the repository, you will proceed to to the installation. In next subsection we will show how to do Downloading an installation of ROS-PKG (SVN) and Bazar repositories.&lt;br /&gt;
# &#039;&#039;&#039;SOURCE&#039;&#039;&#039; or trunk link (Red). This is the branch for downloading the SOURCE code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== From ROS-PKG: SVN Repository ==&lt;br /&gt;
&lt;br /&gt;
ROS-PKG is a community repository for developing libraries that are generally robot agnostic. Many of the capabilities frequently associated with ROS, such as a navigation library and rviz visualizer, are developed in this repository. To see the list of stacks of this Repository, pleas go to this page: [http://www.ros.org/wiki/ros-pkg ROS-PKG STACKS LIST]&lt;br /&gt;
&lt;br /&gt;
In this part of the tutorial we will show how to install the [http://www.ros.org/wiki/perception_pcl# Perception_PCL] STACK, but steps are the same for any stack from the ROS-PKG Repository. To install any of the stacks here, do the following:&lt;br /&gt;
&lt;br /&gt;
 STACK=perception_pcl&lt;br /&gt;
&lt;br /&gt;
First, make sure that you DON&#039;T have this stack or package already installed. In terminal enter:&lt;br /&gt;
 rosstack find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, as the stack has been not installed, there will be a reply. In the case that you have it already installed, the result will be the Directory in which you have the stack installed. You can also search if the code is declared as a PACKAGE, so look for it entering in Terminal the following:&lt;br /&gt;
 rospackage find $STACK&lt;br /&gt;
&lt;br /&gt;
In this case, it will complain again. So, what is next step?... ensure that we have already installed the Dependencies. IN THIS SPECIFIC case, Dependancies are: &lt;br /&gt;
* common&lt;br /&gt;
* common_msgs&lt;br /&gt;
* driver_common&lt;br /&gt;
* geometry&lt;br /&gt;
* ros&lt;br /&gt;
* ros_comm&lt;br /&gt;
&lt;br /&gt;
We know in advance that these stacks, are part of the default ROS Base, so you don&#039;t have to track back any stack or package, so we can continue.&lt;br /&gt;
&lt;br /&gt;
Make sure you have SVN installed. &lt;br /&gt;
 sudo aptitude install subversion&lt;br /&gt;
&lt;br /&gt;
Create the Directory where you want to install the stack, and go there..&lt;br /&gt;
 mkdir -p $HOME/Ros_Stacks/&lt;br /&gt;
 cd $HOME/Ros_Stacks/&lt;br /&gt;
&lt;br /&gt;
Then you can checkout the SOURCE (trunk link) from the svn repository listed in the wiki. The trunk if you are curious is the default branch of code in a svn repository, as opposed to the experimental branch. So, when you go to the STACK web page, you will see the something like in the Figure above.&lt;br /&gt;
&lt;br /&gt;
You should pay special attention to the Repository and to the Source lines. The Repository line, indicates the name of the STACK and the source indicates the link to experimental stack. What we want, is to get the whole Stack, so, in order to do that, first, copy the link of the SOURCE line but &#039;&#039;&#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&#039;&#039;&#039;. then in terminal, save it in a variable, for example:&lt;br /&gt;
 SOURCE=&amp;quot;https://bosch-ros-pkg.svn.sourceforge.net/svnroot/bosch-ros-pkg/trunk/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now that we have the STACK name and the SOURCE, we just do the following in Terminal&lt;br /&gt;
 svn co $SOURCE $STACK&lt;br /&gt;
&lt;br /&gt;
After downloaded, edit your ROS_PACKAGE_PATH in your .bashrc&lt;br /&gt;
 echo &amp;quot;export ROS_PACKAGE_PATH=$HOME/Ros_Stacks/$STACK:$ROS_PACKAGE_PATH&amp;quot; &amp;gt;&amp;gt; $HOME/.bashrc&lt;br /&gt;
&lt;br /&gt;
== 3rd Party from Bazar Repository ==&lt;br /&gt;
&lt;br /&gt;
bla bla bla ...&lt;br /&gt;
&lt;br /&gt;
= Kinect =&lt;br /&gt;
&lt;br /&gt;
Intro to the Kinect&lt;br /&gt;
&lt;br /&gt;
== Install Drivers ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;br /&gt;
&lt;br /&gt;
== Test Demos ==&lt;br /&gt;
&lt;br /&gt;
bla bla&lt;/div&gt;</summary>
		<author><name>Lestergarcia</name></author>
	</entry>
</feed>