Go to Post FIRST is an organization that teaches students that smart is cool. - Warren Boudreau [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
  #1   Spotlight this post!  
Unread 23-02-2007, 12:06
Spencer E.'s Avatar
Spencer E. Spencer E. is offline
Android junkie
FRC #1305 (NNSRI Ice3 (cubed))
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Ontario, Canada
Posts: 91
Spencer E. has a spectacular aura aboutSpencer E. has a spectacular aura about
Send a message via MSN to Spencer E.
How do YOU find the distance from the light?

I'm currently using a tan table I compiled from a C program I wrote and stuck that in my robo code. Then I use the angle between the camera and the light and use my look up array to find the tan value of that angle. Then, my code will subtract the height of the camera from the height of the light and that number will be divided by the tan value. Voila, distance from the rack! I was just wondering how every one else finds the distance. Maybe something more creative?
 


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
how do you wire the team light coolguybigt Robot Showcase 2 21-02-2007 22:18
How to make the camera search the light instead of only follow when targeted? jesusescobar Programming 4 18-02-2007 16:56
where can i find how the ringer is deployed by the ...... waialua359 Rules/Strategy 7 08-02-2007 10:39
camera trouble,cant tell the green-light from regular white light Nimmy Programming 26 14-01-2007 14:53
How do I get distance between Camera and the target? sjung9442 Programming 5 27-01-2006 09:44


All times are GMT -5. The time now is 04:46.

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