Go to Post Holy Orbit ball Batman!!!!!!!!!!:yikes: - yodameister [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 20-05-2010, 22:01
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
How Does My Distance Finding Method Look?



So I think that is pretty self explanatory, you know the range and the angle of the IR beam. You can find the other stuff. I will be used for drawing the image on screen using OpenGL. I did it during english class. sin^-1 is invert sin


edit: TYPO... angle two = sin^-1 (Side One / Known Distance)


1) Find The Distance
2) Find Angle Two
3) Find Angle One
4) Find Side Two
5) Find Side One
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.

Last edited by davidthefat : 20-05-2010 at 22:07.
  #2   Spotlight this post!  
Unread 20-05-2010, 22:22
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: How Does My Distance Finding Method Look?

If you know angle two, why not base all of your math off of that?

Also, I would suggest trying out an IR or Ultrasonic pinging range finder and seeing what the feedback looks like. I think you will be surprised at how noisy they are when pointed at different surface finishes with different attack angles.
  #3   Spotlight this post!  
Unread 20-05-2010, 22:25
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: How Does My Distance Finding Method Look?

Quote:
Originally Posted by Tom Bottiglieri View Post
If you know angle two, why not base all of your math off of that?

Also, I would suggest trying out an IR or Ultrasonic pinging range finder and seeing what the feedback looks like. I think you will be surprised at how noisy they are when pointed at different surface finishes with different attack angles.
Eh, my mind did not see it like that during english, you are right, there are noise...
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #4   Spotlight this post!  
Unread 21-05-2010, 07:21
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: How Does My Distance Finding Method Look?

If you know Angle 2 (based on servo measurement) and you know Angle "3" (the right angle), then there is a far more efficient way to find Angle 1.
  #5   Spotlight this post!  
Unread 21-05-2010, 09:21
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: How Does My Distance Finding Method Look?

Quote:
Originally Posted by Jared341 View Post
If you know Angle 2 (based on servo measurement) and you know Angle "3" (the right angle), then there is a far more efficient way to find Angle 1.
Angle 1 = 90 - Angle 2


I knew that
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #6   Spotlight this post!  
Unread 21-05-2010, 11:23
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,281
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: How Does My Distance Finding Method Look?

Could you explain the drawing better, ie, where is the robot, what is it's orientation, and what are you trying to find.

My original assumption is that the robot is essentially the Bule box in the corner (where the range finder is) and that it is pointed at the wall. I am guessing this is wrong, I think there may be a better way to solve this problem based on how you use your sensors but I need to know more about what I am looking at.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #7   Spotlight this post!  
Unread 21-05-2010, 18:12
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: How Does My Distance Finding Method Look?

Quote:
Originally Posted by JamesBrown View Post
Could you explain the drawing better, ie, where is the robot, what is it's orientation, and what are you trying to find.

My original assumption is that the robot is essentially the Bule box in the corner (where the range finder is) and that it is pointed at the wall. I am guessing this is wrong, I think there may be a better way to solve this problem based on how you use your sensors but I need to know more about what I am looking at.
I was thinking about it in school today, yea, my diagram need more info. My goal in teh short term is to be able to render a 3d image on screen with the info I get from the sensor. It sounds complicated but not really. I can get the x, y and z coordinates of the point just using trig.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #8   Spotlight this post!  
Unread 24-05-2010, 08:37
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,281
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: How Does My Distance Finding Method Look?

Quote:
Originally Posted by davidthefat View Post
I was thinking about it in school today, yea, my diagram need more info. My goal in teh short term is to be able to render a 3d image on screen with the info I get from the sensor. It sounds complicated but not really. I can get the x, y and z coordinates of the point just using trig.
It is pretty complicated, it may seem fairly simple but in practice it isn't. It is even more difficult since in FIRST we can't use laser range finders. IR, and Sonar range finders introduce a lot of noise.

If you are serious about looking into this in more depth research SLAM ( Simultaneous Localization and Mapping). Nearly every University with a robotics lab is doing some level of research on SLAM algorithms, this alone should be enough evidence to show you that this is not a trivial problem.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #9   Spotlight this post!  
Unread 24-05-2010, 08:58
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,972
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: How Does My Distance Finding Method Look?

Quote:
Originally Posted by JamesBrown View Post
It is pretty complicated, it may seem fairly simple but in practice it isn't. It is even more difficult since in FIRST we can't use laser range finders. IR, and Sonar range finders introduce a lot of noise.

If you are serious about looking into this in more depth research SLAM ( Simultaneous Localization and Mapping). Nearly every University with a robotics lab is doing some level of research on SLAM algorithms, this alone should be enough evidence to show you that this is not a trivial problem.
For noise --- running a rolling average (16x or higher oversample) tends to level out most noise issues, although it does slow down response.

SLAM is much easier in a FIRST enviroment where the initial map is known, the objects sizes (other than other robots sizes) are known (and possibly fixed in position), the initial position and orientation (as well as size) of the robot is known, and the driving characteristics (drive train characteristics, turning radius, etc) of the robot are known. While it is not trivial ... it is doable in a FIRST enviroment.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
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
Finding distance using accelerometer.. SL8 NI LabVIEW 5 13-02-2009 16:20
What does your OI Look Like Cow Bell Solo Control System 9 29-02-2008 02:13
Does this look familiar to anyone? ebmonon36 Chit-Chat 9 29-04-2007 12:45
pic: Does this look like Dean? Cody Carey Extra Discussion 19 18-03-2007 23:27
Does this look real enough? TheFork 3D Animation and Competition 6 08-03-2003 00:19


All times are GMT -5. The time now is 23:27.

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