Go to Post Remember to have fun! That's what the FIRST experience should be for you- a lot of fun while doing a lot of learning. - smurfgirl [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 02-04-2009, 07:33 PM
AG-chadd's Avatar
AG-chadd AG-chadd is offline
Registered User
FRC #1495
 
Join Date: Feb 2009
Location: West Grove
Posts: 6
AG-chadd is on a distinguished road
Camera not working...

I am one of the programmers from team #1495 and have been experiencing issues with our camera. When we test it using the TwoColorTrack program the camera is able to find the pink and green with ease. However the camera does not following the colors when moved. The servos are in the right ports and we can't seem to find the problem with it. Can anyone help?
  #2   Spotlight this post!  
Unread 02-04-2009, 07:40 PM
Urban Hawk Urban Hawk is offline
Head of R&D and Head of Scouting
FRC #1886
Team Role: Scout
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Urbana, maryland
Posts: 118
Urban Hawk is infamous around these partsUrban Hawk is infamous around these partsUrban Hawk is infamous around these parts
Re: Camera not working...

are you sure that the camera is calibrated so it isn't picking up all the shades of green in the room? if it isn't then it could quite easily see the colors yet get confused as to what to track in the room.
__________________
FEAR THE HAWK!!!
  #3   Spotlight this post!  
Unread 02-04-2009, 07:43 PM
AG-chadd's Avatar
AG-chadd AG-chadd is offline
Registered User
FRC #1495
 
Join Date: Feb 2009
Location: West Grove
Posts: 6
AG-chadd is on a distinguished road
Re: Camera not working...

What I mean is the camera does not move AT ALL. It stays completley still.
  #4   Spotlight this post!  
Unread 02-04-2009, 07:56 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Camera not working...

Did you install the servo jumpers on the digital sidecar?

Are you using c++ or LabVIEW? If using LabVIEW, be sure to enable gimbal tracking.
  #5   Spotlight this post!  
Unread 02-04-2009, 10:10 PM
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera not working...

So the camera works fine, and the servos don't. Here are some things to look at. Make sure the channel numbers match your HW. Make sure that they are connected to the DIO in module 4, or change the diagram to use slot 6.

Next make sure that the jumpers are wired next to the PWM channels being used.

Make sure you have power to the DIO sidecar. Make sure the light to on the sidecar is not blinking.

Reasons it may blink include no DS, a disabled DS, no code running on the cRIO.

Once these are corrected, you should have working servos and a fully working example

Greg McKaskle
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
Camera Tracking not working? NinJA999 C/C++ 0 01-25-2009 03:28 PM
Camera not working LinuxMercedes Programming 10 01-13-2009 10:18 AM
Camera not working in autonomous Roger Programming 9 03-09-2006 07:38 AM
Camera not working st1nkm4n Programming 7 02-02-2006 08:22 AM
Camera not working st1nkm4n Programming 0 01-31-2006 07:23 PM


All times are GMT -5. The time now is 08:54 AM.

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