Go to Post Mess up something important and you lose. Just like real life. - DonRotolo [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 09-02-2007, 01:10
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Help with cmu2gui

I'm now running kevin's bells and whistles code and its working fairly well. His camera menu works just find and the camera will find the lights. However I am trying to use the gui from his website so I can see what the camera is seeing (I couldn't get labview to work right). I know I am making a connection to the camera because I am getting data in the terminal but when i run the gui it flashes the black screen and then closes. Does anyone know why this is happening?

On another note I also can't get the camera to lock onto the lights. It will find them and report back all the angles and information and then keep searching. I have tried adjusting the search delay but that doesn't seem to have any effect. Thanks for any help in advance.
__________________
Always remember to take your powered wheels off the ground when first testing code. Otherwise you'll end up with holes in the wall like us
  #2   Spotlight this post!  
Unread 09-02-2007, 01:31
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Help with cmu2gui

If the green LED turns on when you shine the light, the camera is tracking fine. Just no moving servos.

As for your GUI problems, I couldn't tell you. I know the old one (from 2005) isn't real flexible.
  #3   Spotlight this post!  
Unread 09-02-2007, 06:12
Golto's Avatar
Golto Golto is offline
Registered User
AKA: Pat Plude
FRC #4572 (BArlow RobAutics)
Team Role: Mentor
 
Join Date: Oct 2006
Rookie Year: 2007
Location: Bethel, CT
Posts: 91
Golto is a glorious beacon of lightGolto is a glorious beacon of lightGolto is a glorious beacon of lightGolto is a glorious beacon of lightGolto is a glorious beacon of light
Re: Help with cmu2gui

Thanks, we are still trying to learn the camera, as we are a rookie team
  #4   Spotlight this post!  
Unread 09-02-2007, 10:59
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Re: Help with cmu2gui

I know that the camera is tracking and finding the lights it just isn't actually locking on to the light. Or maybe i'm just mistaken and the camera isn't supposed to lock on the light.
__________________
Always remember to take your powered wheels off the ground when first testing code. Otherwise you'll end up with holes in the wall like us
  #5   Spotlight this post!  
Unread 09-02-2007, 11:12
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Red face Re: Help with cmu2gui

If the camera doesn;t track the light, a couple things need to be checked if using the default code:

1) In tracking .h you may have to reverse the pan and tilt sign numbers. Ours had to be reversed. If it is a +1, make it a -1 and vice versa.

2) The camera may be mounted upside down.

3) The servo pan/tilt inputs may be connected to the wrong inputs. look in tracking.h for pwm assignments.

Hope this helps!

Jim
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
  #6   Spotlight this post!  
Unread 09-02-2007, 11:35
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: Help with cmu2gui

If you choose a serial port that isn't valid in the Java program, it will close immediately with no error message. Make sure you are choosing a COM port that exists. Check it under My Computer, Properties, the Hardware Tab, Device Manager, Ports.

If you have a USB-Serial adapter, and it's working, you should see your COM port device listed in Ports. If you have a real serial port, it should also be listed under there.

--Eric
  #7   Spotlight this post!  
Unread 09-02-2007, 17:10
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Help with cmu2gui

Are you saying that the camera can track blobs in its view just fine, and that the servos are not operating correctly? Or is the camera failing to track the color blob?

If it's an issue with the servos, what is happening instead?
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
Help with designs Packmon_driver Technical Discussion 2 02-02-2006 15:06
Help with Programming double_check Programming 11 19-08-2005 00:15
help with Interrupts thoughtful Programming 5 08-01-2004 16:07
hey need some help with writing a code please help me here magical hands Programming 9 01-01-2004 21:46
Help with reactor Funnyanimator 3D Animation and Competition 1 16-02-2003 14:22


All times are GMT -5. The time now is 00:25.

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