Go to Post To find something they are so passionate about that it oozes into everything they do, and others can't help but want to follow them into this Counter-Culture where good is not good enough, Great is all they strive for. - Kims Robot [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 22-01-2007, 18:56
Amisca Amisca is offline
Registered User
FRC #0538
 
Join Date: Jan 2006
Location: Alabama
Posts: 15
Amisca is an unknown quantity at this point
The Camera, I do not know where to start.

I need some help with the camera. I have no idead where to start with the camera.

Is it necassary to use Labview?
Can I just load code on the bot and plug in the camera and it will work?
If I need Labview, what do I need to to on it?

I am very lost. Help me please.

Thanks
  #2   Spotlight this post!  
Unread 22-01-2007, 19:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: The Camera, I do not know where to start.

The only reason you might need to use LabView with the camera is to focus it correctly. Once it's focused, the camera code from Kevin Watson's site (http://www.kevin.org/frc) will Just Work if you follow the directions included with it.
  #3   Spotlight this post!  
Unread 22-01-2007, 19:32
slloyd slloyd is offline
Registered User
AKA: Sonny
FRC #1221 (Nerbotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: CANADA -eh?
Posts: 20
slloyd is an unknown quantity at this point
Thumbs up Re: The Camera, I do not know where to start.

you don't need labview.

once you properly assemble your camera and connect the PWM cables (4 in total) you area ready. you do not even need to connect the DB9 to the PC to see it operate right out of the box.

here is what you do...

go to kevin's site and read the camera FAQ *(its good to have these thoughts in your mind before you turn on your camera so you know how to fix it if it doesn't work)*.
http://www.kevin.org/frc/camera/

then, download kevin's default code, version 2.1 as of today, and download the HEX file to the RC.
http://www.kevin.org/frc/frc_camera_21.zip

after you download the code and power up, the camera will search for the green light.. if it finds it, it will track it. the green light came in your kit & you need to build it.

the DB9 and camera GUI are really only used to set the focus of your camera and to see the view range.

i haven't used labview so i can't say for sure, but i think it does all of the above except in a pretty way. but it comes with a small string attached, you have to ALSO learn how to use labview first... we really didn't have time for that this year so we skipped it, and haven't missed it either.

good luck!
slloyd
  #4   Spotlight this post!  
Unread 22-01-2007, 22:13
steve d steve d is offline
Registered User
FRC #1277
 
Join Date: Jan 2007
Location: Groton, ma
Posts: 38
steve d is an unknown quantity at this point
Re: The Camera, I do not know where to start.

in 2005, there was a good java gui. go here to get it :http://www.ifirobotics.com/first-legacy.shtml

get CMU-2 Getting started. Hook up a computer thru it's serial port to the DB9 connector on the CMUcam anf=d run the java gui in the folder called standalone.
  #5   Spotlight this post!  
Unread 23-01-2007, 11:38
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: The Camera, I do not know where to start.

For reference, you don't need to know how to program in LabVIEW in order to use the CMUcam2 LabVIEW app. You simply have to install LabVIEW, download the app files and run the appropriate VI (please follow the directions carefully to avoid "file error" confusion and don't try to connect the camera to both the PC and RC at the same time).

As mentioned in an earlier thread, you don't "need" LabVIEW in order to build a successful robot. LabVIEW is provided in the kit to help assist teams with robot design. In particular, NI, WPI and others have created a set of applications that allow teams to test their camera (set focus and hopefully gain some confidence in its usage), gather data and simulate motors/robots.

I hope you get a chance to install and use LabVIEW. It's a very powerful tool for science and engineering.

Russ
  #6   Spotlight this post!  
Unread 23-01-2007, 12:45
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 750
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: The Camera, I do not know where to start.

Labview gave us an edge last year with a couple of things, but not required. I'll go over a couple of points.

1. Camera settings for EasyC. You can play with the filtering and color settings to get what you need. Labview dumps a configuration file needed to initializes the camera. Of course you can use the default configuration file, but we didn't like it because it picked up white fluorescent lights in the shop. We have settings for the camera that would see a green light but not a fluorescent white light using onboard filtering in the CMUcam. We got these settings playing with labview cmuCam application sliders and buttons to change the filtering and coloring.

2. We used Labview to help us understand our shooter PID wheel. We could watch the response from the PWM by building a custom dashboard monitor and watching all the values and having labview log this information into a graph so we could watch response and tuning of PID's. Using three trim pots onboard and labview, we could tune our PID, sort of ok...

If you don't have labview, you atleast need that Java GUI mentioned above. So you can verify your focus on your camera. Once focused, tape the lens or loc-tight the lens so vibration doesn't cause it to come unfocused during match play, since screwing it in and out changes the focus.

Focus is critical for depth perception of the camera. If the image looks blurry, then your blob size looks bigger and throws off your range based on blob size. Atleast that how we determine range, watch the blob size of the light and make calibration scale on your field "masking tape on the floor" and come up with liner scale in the software world. 10 feet away from the light, the blob size is equal to "X", 20 feet away and the blob size is equal to "X".
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369

Last edited by Chris_Elston : 23-01-2007 at 13:46. Reason: grammer fixes...sigh...
  #7   Spotlight this post!  
Unread 24-01-2007, 18:08
Amisca Amisca is offline
Registered User
FRC #0538
 
Join Date: Jan 2006
Location: Alabama
Posts: 15
Amisca is an unknown quantity at this point
Re: The Camera, I do not know where to start.

Thanks Alot guys for the help. I have the GUI and am using it. I have the camera focused, but it still cannot find the green light. I have the Camera Code loaded on the board, and when I switch it on all it does is scan but never really finds the light. On the GUI it can track the green light but not when it is on its own, I need some more help please.
  #8   Spotlight this post!  
Unread 24-01-2007, 21:03
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 750
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: The Camera, I do not know where to start.

What are you using? MPLAB or EasyC?
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #9   Spotlight this post!  
Unread 25-01-2007, 17:19
Amisca Amisca is offline
Registered User
FRC #0538
 
Join Date: Jan 2006
Location: Alabama
Posts: 15
Amisca is an unknown quantity at this point
Re: The Camera, I do not know where to start.

MPLAB
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
Where in the world is the new 2007 cmu camera docs?!?!? xrabohrok Programming 13 08-01-2007 20:28
HELP!!! Don't know where to start! comwiz7 Programming 3 29-01-2006 19:22
i know where the 2005 game came from Greg Needel General Forum 2 31-03-2005 12:34
Where does the line start? Morgoth General Forum 1 19-03-2003 20:44


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

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