View Single Post
  #6   Spotlight this post!  
Unread 24-02-2007, 06:15
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Autonomous calculations

hmmm...mabye you should try with angles? take the calculation of the tilt angle from terminal.c and find what is your requested tilt angle where the robot will stop in your opinion and then do the tilt angle in relation to the distance(too far, go forward. too close, stop.).
Shouldn't be too complicated and it worked for us, but if you prefer to use your own function like that, I have no idea what the problem can be...