<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.penfieldrobotics.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Preseason_Lesson6</id>
	<title>Preseason Lesson6 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.penfieldrobotics.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Preseason_Lesson6"/>
	<link rel="alternate" type="text/html" href="https://wiki.penfieldrobotics.com/wiki/index.php?title=Preseason_Lesson6&amp;action=history"/>
	<updated>2026-04-13T11:37:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.penfieldrobotics.com/wiki/index.php?title=Preseason_Lesson6&amp;diff=10367&amp;oldid=prev</id>
		<title>Programming at 18:44, 15 December 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.penfieldrobotics.com/wiki/index.php?title=Preseason_Lesson6&amp;diff=10367&amp;oldid=prev"/>
		<updated>2019-12-15T18:44:01Z</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 11:44, 15 December 2019&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;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;font size=&amp;quot;4&amp;quot;&amp;gt;Turbo and Slow speed&amp;lt;/font&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;At the end of [http://penfieldrobotics.com/wiki/Preseason%20Lesson4 &amp;lt;font color=&amp;quot;#0066cc&amp;quot;&amp;gt;Lesson 4&amp;lt;/font&amp;gt;] you had had the joystick controlling the speed of the motor, by mapping the joystick position directly to the motor speed.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&lt;/del&gt;That is full speed, or what we call &amp;quot;Turbo&amp;quot; speed.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&lt;/del&gt;Most of the time we do not run at that speed.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&lt;/del&gt;There are other times we want to run at slower speed to have better control over the robot, what we call &amp;quot;Slow&amp;quot; speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You want &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trigger &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;control normal speed.&lt;/del&gt;&amp;lt;/div&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;If button &lt;/del&gt;6 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is pressed, then you want the motor &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;go &lt;/del&gt;&amp;quot;Turbo&amp;quot; speed&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;If button &lt;/del&gt;7 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is pressed, then you want the motor to go &lt;/del&gt;&amp;quot;Slow&amp;quot; speed&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&amp;lt;/div&amp;gt; &lt;/del&gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;To keep this exersice simple&amp;lt;/div&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&lt;/ins&gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;font size=&amp;quot;4&amp;quot;&amp;gt;Turbo and Slow speed&amp;lt;/font&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;The goal is run the motor, with different max speed based on joystick buttons. This simulates drivign the robot in 3 different speed ranges.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&lt;/ins&gt;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;At the end of [http://penfieldrobotics.com/wiki/Preseason%20Lesson4 &amp;lt;font color=&amp;quot;#0066cc&amp;quot;&amp;gt;Lesson 4&amp;lt;/font&amp;gt;] you had had the joystick controlling the speed of the motor, by mapping the joystick position directly to the motor speed. That is full speed, or what we call &amp;quot;Turbo&amp;quot; speed. Most of the time we do not run at that speed. There are other times we want to run at slower speed to have better control over the robot, what we call &amp;quot;Slow&amp;quot; speed.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt; &lt;/ins&gt;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The buttons that determine which of &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3 speed modes &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;run in are as follows:&lt;/ins&gt;&amp;lt;/div&amp;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;*the Trigger&amp;amp;nbsp;means to run at normal speed &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;*Button &lt;/ins&gt;6&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;nbsp;means &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;run at&amp;amp;nbsp;&lt;/ins&gt;&amp;quot;Turbo&amp;quot; speed  &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;*Button &lt;/ins&gt;7 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;means tp&amp;amp;nbsp;run at &lt;/ins&gt;&amp;quot;Slow&amp;quot; speed  &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;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;To keep this exersice simple&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, the speeds are defiend as follows:&lt;/ins&gt;&amp;lt;/div&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;*normal speed is running the motor at 1/2 the josystick value  &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;*normal speed is running the motor at 1/2 the josystick value  &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;quot;Turbo&amp;quot; is mapping the joystick directly to the motor speed.  &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;quot;Turbo&amp;quot; is mapping the joystick directly to the motor speed.  &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;*&amp;quot;Slow&amp;quot; is running the motor at 1/4 the joystick value&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;*&amp;quot;Slow&amp;quot; is running the motor at 1/4 the joystick value  &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;&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Programming</name></author>
	</entry>
	<entry>
		<id>https://wiki.penfieldrobotics.com/wiki/index.php?title=Preseason_Lesson6&amp;diff=10366&amp;oldid=prev</id>
		<title>Programming: Created page with &quot;&lt;div class=&quot;mw-parser-output&quot;&gt;&lt;div class=&quot;mw-parser-output&quot;&gt;&#039;&#039;&#039;&lt;font size=&quot;4&quot;&gt;Turbo and Slow speed&lt;/font&gt;&#039;&#039;&#039;&lt;/div&gt; &lt;div class=&quot;mw-parser-output&quot;&gt;At the end of [http://penfield...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.penfieldrobotics.com/wiki/index.php?title=Preseason_Lesson6&amp;diff=10366&amp;oldid=prev"/>
		<updated>2019-12-15T18:38:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;font size=&amp;quot;4&amp;quot;&amp;gt;Turbo and Slow speed&amp;lt;/font&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;At the end of [http://penfield...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;font size=&amp;quot;4&amp;quot;&amp;gt;Turbo and Slow speed&amp;lt;/font&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;At the end of [http://penfieldrobotics.com/wiki/Preseason%20Lesson4 &amp;lt;font color=&amp;quot;#0066cc&amp;quot;&amp;gt;Lesson 4&amp;lt;/font&amp;gt;] you had had the joystick controlling the speed of the motor, by mapping the joystick position directly to the motor speed.&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;That is full speed, or what we call &amp;quot;Turbo&amp;quot; speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;Most of the time we do not run at that speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;There are other times we want to run at slower speed to have better control over the robot, what we call &amp;quot;Slow&amp;quot; speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;You want the trigger to control normal speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;If button 6 is pressed, then you want the motor to go &amp;quot;Turbo&amp;quot; speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;If button 7 is pressed, then you want the motor to go &amp;quot;Slow&amp;quot; speed.&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;To keep this exersice simple&amp;lt;/div&amp;gt; &lt;br /&gt;
*normal speed is running the motor at 1/2 the josystick value &lt;br /&gt;
*&amp;quot;Turbo&amp;quot; is mapping the joystick directly to the motor speed. &lt;br /&gt;
*&amp;quot;Slow&amp;quot; is running the motor at 1/4 the joystick value&lt;/div&gt;</summary>
		<author><name>Programming</name></author>
	</entry>
</feed>