Go to Post Thank you to all of the mentors, You ARE changing the future. - chellyzee93 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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 04-29-2013, 10:42 PM
drkabob drkabob is offline
Team Captain & Swag Coordinator
AKA: Nathan Hakkakzadeh
FRC #1836 (Team 1836: The Milkenknights)
Team Role: Student
 
Join Date: Mar 2013
Rookie Year: 2009
Location: Los Angeles
Posts: 4
drkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant futuredrkabob has a brilliant future
Introducing SwagDrive. The drive code of the future.

So I attended the World Championships this year. It was great seeing all these high level robots. However, I had a problem with them, they drove too straight. They drove with too much precision. There was no sense of "YOLO", the robots did not drive with enough swag.

So I decided to remedy this issue at the programming level, by creating SwagDrive. SwagDrive increases the robot's level of swag by at least ten-fold. By using new and innovative algorithms (or rather "swagorithms"), SwagDrive decreases the robot's consistency and accuracy so that when it drives on the playing field it looks a lot cooler.

It is similar to ArcadeDrive with some important modifications. If the change on an axis is not larger than the "swag barrier", it will multiplied by the "swag multiplier" in order to "swag up" the driver's inputs. If the input is larger then the "swag barrier" for that particular cycle, then the robot's "swag level" increases by one. If the "swag level" becomes over 9000 the robot enters a moment of ultimate swag and rotates for one "swag period" (truly a YOLO move). Many of these values still need to be tuned and modified to achieve optimal swag.

You can find an example implementation written in Java by clicking here. While I have yet to test SwagDrive on a real robot, I can assure you that it will swag up your robot.

I look forward to your comments and hope that we can improve SwagDrive for future competitions.

(If you haven't figured it out yet, this is a joke. You can find 1836's robot code here by our main coder. I would strongly recommend not using the SwagDrive code on your robot, as you will likely lose control and possibly hurt the robot and the people around it.)
__________________
Best Regards,
Nathan Hakkakzadeh
----------------------------
Website: welcometonathan.com (broken!)
Twitter: @drkabob
Reddit: /u/drkabob

Check out our team's website! http://themilkenknights.com/
Reply With Quote
  #2   Spotlight this post!  
Unread 04-29-2013, 10:44 PM
connor.worley's Avatar
connor.worley connor.worley is offline
I'm not saying C++ is the best, but
FRC #1538 (The Holy Cows)
Team Role: Programmer
 
Join Date: Mar 2011
Rookie Year: 2010
Location: San Diego
Posts: 427
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

This is truly innovative. Can't wait to run it at IRI.
__________________
Driver / Manager of Software and Electrical
Scout with CowScout Like The Holy Cows on Facebook

San Diego - Semifinalists, Innovation in Control Award
Reply With Quote
  #3   Spotlight this post!  
Unread 04-29-2013, 10:46 PM
dcarr's Avatar
dcarr dcarr is offline
Registered User
AKA: David Carr
FRC #3309 (Friarbots)
Team Role: Alumni
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Anaheim, CA
Posts: 796
dcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

Pics/vids or shenanigans.
__________________
Student: 2010-2012
Mentor: 2013-Present

Team3309.org
Reply With Quote
  #4   Spotlight this post!  
Unread 04-29-2013, 10:55 PM
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 776
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

Sounds like the perfect drive for Tem 254: Teh Chesy Pofs.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-29-2013, 11:04 PM
blackflame2996's Avatar
blackflame2996 blackflame2996 is offline
VP of Programming, Driver
AKA: David Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Colorado springs, CO
Posts: 67
blackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to all
Send a message via Skype™ to blackflame2996
Re: Introducing SwagDrive. The drive code of the future.

I don't know if we would tell the difference; our driver drives like that anyway.
__________________
2009 Regional Winners
2011 Regional Chairman's Award
2012 Regional Winners
2013 Regional Chairman's Award
Reply With Quote
  #6   Spotlight this post!  
Unread 04-29-2013, 11:26 PM
AlecMataloni AlecMataloni is offline
Excellence is Bliss
no team (No Team)
 
Join Date: Mar 2011
Rookie Year: 2006
Location: Mount Prospect, IL
Posts: 236
AlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond reputeAlecMataloni has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

What happens when everything becomes fully swagged out? Also, does my robot need to have collar-popping functionality to use every feature? Otherwise, looks like it's pretty easy to turn my swag on even as a rookie.

I should totally try this out. I don't know much about code, but oh well , you only live once.
__________________
2010-2013, FRC111

2013-20XX, VRCC Team NAR
Reply With Quote
  #7   Spotlight this post!  
Unread 04-29-2013, 11:32 PM
saikiranra's Avatar
saikiranra saikiranra is offline
The guy stuck pushing the robot
AKA: Saikiran Ramanan
FRC #0696 (The Circuit Breakers)
Team Role: Leadership
 
Join Date: Oct 2012
Rookie Year: 2011
Location: La Crescenta
Posts: 79
saikiranra is a name known to allsaikiranra is a name known to allsaikiranra is a name known to allsaikiranra is a name known to allsaikiranra is a name known to allsaikiranra is a name known to all
Re: Introducing SwagDrive. The drive code of the future.

I guess it won't be much of a change compared to us veering right when sending an only forward signal...

This would have been perfect for Team Harlem Shake videos.




We will be testing this tomorrow.
__________________
Follow Team 696!
Facebook
Twitter
Website
Reply With Quote
  #8   Spotlight this post!  
Unread 04-30-2013, 12:57 AM
Jackladd's Avatar
Jackladd Jackladd is offline
Smooth Talker/Recon & Strategy Lead
AKA: Jordan Fluitt
FRC #1388 (AGHS Eagle Robotics)
Team Role: Tactician
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Arroyo Grande
Posts: 11
Jackladd is an unknown quantity at this point
Re: Introducing SwagDrive. The drive code of the future.

Can someone please actually do this?
__________________
Reply With Quote
  #9   Spotlight this post!  
Unread 04-30-2013, 05:35 AM
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 777
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

Quote:
Originally Posted by blackflame2996 View Post
I don't know if we would tell the difference; our driver drives like that anyway.
Just multiply the inputs by -1 and it's drive CORRECTING code.
Reply With Quote
  #10   Spotlight this post!  
Unread 04-30-2013, 05:59 AM
thinker&planner thinker&planner is offline
Registered User
AKA: Mechanical, Electrical, CAD...Everything
FRC #3502
Team Role: Mechanical
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Tallahassee, FL
Posts: 31
thinker&planner has a spectacular aura aboutthinker&planner has a spectacular aura aboutthinker&planner has a spectacular aura about
Talking Re: Introducing SwagDrive. The drive code of the future.

We already have a program that does this, because we have mecanum wheels and a gyro, we spin in circles down the field. We haven't actually used this in a match (except for a mishap with our autonomous in a practice match (http://www.theroboshow.net/ ep.1 about 10:00)), but at public events it is great.
Reply With Quote
  #11   Spotlight this post!  
Unread 04-30-2013, 06:10 AM
2789_B_Garcia's Avatar
2789_B_Garcia 2789_B_Garcia is offline
Registered User
AKA: Bobby Garcia, AKA: #Catalyst
FRC #2789 (TEXplosion)
Team Role: Coach
 
Join Date: Mar 2011
Rookie Year: 2009
Location: Manor, Tx
Posts: 175
2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future2789_B_Garcia has a brilliant future
Re: Introducing SwagDrive. The drive code of the future.

I've been working on a holla-nomic drive train where the wheels are angled to give alliance partners rep, props and street cred, but I've run into some electrical feedback problems with the wheels giving the props only to the chassis that they are mounted to...I've been calling this phenomenon "hollaback" lol
__________________
I saw someone's signature on here say: "A good driver always beats a good robot," and I thought that was rather clever, so I'm using it as my signature.

2014 Dallas Regional Quarterfinalists (with 2587 & 5057)
2014 Alamo Regional Finalists (With 2468 & 148)
2013 Hub City Regional Finalists (With 16 & 4063)
2013 Lone Star Regional Winners (With 118 & 148)
2013 Alamo Regional Winners (With 2468 & 4063)
2012 Utah Regional Entrepreneurship Award
2011 Chesapeake Regional Entrepreneurship Award
Reply With Quote
  #12   Spotlight this post!  
Unread 04-30-2013, 06:20 AM
Greg McKaskle Greg McKaskle is offline
Registered User
no team (Team NI)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 3,895
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

One of the CSA's told a story at dinner about a team with a robot that would inexplicably stutter. They search the code looking for parallel updates to motors, bad math, etc.

They ultimately stumbled across a parallel VI stuck in the corner named "Harlem Shake". Not sure who the joke was on, but its one they will remember for awhile.

Greg McKaskle
Reply With Quote
  #13   Spotlight this post!  
Unread 04-30-2013, 01:46 PM
Adrian Clark Adrian Clark is offline
Registered User
FRC #1678 (Citrus Circuits)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2009
Location: United States
Posts: 55
Adrian Clark has a spectacular aura aboutAdrian Clark has a spectacular aura about
Re: Introducing SwagDrive. The drive code of the future.

highest # of posts to rep ratio I've ever seen. well done sir.
Reply With Quote
  #14   Spotlight this post!  
Unread 04-30-2013, 02:12 PM
JesseK's Avatar
JesseK JesseK is offline
Flybotix Fanatic
FRC #1885 (iLITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 2,772
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

This is almost as cool as a triple-Killough nona-drive.
__________________
Healthy people who know how to deal with disappointment, who have given up on the idea of magic bullets, who dont watch TV indiscriminately [are] fulfilled by things that dont cost money
...
Im talking about the real fundamentals of being an empowered, self-directed human being. Creativity. Curiosity. Resilience to distraction. Patience with others. And to make these all possible: self-reliance an unswerving willingness to take responsibility for your life...

How to Make Trillions of Dollars

Want to be a better cook? Do 5 recipes from Plenty on 5 weeknights after work. Eat the leftovers for lunch.
Reply With Quote
  #15   Spotlight this post!  
Unread 04-30-2013, 03:02 PM
Gregor's Avatar
Gregor Gregor is offline
Ready to Learn, Ready to Win
AKA: Gregor Browning
FRC #1310 (Runnymede Robotics)
Team Role: Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Toronto, Ontario, Canada
Posts: 1,834
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Introducing SwagDrive. The drive code of the future.

Quote:
Originally Posted by Adrian Clark View Post
highest # of posts to rep ratio I've ever seen. well done sir.
Sorry, I don't think anyone will ever come close to this.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity. -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2010 Glen Ames Robotics-Student
FLL 2011-xxxx Glen Ames Robotics-Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Driver
FRC 2014-xxxx Team 1310
Add me on Facebook
<Since 2011 How I came to be a FIRSTer
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 06:40 PM.

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


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