View Single Post
  #11   Spotlight this post!  
Unread 18-02-2004, 08:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Emergency! Need Help With Ir Sensors

Quote:
Originally Posted by magical hands
for some reason after connection the motors to pwm 3 and 4 the robot just goes crazy it just sought of goes everywhere bashing everything. Anyone knows why?
I'd put it up on blocks and check the status of the IR sensor tracking.
Call the tracker alone without the navigate and print out the tracker status:
Tracker_Data[left].Status, Tracker_Data[right].Status

Also observe how the servos behave.
Does it hold on the beacon or look all over the room?

After you're sure the tracker/beacon combo are working correctly, then move on to debugging the navigator code.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle