<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?action=history&amp;feed=atom&amp;title=ROS_C_Turtle</id>
	<title>ROS C Turtle - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?action=history&amp;feed=atom&amp;title=ROS_C_Turtle"/>
	<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;action=history"/>
	<updated>2026-05-30T22:01:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3588&amp;oldid=prev</id>
		<title>Lestergarcia at 15:06, 7 March 2011</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3588&amp;oldid=prev"/>
		<updated>2011-03-07T15:06:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:06, 7 March 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&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;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On March 3rd of 2011, the new version of ROS was released, so, the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;C-Turtle version is now deprecated&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;. To view the recent version Diamonback, go to [http://mediawiki.isr.ist.utl.pt/wiki/ROS_Tutorial this link ]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: &amp;#039;&amp;#039;this tutorial is under construction&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: &amp;#039;&amp;#039;this tutorial is under construction&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&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&amp;oldid=prev</id>
		<title>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...</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ROS_C_Turtle&amp;diff=3582&amp;oldid=prev"/>
		<updated>2011-03-07T13:56:46Z</updated>

		<summary type="html">&lt;p&gt;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;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&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: &amp;#039;&amp;#039;this tutorial is under construction&amp;#039;&amp;#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&amp;#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;
# &amp;#039;&amp;#039;&amp;#039;Application Name&amp;#039;&amp;#039;&amp;#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;
# &amp;#039;&amp;#039;&amp;#039;STACK name&amp;#039;&amp;#039;&amp;#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;
# &amp;#039;&amp;#039;&amp;#039;Dependencies&amp;#039;&amp;#039;&amp;#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&amp;#039;t worry so much).&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Repository&amp;#039;&amp;#039;&amp;#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;
# &amp;#039;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;#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&amp;#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&amp;#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 &amp;#039;&amp;#039;&amp;#039;delete everything after the word &amp;quot; https:......../trunk/ &amp;quot;&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;control STACK&amp;#039;&amp;#039;&amp;#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;
&amp;#039;&amp;#039;&amp;#039;Now plug in Kinect to USB port &amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;Make sure the kinect is disconnected from your computer&amp;#039;&amp;#039;&amp;#039; and run: &lt;br /&gt;
 sudo service udev reload&lt;br /&gt;
&lt;br /&gt;
Then &amp;#039;&amp;#039;&amp;#039;reconnect your kinect&amp;#039;&amp;#039;&amp;#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;
&amp;#039;&amp;#039;&amp;#039;In a new terminal&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;in a new Terminal&amp;#039;&amp;#039;&amp;#039; Launch the visualization software RVIZ. Notice that the default launch for rviz is set to display 3 Cameras. &amp;#039;&amp;#039;&amp;#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&amp;#039;&amp;#039;&amp;#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&amp;#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&amp;#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, &amp;#039;&amp;#039;&amp;#039;this is an alternative way to download the SOURCE code &amp;#039;&amp;#039;&amp;#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, &amp;#039;&amp;#039;&amp;#039;we will install first the sr_hand PACKAGE&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;sr_control_gui PACKAGE&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;cyberglove PACKAGE&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;dataglove STACK&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;dataglove_processing PACKAGE&amp;#039;&amp;#039;&amp;#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 &amp;#039;&amp;#039;&amp;#039;sr_remappers&amp;#039;&amp;#039;&amp;#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&amp;#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;
&amp;#039;&amp;#039;&amp;#039; UPDATE &amp;#039;&amp;#039;&amp;#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;
&amp;#039;&amp;#039;&amp;#039;VER EL TOPIC&amp;#039;&amp;#039;&amp;#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;
&amp;#039;&amp;#039;&amp;#039;SETING UP THE CYBERGLOVE&amp;#039;&amp;#039;&amp;#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 (&amp;#039;&amp;#039;&amp;#039;00:80:25:12:E7:57&amp;#039;&amp;#039;&amp;#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>
</feed>