<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://murray.cds.caltech.edu/index.php?action=history&amp;feed=atom&amp;title=ME%2FCS_132a%2C_Winter_2011%2C_Lab_1</id>
	<title>ME/CS 132a, Winter 2011, Lab 1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://murray.cds.caltech.edu/index.php?action=history&amp;feed=atom&amp;title=ME%2FCS_132a%2C_Winter_2011%2C_Lab_1"/>
	<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;action=history"/>
	<updated>2026-09-06T00:59:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12241&amp;oldid=prev</id>
		<title>Hanshuo: moved ME/CS 132a, Winter 2010, Lab 1 to ME/CS 132a, Winter 2011, Lab 1:&amp;#32;Incorrect year</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12241&amp;oldid=prev"/>
		<updated>2011-03-16T06:51:57Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/ME/CS_132a,_Winter_2010,_Lab_1&quot; class=&quot;mw-redirect&quot; title=&quot;ME/CS 132a, Winter 2010, Lab 1&quot;&gt;ME/CS 132a, Winter 2010, Lab 1&lt;/a&gt; to &lt;a href=&quot;/ME/CS_132a,_Winter_2011,_Lab_1&quot; title=&quot;ME/CS 132a, Winter 2011, Lab 1&quot;&gt;ME/CS 132a, Winter 2011, Lab 1&lt;/a&gt;: Incorrect year&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 06:51, 16 March 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12012:rev-12241 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12012&amp;oldid=prev</id>
		<title>Hanshuo: /* Exercise #3: Controlling the Robot Using Player and Client Code */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12012&amp;oldid=prev"/>
		<updated>2011-02-05T02:11:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Exercise #3: Controlling the Robot Using Player and Client Code&lt;/span&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 02:11, 5 February 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-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;In Exercise #2, we have made the robot move in a controlled fashion by inserting our client code. Now let us learn how to control a real robot using the same client code. You will only be able to do the following during the lab session, but it can save you a lot of precious lab time if you read this beforehand:&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;In Exercise #2, we have made the robot move in a controlled fashion by inserting our client code. Now let us learn how to control a real robot using the same client code. You will only be able to do the following during the lab session, but it can save you a lot of precious lab time if you read this beforehand:&lt;/div&gt;&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;# &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Connect &lt;/del&gt;to the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;onboard &lt;/del&gt;laptop &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;via SSH &lt;/del&gt;and copy your code/binaries to the laptop. This is similar to connecting to the course server, but with a different username and remote address, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which will be given by the TA during the lab session&lt;/del&gt;.  &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;# &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When you are in the lab, connect to the lab wireless network &#039;&#039;arena&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# SSH &lt;/ins&gt;to the laptop and copy your code/binaries to the laptop. This is similar to connecting to the course server, but with a different username and remote address&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#* Username: me132&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#* IP address: 10.0.126.13 (laptop #1, aka &#039;&#039;honolulu&#039;&#039;)&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;10.0.126&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;14 (laptop #2, aka &#039;&#039;hilo&#039;&#039;) &lt;/ins&gt;&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;div&gt;# Go to the &amp;lt;TT&amp;gt;configs&amp;lt;/TT&amp;gt; directory. Use &amp;lt;TT&amp;gt;pioneer2.cfg&amp;lt;/TT&amp;gt; or &amp;lt;TT&amp;gt;pioneer2_laser.cfg&amp;lt;/TT&amp;gt; (when there is a laser scanner onboard) as the config file to run Player:&amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ cd ~/configs &amp;lt;/tt&amp;gt;&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;or &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2_laser.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;Both config files will be given during the lab session. Note we do not give a RPIN during the lab session. Instead, we use the default one for convenience, since there won&amp;#039;t be any other active users.&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;# Go to the &amp;lt;TT&amp;gt;configs&amp;lt;/TT&amp;gt; directory. Use &amp;lt;TT&amp;gt;pioneer2.cfg&amp;lt;/TT&amp;gt; or &amp;lt;TT&amp;gt;pioneer2_laser.cfg&amp;lt;/TT&amp;gt; (when there is a laser scanner onboard) as the config file to run Player:&amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ cd ~/configs &amp;lt;/tt&amp;gt;&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;or &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2_laser.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;Both config files will be given during the lab session. Note we do not give a RPIN during the lab session. Instead, we use the default one for convenience, since there won&amp;#039;t be any other active users.&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;div&gt;# Open another terminal window. Connect to the laptop, and start your own client program as in Exercise #2. You should see the robot move in your desired fashion. For &amp;lt;tt&amp;gt;me132_tutorial_0&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;me132_tutorial_2&amp;lt;/tt&amp;gt;, run them as before, but without the RPIN (to be consistent with Step 2). For &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt;, you need to run it with one additional parameter, the &amp;#039;&amp;#039;&amp;#039;camera ID&amp;#039;&amp;#039;&amp;#039;, which will be given during the lab session: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ ./me132_tutorial_3 &amp;lt;camera_id&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; You will also need to copy the corresponding camera calibration file to the directory where &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt; is located: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ cp ~/bb2_cal/&amp;lt;camera_id&amp;gt;.cal .&amp;lt;/tt&amp;gt;&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;# Open another terminal window. Connect to the laptop, and start your own client program as in Exercise #2. You should see the robot move in your desired fashion. For &amp;lt;tt&amp;gt;me132_tutorial_0&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;me132_tutorial_2&amp;lt;/tt&amp;gt;, run them as before, but without the RPIN (to be consistent with Step 2). For &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt;, you need to run it with one additional parameter, the &amp;#039;&amp;#039;&amp;#039;camera ID&amp;#039;&amp;#039;&amp;#039;, which will be given during the lab session: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ ./me132_tutorial_3 &amp;lt;camera_id&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; You will also need to copy the corresponding camera calibration file to the directory where &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt; is located: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ cp ~/bb2_cal/&amp;lt;camera_id&amp;gt;.cal .&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12011:rev-12012:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12011&amp;oldid=prev</id>
		<title>Hanshuo: /* Exercise #2: Running Player/Stage with Your Own Client Code (Controller) */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12011&amp;oldid=prev"/>
		<updated>2011-02-05T02:02:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Exercise #2: Running Player/Stage with Your Own Client Code (Controller)&lt;/span&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 02:02, 5 February 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-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&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;In Exercise #1, we have seen the simulated robot wander around, but now let&amp;#039;s make it move in a controlled fashion by inserting our own controller (referred to as the &amp;#039;&amp;#039;client code&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;In Exercise #1, we have seen the simulated robot wander around, but now let&amp;#039;s make it move in a controlled fashion by inserting our own controller (referred to as the &amp;#039;&amp;#039;client code&amp;#039;&amp;#039;).  &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;div&gt;# Follow the instructions as in Exercise #1, but this time use another config file:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player lab0014.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;# Follow the instructions as in Exercise #1, but this time use another config file:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player lab0014.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&lt;/div&gt;&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;# Open another terminal window. Connect to the server, and change to the directory containing the tutorial client code:&amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ cd &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;client_code &lt;/del&gt;&amp;lt;/TT&amp;gt;&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;# Open another terminal window. Connect to the server, and change to the directory containing the tutorial client code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, e.g.&lt;/ins&gt;:&amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ cd &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;part1/me132_tutorial_player &lt;/ins&gt;&amp;lt;/TT&amp;gt;&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;div&gt;# Compile the C++ code to generate the binaries (i.e. executables). You only need to do this once, unless you change the source C++ code (&amp;lt;TT&amp;gt;.cc&amp;lt;/TT&amp;gt; files): &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ make&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt;&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;# Compile the C++ code to generate the binaries (i.e. executables). You only need to do this once, unless you change the source C++ code (&amp;lt;TT&amp;gt;.cc&amp;lt;/TT&amp;gt; files): &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ make&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt;&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;div&gt;# Run the following to start the client program. Take &amp;lt;TT&amp;gt;me132_tutorial_0&amp;lt;/TT&amp;gt; as an example: &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ ./me132_tutorial_0 -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;# Run the following to start the client program. Take &amp;lt;TT&amp;gt;me132_tutorial_0&amp;lt;/TT&amp;gt; as an example: &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ ./me132_tutorial_0 -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12010:rev-12011:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12010&amp;oldid=prev</id>
		<title>Hanshuo: /* Running Player/Stage */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12010&amp;oldid=prev"/>
		<updated>2011-02-05T02:01:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Running Player/Stage&lt;/span&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 02:01, 5 February 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-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&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;=== Running Player/Stage ===&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;=== Running Player/Stage ===&lt;/div&gt;&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;# Change directory to the appropriate path that contains the player configuration file: &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BR&lt;/del&gt;&amp;gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TT&lt;/del&gt;&amp;gt;$ cd configs &amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TT&lt;/del&gt;&amp;gt;&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;# Change directory to the appropriate path that contains the player configuration file: &amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;br&lt;/ins&gt;&amp;gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tt&lt;/ins&gt;&amp;gt;$ cd &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;part1/me132_tutorial_player/&lt;/ins&gt;configs&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tt&lt;/ins&gt;&amp;gt;&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;div&gt;# Start up Player, using the test config file: &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player simple.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;# Start up Player, using the test config file: &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player simple.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;div&gt;#* &amp;lt;TT&amp;gt;your_RPIN&amp;lt;/TT&amp;gt; is your robot port ID number which you were already assigned.&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;#* &amp;lt;TT&amp;gt;your_RPIN&amp;lt;/TT&amp;gt; is your robot port ID number which you were already assigned.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12009:rev-12010:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12009&amp;oldid=prev</id>
		<title>Hanshuo: /* Exercise #3: Controlling the Robot Using Player and Client Code */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12009&amp;oldid=prev"/>
		<updated>2011-02-05T01:58:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Exercise #3: Controlling the Robot Using Player and Client Code&lt;/span&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 01:58, 5 February 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-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&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;In Exercise #2, we have made the robot move in a controlled fashion by inserting our client code. Now let us learn how to control a real robot using the same client code. You will only be able to do the following during the lab session, but it can save you a lot of precious lab time if you read this beforehand:&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;In Exercise #2, we have made the robot move in a controlled fashion by inserting our client code. Now let us learn how to control a real robot using the same client code. You will only be able to do the following during the lab session, but it can save you a lot of precious lab time if you read this beforehand:&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;div&gt;# Connect to the onboard laptop via SSH and copy your code/binaries to the laptop. This is similar to connecting to the course server, but with a different username and remote address, which will be given by the TA during the lab session.  &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;# Connect to the onboard laptop via SSH and copy your code/binaries to the laptop. This is similar to connecting to the course server, but with a different username and remote address, which will be given by the TA during the lab session.  &lt;/div&gt;&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;# Go to the &amp;lt;TT&amp;gt;configs&amp;lt;/TT&amp;gt; directory. Use &amp;lt;TT&amp;gt;pioneer2.cfg&amp;lt;/TT&amp;gt; or &amp;lt;TT&amp;gt;pioneer2_laser.cfg&amp;lt;/TT&amp;gt; (when there is a laser scanner onboard) as the config file to run Player:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;or &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2_laser.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;Both config files will be given during the lab session. Note we do not give a RPIN during the lab session. Instead, we use the default one for convenience, since there won&#039;t be any other active users.&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;# Go to the &amp;lt;TT&amp;gt;configs&amp;lt;/TT&amp;gt; directory. Use &amp;lt;TT&amp;gt;pioneer2.cfg&amp;lt;/TT&amp;gt; or &amp;lt;TT&amp;gt;pioneer2_laser.cfg&amp;lt;/TT&amp;gt; (when there is a laser scanner onboard) as the config file to run Player:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ cd ~/configs &amp;lt;/tt&amp;gt;&lt;/ins&gt;&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;or &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player pioneer2_laser.cfg&amp;lt;/TT&amp;gt;&amp;lt;BR&amp;gt;Both config files will be given during the lab session. Note we do not give a RPIN during the lab session. Instead, we use the default one for convenience, since there won&#039;t be any other active users.&lt;/div&gt;&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;# Open another terminal window. Connect to the laptop, and start your own client program as in Exercise #2. You should see the robot move in your desired fashion. For &amp;lt;tt&amp;gt;me132_tutorial_0&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;me132_tutorial_2&amp;lt;/tt&amp;gt;, run them as before, but without the RPIN (to be consistent with Step 2). For &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt;, you need to run it with one additional parameter, the &#039;&#039;&#039;camera ID&#039;&#039;&#039;, which will be given during the lab session: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ ./me132_tutorial_3 &amp;lt;camera_id&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&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;# Open another terminal window. Connect to the laptop, and start your own client program as in Exercise #2. You should see the robot move in your desired fashion. For &amp;lt;tt&amp;gt;me132_tutorial_0&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;me132_tutorial_2&amp;lt;/tt&amp;gt;, run them as before, but without the RPIN (to be consistent with Step 2). For &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt;, you need to run it with one additional parameter, the &#039;&#039;&#039;camera ID&#039;&#039;&#039;, which will be given during the lab session: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ ./me132_tutorial_3 &amp;lt;camera_id&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt; You will also need to copy the corresponding camera calibration file to the directory where &amp;lt;tt&amp;gt;me132_tutorial_3&amp;lt;/tt&amp;gt; is located: &amp;lt;br&amp;gt;&amp;lt;tt&amp;gt;$ cp ~/bb2_cal/&amp;lt;camera_id&amp;gt;.cal .&amp;lt;/tt&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12007:rev-12009:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12007&amp;oldid=prev</id>
		<title>Hanshuo: /* Logging into the Player/Stage remote server (Linux/Mac OS X) */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12007&amp;oldid=prev"/>
		<updated>2011-02-04T10:18:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Logging into the Player/Stage remote server (Linux/Mac OS X)&lt;/span&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 10:18, 4 February 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-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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;=== Logging into the Player/Stage remote server (Linux/Mac OS X) ===&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;=== Logging into the Player/Stage remote server (Linux/Mac OS X) ===&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;div&gt;# Open a terminal window (that is X-friendly).&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;# Open a terminal window (that is X-friendly).&lt;/div&gt;&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;# Connect to robotics via SSH:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ ssh -X username@tokyo.cds.caltech.edu&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt; and enter the password (where &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/del&gt;username&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; &lt;/del&gt;needs to be replaced with the one received from the TA).&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;# Connect to robotics via SSH:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ ssh -X username@tokyo.cds.caltech.edu&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt; and enter the password (where &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tt&amp;gt;&lt;/ins&gt;username&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/tt&amp;gt; &lt;/ins&gt;needs to be replaced with the one received from the TA).&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;div&gt;#* The &amp;quot;-X&amp;quot; enables X11 forwarding, which is how you&amp;#039;ll get the Stage windows and such to appear on your local machine.&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;#* The &amp;quot;-X&amp;quot; enables X11 forwarding, which is how you&amp;#039;ll get the Stage windows and such to appear on your local machine.&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;div&gt;# If this is your first login, be sure to change your password by running: &amp;lt;br&amp;gt;&amp;lt;TT&amp;gt;$ passwd&amp;lt;/TT&amp;gt;&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;# If this is your first login, be sure to change your password by running: &amp;lt;br&amp;gt;&amp;lt;TT&amp;gt;$ passwd&amp;lt;/TT&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12006:rev-12007:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12006&amp;oldid=prev</id>
		<title>Hanshuo: /* Exercise #2: Running Player/Stage with Your Own Client Code (Controller) */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12006&amp;oldid=prev"/>
		<updated>2011-02-04T10:17:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Exercise #2: Running Player/Stage with Your Own Client Code (Controller)&lt;/span&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 10:17, 4 February 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-l32&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&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;== Exercise #2: Running Player/Stage with Your Own Client Code (Controller) ==&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;== Exercise #2: Running Player/Stage with Your Own Client Code (Controller) ==&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;div&gt;In Exercise #1, we have seen the simulated robot wander around, but now let&amp;#039;s make it move in a controlled fashion by inserting our own controller (referred to as the &amp;#039;&amp;#039;client code&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;In Exercise #1, we have seen the simulated robot wander around, but now let&amp;#039;s make it move in a controlled fashion by inserting our own controller (referred to as the &amp;#039;&amp;#039;client code&amp;#039;&amp;#039;).  &lt;/div&gt;&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;# Follow the instructions as in Exercise #1, but this time use another config file&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player lab0014.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;# Follow the instructions as in Exercise #1, but this time use another config file:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player lab0014.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;div&gt;# Open another terminal window. Connect to the server, and change to the directory containing the tutorial client code:&amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ cd client_code &amp;lt;/TT&amp;gt;&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;# Open another terminal window. Connect to the server, and change to the directory containing the tutorial client code:&amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ cd client_code &amp;lt;/TT&amp;gt;&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;div&gt;# Compile the C++ code to generate the binaries (i.e. executables). You only need to do this once, unless you change the source C++ code (&amp;lt;TT&amp;gt;.cc&amp;lt;/TT&amp;gt; files): &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ make&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt;&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;# Compile the C++ code to generate the binaries (i.e. executables). You only need to do this once, unless you change the source C++ code (&amp;lt;TT&amp;gt;.cc&amp;lt;/TT&amp;gt; files): &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ make&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12005:rev-12006:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12005&amp;oldid=prev</id>
		<title>Hanshuo: /* Running Player/Stage */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12005&amp;oldid=prev"/>
		<updated>2011-02-04T10:16:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Running Player/Stage&lt;/span&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 10:16, 4 February 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-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&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;=== Running Player/Stage ===&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;=== Running Player/Stage ===&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;div&gt;# Change directory to the appropriate path that contains the player configuration file: &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ cd configs &amp;lt;/TT&amp;gt;&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;# Change directory to the appropriate path that contains the player configuration file: &amp;lt;BR&amp;gt;&amp;lt;TT&amp;gt;$ cd configs &amp;lt;/TT&amp;gt;&lt;/div&gt;&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;# Start up Player, using the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Robotics lab world &lt;/del&gt;config file: &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player simple.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;# Start up Player, using the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;test &lt;/ins&gt;config file: &amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ player simple.cfg -p &amp;lt;your_RPIN&amp;gt;&amp;lt;/TT&amp;gt;&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;div&gt;#* &amp;lt;TT&amp;gt;your_RPIN&amp;lt;/TT&amp;gt; is your robot port ID number which you were already assigned.&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;#* &amp;lt;TT&amp;gt;your_RPIN&amp;lt;/TT&amp;gt; is your robot port ID number which you were already assigned.&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;div&gt;#* You should see the Stage simulator and a simulated robot wandering around.&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;#* You should see the Stage simulator and a simulated robot wandering around.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12004:rev-12005:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12004&amp;oldid=prev</id>
		<title>Hanshuo: /* Logging into the Player/Stage remote server (Windows) */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12004&amp;oldid=prev"/>
		<updated>2011-02-04T10:15:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Logging into the Player/Stage remote server (Windows)&lt;/span&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 10:15, 4 February 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-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;# Open up your SSH client program, and change the appropriate settings to enable X11 forwarding.&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;# Open up your SSH client program, and change the appropriate settings to enable X11 forwarding.&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;div&gt;#*  For Putty, this is under &amp;quot;Connection--&amp;gt;SSH--&amp;gt;X11 forwarding&amp;quot;&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;#*  For Putty, this is under &amp;quot;Connection--&amp;gt;SSH--&amp;gt;X11 forwarding&amp;quot;&lt;/div&gt;&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;# If this is your first login, be sure to change your password by running &amp;lt;TT&amp;gt;passwd&amp;lt;/TT&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in the command line.&lt;/del&gt;&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;# If this is your first login, be sure to change your password by running&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &amp;lt;br&amp;gt;&lt;/ins&gt;&amp;lt;TT&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ &lt;/ins&gt;passwd&amp;lt;/TT&amp;gt;&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;=== Running Player/Stage ===&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;=== Running Player/Stage ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12003:rev-12004:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12003&amp;oldid=prev</id>
		<title>Hanshuo: /* Logging into the Player/Stage remote server (Linux/Mac OS X) */</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=ME/CS_132a,_Winter_2011,_Lab_1&amp;diff=12003&amp;oldid=prev"/>
		<updated>2011-02-04T10:15:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Logging into the Player/Stage remote server (Linux/Mac OS X)&lt;/span&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 10:15, 4 February 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-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&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;# Connect to robotics via SSH:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ ssh -X username@tokyo.cds.caltech.edu&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt; and enter the password (where &amp;#039;&amp;#039;username&amp;#039;&amp;#039; needs to be replaced with the one received from the TA).&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;# Connect to robotics via SSH:&amp;lt;BR&amp;gt; &amp;lt;TT&amp;gt;$ ssh -X username@tokyo.cds.caltech.edu&amp;lt;/TT&amp;gt; &amp;lt;BR&amp;gt; and enter the password (where &amp;#039;&amp;#039;username&amp;#039;&amp;#039; needs to be replaced with the one received from the TA).&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;div&gt;#* The &amp;quot;-X&amp;quot; enables X11 forwarding, which is how you&amp;#039;ll get the Stage windows and such to appear on your local machine.&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;#* The &amp;quot;-X&amp;quot; enables X11 forwarding, which is how you&amp;#039;ll get the Stage windows and such to appear on your local machine.&lt;/div&gt;&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;# If this is your first login, be sure to change your password by running &amp;lt;TT&amp;gt;passwd&amp;lt;/TT&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in the command line.&lt;/del&gt;&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;# If this is your first login, be sure to change your password by running&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &amp;lt;br&amp;gt;&lt;/ins&gt;&amp;lt;TT&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ &lt;/ins&gt;passwd&amp;lt;/TT&amp;gt;&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;=== Logging into the Player/Stage remote server (Windows) ===&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;=== Logging into the Player/Stage remote server (Windows) ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key acs_math_mw_144-murraycds_:diff:1.41:old-12002:rev-12003:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hanshuo</name></author>
	</entry>
</feed>