Go to Post When you are able to get inside their heads, you will either... or.. B) Learn way to much, and end up running away screaming. - Either way, it'll be a learning experience. - Elgin Clock [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-29-2013, 11:42 PM
drkabob drkabob is offline
Alum & Swag Coordinator Emeritus
AKA: Nathan Hakkakzadeh
FRC #1836 (Team 1836: The Milkenknights)
Team Role: Alumni
 
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: http://nathancod.es/
Twitter: @drkabob
Reddit: /u/drkabob

Check out our team's website! http://themilkenknights.com/
 


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 12:21 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