Go to Post Car Nack called. He said get off his lawn. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-31-2016, 06:51 PM
EthanJF123 EthanJF123 is offline
Registered User
FRC #2614
 
Join Date: Mar 2015
Location: Morgantown, WV
Posts: 11
EthanJF123 is an unknown quantity at this point
Explanation of Cheesy Poof's Quick Turn

Cheesy Poof, team 254, posted their 2014 code. Looking at it, I'm not able to understand how or what purpose their quick turn function works. I understand that holding a button and turning allows you to take a sharp turn at a high speed, but can someone explain in more detail how it works.does team 834, Robobees, use this implementation. Thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-31-2016, 07:16 PM
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,066
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
  #3   Spotlight this post!  
Unread 09-01-2016, 07:40 AM
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Explanation of Cheesy Poof's Quick Turn

Quote:
Originally Posted by EthanJF123 View Post
does team 834, Robobees, use this implementation.
It's 836 and we use a very simplified labview version which comes from Team FRC 33 The Killer Bees. Basically, all ours does is allow us the option to quick turn without throttle applied. The subfunction we use is here. The version we use doesn't have any inertia compensation, it basically just converts the Throttle/Wheel to tank as:

Standard Arcade:
Difference (Left-Right) = Throttle*Wheel
Quick Turn:
Difference (Left-Right) = Wheel
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:07 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi