Quote:
|
Originally Posted by [53] opticruzer
has any one got the tracking code to work? we are having trouble with the sensores picking up the beacon. to start the survos dont turn and when the robot should drive to target it still spins in circles. do you have any suggestions
|
It sounds like you're using the code in navigate.zip. Rich Petras' code in navigate.c centers the servos, blindly drives the 'bot away from the diamond plate several inches, and then starts a counter-clockwise turn-in-place until the beacon comes into view of one of the sensors. Only then do the servos start tracking and the 'bot drives toward the beacon. The turn-in-place is done to ensure that the beacon is well within the servos range of travel before they were allowed to track. This sounds like the behavor you're seeing. If all you want to do is try the trackers, upload tracker.hex (found in
tracker.zip) instead of navigate.hex.
-Kevin