Preseason Lesson6: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(Created page with "<div class="mw-parser-output"><div class="mw-parser-output">'''<font size="4">Turbo and Slow speed</font>'''</div> <div class="mw-parser-output">At the end of [http://penfield...")
 
No edit summary
 
Line 1: Line 1:
<div class="mw-parser-output"><div class="mw-parser-output">'''<font size="4">Turbo and Slow speed</font>'''</div> <div class="mw-parser-output">At the end of [http://penfieldrobotics.com/wiki/Preseason%20Lesson4 <font color="#0066cc">Lesson 4</font>] you had had the joystick controlling the speed of the motor, by mapping the joystick position directly to the motor speed.</div> </div> <div class="mw-parser-output">That is full speed, or what we call "Turbo" speed.</div> <div class="mw-parser-output">Most of the time we do not run at that speed.</div> <div class="mw-parser-output">There are other times we want to run at slower speed to have better control over the robot, what we call "Slow" speed.</div> <div class="mw-parser-output">&nbsp;</div> <div class="mw-parser-output">You want the trigger to control normal speed.</div> <div class="mw-parser-output">If button 6 is pressed, then you want the motor to go "Turbo" speed.</div> <div class="mw-parser-output">If button 7 is pressed, then you want the motor to go "Slow" speed.</div> <div class="mw-parser-output">&nbsp;</div> <div class="mw-parser-output">To keep this exersice simple</div>  
<div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output">'''<font size="4">Turbo and Slow speed</font>'''</div> <div class="mw-parser-output">The goal is run the motor, with different max speed based on joystick buttons. This simulates drivign the robot in 3 different speed ranges.</div> <div class="mw-parser-output">&nbsp;</div> <div class="mw-parser-output">At the end of [http://penfieldrobotics.com/wiki/Preseason%20Lesson4 <font color="#0066cc">Lesson 4</font>] 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 "Turbo" 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 "Slow" speed.</div> </div> <div class="mw-parser-output">&nbsp;</div> <div class="mw-parser-output">The buttons that determine which of the 3 speed modes to run in are as follows:</div>  
*the Trigger&nbsp;means to run at normal speed
*Button 6&nbsp;means to run at&nbsp;"Turbo" speed  
*Button 7 means tp&nbsp;run at "Slow" speed  
<div class="mw-parser-output">&nbsp;</div> <div class="mw-parser-output">To keep this exersice simple, the speeds are defiend as follows:</div>  
*normal speed is running the motor at 1/2 the josystick value  
*normal speed is running the motor at 1/2 the josystick value  
*"Turbo" is mapping the joystick directly to the motor speed.  
*"Turbo" is mapping the joystick directly to the motor speed.  
*"Slow" is running the motor at 1/4 the joystick value
*"Slow" is running the motor at 1/4 the joystick value  
</div> </div> </div> </div>

Latest revision as of 11:44, 15 December 2019

Turbo and Slow speed
The goal is run the motor, with different max speed based on joystick buttons. This simulates drivign the robot in 3 different speed ranges.
 
At the end of Lesson 4 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 "Turbo" 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 "Slow" speed.
 
The buttons that determine which of the 3 speed modes to run in are as follows:
  • the Trigger means to run at normal speed
  • Button 6 means to run at "Turbo" speed
  • Button 7 means tp run at "Slow" speed
 
To keep this exersice simple, the speeds are defiend as follows:
  • normal speed is running the motor at 1/2 the josystick value
  • "Turbo" is mapping the joystick directly to the motor speed.
  • "Slow" is running the motor at 1/4 the joystick value