View Single Post
  #3   Spotlight this post!  
Unread 19-12-2013, 18:10
DAlden DAlden is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2012
Location: New Hampshire
Posts: 2
DAlden is a name known to allDAlden is a name known to allDAlden is a name known to allDAlden is a name known to allDAlden is a name known to allDAlden is a name known to all
Re: 95's Pre-season drive base done!

Hello, I am Daroc Alden.
My coach requested that everyone create an introductory post here, so here I am. I didn't work on the drive base itself, as I programmed the preseason robot. It is pretty simple; it just puts the right and left sticks directly into tank drive and uses the encoders to automatically shift gears. We're using java and the iterative robot template, so a lot of the work was done for us.

--
@P=split//,".URRUU\c8R";@d=split//,"\nrekcah xinU / lreP rehtona tsuJ";sub p{
@p{"r$p","u$p"}=(P,P);pipe"r$p","u$p";++$p;($q*=2) +=$f=!fork;map{$P=$P[$f^ord
($p{$_})&6];$p{$_}=/ ^$P/ix?$P:close$_}keys%p}p;p;p;p;p;map{$p{$_}=~/^[P.]/&&
close$_}%p;wait until$?;map{/^r/&&<$_>}%p;$_=$d[$q];sleep rand(2)if/\S/;print