Go to Post The competition is over, I have no other FIRST-related activities to pursue–WHAT ELSE AM I GOING TO DO WITH MY LIFE BUT BROWSE CHIEF DELPHI UNTIL JANUARY???? - David8696 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 25-01-2004, 20:47
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: trouble with beacon tracking code

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
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Official Beacon Tracking Code Posted Kevin Watson Programming 41 18-02-2004 21:04
Tracking and Beacon off of one Edu DanL Programming 7 23-01-2004 15:04
Example Beacon Tracking Code Posted Kevin Watson Programming 0 17-01-2004 02:25
An Example IR Beacon Tracking Assembly... Kevin Watson Electrical 0 14-01-2004 12:30
Some code in C that we may need if we are in trouble Andrew Rudolph Chit-Chat 16 07-10-2003 21:34


All times are GMT -5. The time now is 10:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi