Thread: my code
View Single Post
  #6   Spotlight this post!  
Unread 26-02-2011, 16:19
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: my code

It's a 'double rainbow' joke. I did get a kick out of 'fluffy' but agree that five seconds is enough for your robot to do serious damage to itself and things around it.
You do feed him a LOT though... Really, you only need to feed him once per loop. In your teleop loop there, you feed him six times every loop! Hope you take him for lots of walks!

Erm. Bad jokes aside, it looks good - very well commented especially. Few questions though:
Does the dead reckoning [i.e. based solely on time] autonomous work consistently (if you've tested it)? From past experience I find that dead reckoning is subject to even the slightest mechanical or electrical change.
Have there been any problems with having the arm RobotDrive try to access channel 0? If it's only one speed controller, and it's not quite a 'drive', why are you using RobotDrive instead of just making a Jaguar?

Also -
Quote:
I know i could just do the import "*" thing but i chose not to for future references!
There are lots of arguments for NOT importing everything in the package - like a slower compile time (especially considering WPIlib builds pretty slowly in the first place), easily seeing what your code is made of, etc. So good job choosing not to!
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote