Go to Post i do not TOUCH the robot. i don't even press the load button or the reset button. nooo touchy. but i like it better like that, this way, when something goes wrong, i can wholly blame the electronics ppl - nehalita [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2004, 19:51
[53] opticruzer [53] opticruzer is offline
Registered User
#0053
Team Role: Programmer
 
Join Date: Jan 2004
Location: Bowie, Maryland
Posts: 9
[53] opticruzer is an unknown quantity at this point
Send a message via AIM to [53] opticruzer
trouble with beacon tracking code

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
  #2   Spotlight this post!  
Unread 24-01-2004, 20:20
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday 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
For starters, you need the backup battery connected to the robot controller in order for the servos to move... And yes, it stinks that they only gave us 1 battery and you need to power both the EduRC and the real RC with it to do beacon tracking. You'll need to buy a second battery if you haven't already...
  #3   Spotlight this post!  
Unread 25-01-2004, 16:30
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: trouble with beacon tracking code

or create a basic power supply for the edubot (considering that it's essentially stationary), and wire it up to the terminals.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #4   Spotlight this post!  
Unread 25-01-2004, 16:53
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: trouble with beacon tracking code

this is what we did, we uploaded the beacon code for the Edu Robot and put the navigator code on the FRC robot, and see if the FRC one would follow the edurobot.

would it work???
__________________

OHL 2004- ultimate NHL 2004 MOD
  #5   Spotlight this post!  
Unread 25-01-2004, 19:43
[53] opticruzer [53] opticruzer is offline
Registered User
#0053
Team Role: Programmer
 
Join Date: Jan 2004
Location: Bowie, Maryland
Posts: 9
[53] opticruzer is an unknown quantity at this point
Send a message via AIM to [53] opticruzer
Re: trouble with beacon tracking code

well powering the bots are not a problem. we have two batteries. buts either the sensor or the beacon dont work. the navigate code does not get data from the sensors saying that all have veiw of the beacon.
  #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
  #7   Spotlight this post!  
Unread 25-01-2004, 22:16
[53] opticruzer [53] opticruzer is offline
Registered User
#0053
Team Role: Programmer
 
Join Date: Jan 2004
Location: Bowie, Maryland
Posts: 9
[53] opticruzer is an unknown quantity at this point
Send a message via AIM to [53] opticruzer
Re: trouble with beacon tracking code

well even if we put the beacon in front of the bot, it doesnt opick it up and go forward. it just keeps turning.
  #8   Spotlight this post!  
Unread 25-01-2004, 22:31
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: trouble with beacon tracking code

Make sure your beacons are being powered by something capable of producing the proper signals: i.e. the edurobot controller with the beacon.hex code loaded on it.

By default the beacon 0 signals are sent to pwm output 1 and beacon 1 signals are sent to pwm output 2.

Just remember these aren't just simple ON/OFF IR beacons... They are emitting a specific pulse width on a 40kHz carrier frequency. You can't just hookup the circuit to a battery and expect it to work.

-SlimBoJones...
  #9   Spotlight this post!  
Unread 25-01-2004, 22:49
[53] opticruzer [53] opticruzer is offline
Registered User
#0053
Team Role: Programmer
 
Join Date: Jan 2004
Location: Bowie, Maryland
Posts: 9
[53] opticruzer is an unknown quantity at this point
Send a message via AIM to [53] opticruzer
Re: trouble with beacon tracking code

i know. we have it hooked up to the edurobot with the beacon code on it.
  #10   Spotlight this post!  
Unread 27-01-2004, 12:19
[53] opticruzer [53] opticruzer is offline
Registered User
#0053
Team Role: Programmer
 
Join Date: Jan 2004
Location: Bowie, Maryland
Posts: 9
[53] opticruzer is an unknown quantity at this point
Send a message via AIM to [53] opticruzer
Re: trouble with beacon tracking code

well got a question for all those that got the ir tracking working. did u mount all four in the front or just two?
Closed Thread


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