Go to Post The only way to make a noticeable shift in OUR culture is if there are a lot of small shifts. - JVN [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-2006, 22:02
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,301
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
How is everyone setting the angle for the shooter/camera?

I just wanted to know how everyone is setting up the shooter/ camera angle?
Other than just guessing is there a accurate way?


Waialua Robotics Team 359
  #2   Spotlight this post!  
Unread 24-01-2006, 22:15
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: How is everyone setting the angle for the shooter/camera?

Quote:
Originally Posted by waialua359
I just wanted to know how everyone is setting up the shooter/ camera angle?
Other than just guessing is there a accurate way?
Yes, there is a more accurate way than guessing. It goes something like this:

1. Move the robot 8 feet from the center goal
2. Fire the shooter and change the angle until the ball goes in, through the center.
3. Note the camera's angle (what number does it report?) and the shooter angle (what number does it report?
4. Repeat for 9 feet, 10 feet, 11 feet, and so on.
5. Write software such that, if camera angle is "X", set shooter angle to "Y".

All done

Feel free to start and end at whatever distances you like - 8 feet is an example.

Also feel free to see if there is a difference when you are X feet away, but not directly in front of the goal, instead being off to the side.

This method is known as the Empirical method.

(If the 'bot isn't ready for this just yet, make up some values just for now and get it to work, you can plug in the real values later)

Good luck, too bad about the team not making it to NJ, that would've been cool.

Don
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 26-01-2006, 18:54
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: How is everyone setting the angle for the shooter/camera?

you can also use the cuog_cam program that i wrote here:http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=589 u just add it to whatever code u have that utilizes the camera and it does the work for you.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.

Last edited by Cuog : 26-01-2006 at 19:27.
  #4   Spotlight this post!  
Unread 26-01-2006, 21:22
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 is everyone setting the angle for the shooter/camera?

We don't

We have a camera and a ball shooter accurate from all over the field, but neither change in tilt.
  #5   Spotlight this post!  
Unread 26-01-2006, 21:36
half geek's Avatar
half geek half geek is offline
For an extremely large value of 1/2
AKA: Greg R
None #0294 (Beach Cities Robotics)
Team Role: Student
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Manhattan Beach, CA
Posts: 49
half geek will become famous soon enough
Send a message via AIM to half geek
Re: How is everyone setting the angle for the shooter/camera?

Quote:
Originally Posted by Abwehr
We don't

We have a camera and a ball shooter accurate from all over the field, but neither change in tilt.
Do you control the velocity?
Or maybe you send a pwm signal to magically adjust the height of the goal? That'd be really neat.
__________________
73 de W6DXN k

Parse this:
g r e g a ``n o s p a m" r o b i ``a t" d e v ``d o t" j a v a ``d o t" n e t
  #6   Spotlight this post!  
Unread 26-01-2006, 21:40
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: How is everyone setting the angle for the shooter/camera?

Quote:
Originally Posted by Abwehr
We don't

We have a camera and a ball shooter accurate from all over the field, but neither change in tilt.
Is the camera tilted up slightly so the light can't move out of the top of the frame, or does it stay in at a reasonably short range?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #7   Spotlight this post!  
Unread 26-01-2006, 21:51
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 is everyone setting the angle for the shooter/camera?

Quote:
Originally Posted by Kevin Sevcik
Is the camera tilted up slightly so the light can't move out of the top of the frame, or does it stay in at a reasonably short range?
The default camera lens has a vertical field of view of about 34 degrees in our estimation. If you statically mount the camera at a given angle (say for example 28 degrees) from vertical, and mount it high (~4.5 ft up), you can see the target from 6 feet (the target is at the top of the frame) to 31 feet (the image is at the bottom of the frame). Moreover, the "my" data (y coordinate of the image centroid) is related to range by simple mathematics in the fixed tilt case.

Keeping in mind that the CMUcam2 uses S-Mount lenses, you can easily increase this operating range even more by purchasing lenses with higher fields of view, or you can adjust the entire bracket to be shorter or longer ranges by changing the tilt.
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
Calc. Triangle Angle or Side Based on Ellipses? indieFan Math and Science 1 07-06-2004 21:25
Angle from X,Y Astronouth7303 Programming 18 19-04-2004 22:08
PBASIC ARCTAN function Greg Ross Programming 14 11-05-2003 12:28
The angle of going up the Ramp David Bryan Programming 2 21-01-2003 20:56
Is an angle bracket allowed? archiver 2001 0 24-06-2002 00:58


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

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