Go to Post It kicked off today, and we already have 10 pages of posts!?!?! - ShotgunNinja [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
  #16   Spotlight this post!  
Unread 17-01-2004, 13:42
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: Official Beacon Tracking Code Posted

Quote:
Originally Posted by Krash
Kevin,
Is there a "Theory of Operation" or White paper available to explain how this all works?
Not yet. I need to find the time to complete it.


Quote:
Originally Posted by Krash
I am assuming that type-0 operates on one side of the field and type-1 operates on the other side. Is this correct?
Yes, this is correct.


Quote:
Originally Posted by Krash
Also, is the waveform chart on your website accurate? I assume that the pulse repetition interval's (PRI) are fixed as depicted on the chart.
Yes, the waveforms are accurate. The beacon flash rate is fixed at 100Hz.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #17   Spotlight this post!  
Unread 17-01-2004, 13:51
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: Official Beacon Tracking Code Posted

Quote:
Originally Posted by Phil Roth
Kevin,
Thanks for the link explaining that the system uses BOTH beacons instead of ONE. I guess it finally clicked. I had trouble understanding how to manuever both directions ( left and right )using using a single "line of sight" source. My trig skills havn't been used in 20 years so I hope the students can help us out with triangulation.

I am still a little confused why 4 receiving LEDS are used and not 2, 1 for each beacon. ??

-Phil
No, actually the tracking software uses just one beacon for tracking. The type that it tracks is selected using a switch on digital I/O 7. We use four receiving sensors for speed and it simplified the tracking algorithm significantly (I'm still writing the theory of operation).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #18   Spotlight this post!  
Unread 17-01-2004, 14:12
Atheist Atheist is offline
Registered User
#0555
 
Join Date: Jan 2004
Location: New Jersey
Posts: 22
Atheist is on a distinguished road
Re: Official Beacon Tracking Code Posted

What if both sensors are in view?
  #19   Spotlight this post!  
Unread 17-01-2004, 14:26
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: Official Beacon Tracking Code Posted

Quote:
Originally Posted by Atheist
What if both sensors are in view?
Assuming the tracking assembly is correctly constructed, it means the tracker is pointed at the beacon. If you really meant to ask what if both beacons are in view?, the system is designed to easilly handle this because the type-0 and type-1 beacons are never flashing at the same time (assuming both beacons are being driven by one EDU-RC).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #20   Spotlight this post!  
Unread 17-01-2004, 14:30
Atheist Atheist is offline
Registered User
#0555
 
Join Date: Jan 2004
Location: New Jersey
Posts: 22
Atheist is on a distinguished road
Re: Official Beacon Tracking Code Posted

Heh, pretty early in the morning for me, ye I meant beacons not sensors. So if both beacons are in view, then the trackers would keep switching back and forth from one beacon to the other depending on which one is flashing???
  #21   Spotlight this post!  
Unread 17-01-2004, 14:37
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: Official Beacon Tracking Code Posted

Quote:
Originally Posted by Atheist
Heh, pretty early in the morning for me, ye I meant beacons not sensors. So if both beacons are in view, then the trackers would keep switching back and forth from one beacon to the other depending on which one is flashing???
No, the trackers will only track the beacon you want it to track (as selected by a switch on digital I/O 7).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #22   Spotlight this post!  
Unread 17-01-2004, 14:48
Atheist Atheist is offline
Registered User
#0555
 
Join Date: Jan 2004
Location: New Jersey
Posts: 22
Atheist is on a distinguished road
Re: Official Beacon Tracking Code Posted

I see, thanks. Let see if I understand how the navigation code works:

The servos are constantly rotating attempting to follow the beacon. While this is happening the bot navigates to the beacon by moving in the direction that causes the angles with respect to the beacon and the trackers to become smaller? When the angle becomes small enough it assumes that it is in front of the beacon?
  #23   Spotlight this post!  
Unread 23-01-2004, 20:17
rosebud rosebud is offline
Registered User
#0115 (MVRT)
 
Join Date: Sep 2002
Location: California
Posts: 24
rosebud is on a distinguished road
Re: Official Beacon Tracking Code Posted

hi kevin,
my team is having trouble downloading the navigation code onto our frc. our project builds fine, we can download other programs like beacon onto our edubot, so i dont think it is ifi loader or mplab, but when we download tracker or navigation the frc either crashes, doesnt get out of program state, or sends back a file called error.mcp that i think has address and hex op codes or something. do u know what is wrong? thanks
becca

electrical officer
115 monta vista high school
  #24   Spotlight this post!  
Unread 23-01-2004, 20:58
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: Official Beacon Tracking Code Posted

Quote:
Originally Posted by rosebud
hi kevin,
my team is having trouble downloading the navigation code onto our frc. our project builds fine, we can download other programs like beacon onto our edubot, so i dont think it is ifi loader or mplab, but when we download tracker or navigation the frc either crashes, doesnt get out of program state, or sends back a file called error.mcp that i think has address and hex op codes or something. do u know what is wrong? thanks
becca

electrical officer
115 monta vista high school
Can you successfully load the default code for the FRC-RC? I've also noticed that sometimes when you download code to the EDU-RC and FRC-RC, the transfer was successful but the program light stays on until you power cycle or reset the controller at which time the controller functions as expected. Have you tried that?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #25   Spotlight this post!  
Unread 23-01-2004, 23:29
doy's Avatar
doy doy is offline
#1208 Ex-Lead Programmer
AKA: Jesse Luehrs
#1208 (The Super Critical Axe Men)
Team Role: Alumni
 
Join Date: Jan 2004
Location: O'Fallon, IL
Posts: 27
doy is on a distinguished road
Send a message via AIM to doy
Re: Official Beacon Tracking Code Posted

Quote:
Originally Posted by Rickertsen2
Thanks. That scheme is relatively simple. Maybie if i find some time(not likley) i will post an alernative circuit, for those who do not wnat to use the edubot. This setup is easy to replicate using a handful of resistors, capacitors, and 555 timers.

Hmmm... I might have to look into the whole triangulation thing.
hey, did you ever get that circuit working?
  #26   Spotlight this post!  
Unread 23-01-2004, 23:46
danielkitchener's Avatar
danielkitchener danielkitchener is offline
408 Computer Nerd
AKA: Daniel Kitchener
#0408 (Roboticks)
Team Role: Alumni
 
Join Date: Sep 2003
Rookie Year: 2001
Location: Pompano Beach, Fl
Posts: 52
danielkitchener is on a distinguished road
AArgh...

Can anyone help out a confused person?
First, should we use 180-degree servos or 360-degree ones?
Second, minimum and maximum values for the servos are 0 and 254, respectively, right?
Third, is left servo position-127=right servo position, the beacon is centered, right?
  #27   Spotlight this post!  
Unread 24-01-2004, 16:17
rosebud rosebud is offline
Registered User
#0115 (MVRT)
 
Join Date: Sep 2002
Location: California
Posts: 24
rosebud is on a distinguished road
Re: Official Beacon Tracking Code Posted

yes, we have successfully downloaded the frc default program. we have also tried to reset the controller, and when we do, the controller goes back into program state instead of running the program. has anyone else had this problem? i didnt change the navigation code before i downloaded it to the frc. thanks
becca
  #28   Spotlight this post!  
Unread 25-01-2004, 18:28
Guest
 
Posts: n/a
Re: Official Beacon Tracking Code Posted

Quote:
Originally Posted by Kevin Watson
I've posted the official IR beacon and IR beacon tracking and navigation code that was used at the kick-off here: http://kevin.org/frc. The folks at IFI will also be posting the code on their website. If you have questions about the code, please leave 'em here and I'll try to keep up .

-Kevin
Can you add this to the repository?

http://nrg.chaosnet.org/repository - You'll need to register
  #29   Spotlight this post!  
Unread 25-01-2004, 20:03
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: Official Beacon Tracking Code Posted

we uploaded beacon code on the edurobot and the navigate code on the FRC robot to test if the IR things work. we got the ir beacons and the receivers on the right spot....are those the codes that suppose to work together?

or how do we test the beacon?
__________________

OHL 2004- ultimate NHL 2004 MOD
  #30   Spotlight this post!  
Unread 25-01-2004, 20:26
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: Official Beacon Tracking Code Posted

Quote:
Originally Posted by tml240
we uploaded beacon code on the edurobot and the navigate code on the FRC robot to test if the IR things work. we got the ir beacons and the receivers on the right spot....are those the codes that suppose to work together?

or how do we test the beacon?
If all you want to do is test the beacon and trackers, load beacon.hex into the EDU-RC and tracker.hex (included in tracker.zip) into the FRC-RC. The code in navigate.zip assumes that it's running on a real 'bot.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
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
What is your most prefered programming language? Hailfire Programming 156 19-01-2005 21:42
InfraRed autonomous code ... mtrawls Programming 1 11-01-2004 00:25
Autonomous code PBoss Programming 7 14-01-2003 15:29
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46
Patent source code? Kyle Fenton Chit-Chat 3 20-10-2001 17:53


All times are GMT -5. The time now is 01:26.

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