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.