View Single Post
  #9   Spotlight this post!  
Unread 13-01-2005, 10:48
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
Re: New promised "scripts"

Quote:
Originally Posted by Greg Marra
I have a question regarding tolerance.

What exactly is it? Is that how far the robot can deviate from the turn it's making, meaning a lower value is more precise but a higher value requires less small movements to get "back on track"?
Exactly. A lower tolerance lets you be more precise, but it is going to take longer to get it correct. A higher tolerance is going to be a little less precise, but will execute the command faster. Your choice depends on what you really need. To you have a short time to get to a general area, or a little more time to get to a more specific area. Just as in most everything else, its all about trade offs.

And Edmund: You don't call the variable, you call the function robot_control(), as CJO said. This funcation interprets the script variable you put in commands.h and executes them on the robot.

-Tony K
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year