View Single Post
  #2   Spotlight this post!  
Unread 31-08-2016, 19:16
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,068
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Explanation of Cheesy Poof's Quick Turn

Because of the way the algorithm works, when there is no throttle applied, no output will be sent to the motors at all, even if the robot is commanded to being turned. What quick turn does is basically turn on the standard arcade drive mode, which allows in place turning. At speed, it will allow taking much sharper turns then would normally be allowed, which is sometimes needed. Cheesy Drive is normally a way to make constant radius turns while at high speed, which is often necessary in order to allow high speed turns. There is also some other trickery in the code involving inertia, to force the robot to turn at speed. I know a fair amount of teams have ported the code, however turned on quickturn when the throttle is at 0. This allows spinning in place without having to press the button.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote