View Single Post
  #10   Spotlight this post!  
Unread 09-03-2010, 08:56
ideasrule's Avatar
ideasrule ideasrule is offline
Registered User
FRC #0610 (Coyotes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Toronto
Posts: 108
ideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the rough
Re: How complex is your code?

Quote:
Originally Posted by Robototes2412 View Post
I had to rewrite the holonomic drive function (it failed miserably), it took me a loooong time. I named it com.shadowh511.mayor.WesleyCrusher.impulse (yes, i named my classes after TNG-2nd season bridge crew). It was about 14 lines of code rewritten 100 times. I have over 50 MB in backups from that function alone
I don't know much about holonomic drive, but why couldn't you put the 14 lines in a function and call it 100 times?
Reply With Quote