View Single Post
  #4   Spotlight this post!  
Unread 10-02-2008, 06:48
GaryVoshol's Avatar
GaryVoshol GaryVoshol is offline
Cogito ergo arbitro
no team
 
Join Date: Aug 2005
Rookie Year: 2000
Location: Royal Oak, MI
Posts: 5,743
GaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond repute
Re: Robocoach functions that change as the match progresses??

I personally think this is OK. You are telling the robot to go to a location under the overpass, and then knock off the ball that is there. Presuming that you use on-board sensors so the robot knows where it is starting from, when you push button "3" the robot executes code to get it to position "3". The only way the robot knows where it is on the other side of the field is if it had some sort of location sensing. If you use that sensing the same way on both sides of the field (with your starting position being a virtual 0,0 position) I believe you are doing as the rule intended.

It would be different if the first half of the program got you to your overpass by dead reckoning, and then the robot switched to sensors to find the other overpass. In that case the first push of "3" tells the robot where to go initially. The second push of "3" would then tell your robot, "Now that you have gotten the first ball down, use your sensors to find the overpass on the other side of the field." That's a different response to the same IR command.
__________________
(since 2004)