Go to Post If it looks like an appendage, quacks like an appendage and moves like an appendage...it is an appendage... - Bob Steele [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 11-01-2009, 16:07
The yellowdart's Avatar
The yellowdart The yellowdart is offline
Registered User
FRC #1506 (Metal Muscle)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Oakland County
Posts: 22
The yellowdart has a little shameless behaviour in the past
Re: Finding green/pink flags

Have you updated all the firmware? Are you using all the most current software?
Reply With Quote
  #17   Spotlight this post!  
Unread 13-01-2009, 16:10
Chris1228 Chris1228 is offline
Registered User
FRC #1228
 
Join Date: Sep 2007
Location: Rahway, NJ
Posts: 22
Chris1228 will become famous soon enough
Re: Finding green/pink flags

can someone help me program the camera to track colors in labview? i can get it to recognize a color but i dont know how to get motors/servos to move when it sees a color
Reply With Quote
  #18   Spotlight this post!  
Unread 13-01-2009, 20:51
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Finding green/pink flags

It appears as though an update on this matter has been posted (an example)

http://first.wpi.edu/FRC/frcupdates.html
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #19   Spotlight this post!  
Unread 18-01-2009, 18:14
fordchrist675's Avatar
fordchrist675 fordchrist675 is offline
"Wilfordito"
AKA: Wilford Jay Harris III
FRC #0675 (Technology High School Robotics)
Team Role: Mentor
 
Join Date: Jun 2007
Rookie Year: 2006
Location: Rohnert Park, California
Posts: 298
fordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to all
Send a message via AIM to fordchrist675 Send a message via MSN to fordchrist675 Send a message via Yahoo to fordchrist675
Re: Finding green/pink flags

Our programming team has tried all of the listed ideas, and still have had no luck, so we really need some help. Any suggestions please
__________________
It's not by how much you win, it's how you win. Respect your enemies, otherwise your no better than them which if you think about it that's true because we are striving for the same thing. To be FIRST

2010 SVR Creativity Award
2010 SVR Regional Finalists
2010 SAC Innovation in Control Award
Reply With Quote
  #20   Spotlight this post!  
Unread 18-01-2009, 18:22
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,753
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: Finding green/pink flags

If you really want help, can you break it down? What works, what doesn't, what have you tried, what environment are you using?

My first suggestion would be to try running and learning from one of the vision examples.

Greg McKaskle
Reply With Quote
  #21   Spotlight this post!  
Unread 18-01-2009, 19:11
fordchrist675's Avatar
fordchrist675 fordchrist675 is offline
"Wilfordito"
AKA: Wilford Jay Harris III
FRC #0675 (Technology High School Robotics)
Team Role: Mentor
 
Join Date: Jun 2007
Rookie Year: 2006
Location: Rohnert Park, California
Posts: 298
fordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to all
Send a message via AIM to fordchrist675 Send a message via MSN to fordchrist675 Send a message via Yahoo to fordchrist675
Re: Finding green/pink flags

We have set up the camera correctly, with the CAT-5 cable. We debugged the code, tried it with the bug , updated all firmware and software and gotten nothing. The CRIO is still getting nothing from the camera
__________________
It's not by how much you win, it's how you win. Respect your enemies, otherwise your no better than them which if you think about it that's true because we are striving for the same thing. To be FIRST

2010 SVR Creativity Award
2010 SVR Regional Finalists
2010 SAC Innovation in Control Award
Reply With Quote
  #22   Spotlight this post!  
Unread 18-01-2009, 19:12
fordchrist675's Avatar
fordchrist675 fordchrist675 is offline
"Wilfordito"
AKA: Wilford Jay Harris III
FRC #0675 (Technology High School Robotics)
Team Role: Mentor
 
Join Date: Jun 2007
Rookie Year: 2006
Location: Rohnert Park, California
Posts: 298
fordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to allfordchrist675 is a name known to all
Send a message via AIM to fordchrist675 Send a message via MSN to fordchrist675 Send a message via Yahoo to fordchrist675
Re: Finding green/pink flags

The CRIO kept posting error messages
__________________
It's not by how much you win, it's how you win. Respect your enemies, otherwise your no better than them which if you think about it that's true because we are striving for the same thing. To be FIRST

2010 SVR Creativity Award
2010 SVR Regional Finalists
2010 SAC Innovation in Control Award
Reply With Quote
  #23   Spotlight this post!  
Unread 18-01-2009, 21:51
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,753
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: Finding green/pink flags

Make sure you are using the orange cross over cable. What are do the error messages.

Greg McKaskle
Reply With Quote
  #24   Spotlight this post!  
Unread 19-01-2009, 08:20
gokul gokul is offline
Registered User
FRC #0571
 
Join Date: Jan 2006
Location: CT
Posts: 25
gokul is an unknown quantity at this point
Re: Finding green/pink flags

Quote:
Originally Posted by fordchrist675 View Post
The CRIO kept posting error messages
It will help if we know what these error messages are.

1. Use the Orange Crossover cable with the camera.
2. Make sure the camera is set correctly (Brightness = 40, Light settings = Flourescent 1) using the Axis instructions after connecting the Cam to your PC. Make sure you hit "Save" after the changes to the cam.
3. Make sure that the Green/Pink is the right way up as the program expects it - in the program (C/C++) there is a setting for ABOVE and BELOW. If the colors are reversed to what the program expects it won't find it.
4. Make sure that the cam is receiving signal by watching for the Green light around the lens.
5. Make sure your target is not too close or too bright.
6. For the C/C++ code, teams will have to play around a bit with cam settings and HSL values to make sure everything works.
7. The C/C++ code is based on SimpleRobot so once it is out of Autonomous, it won't go back to Auto even if you flip the DS Auto/Tele Switch - you will have reboot the cRIO with the Autonomous enabled on the DS.
Reply With Quote
  #25   Spotlight this post!  
Unread 06-02-2009, 20:04
aerophd2001 aerophd2001 is offline
Software Mentor - Team 2366
AKA: Andy
FRC #2366 (Tesla Robotics)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Blue Springs, MO
Posts: 7
aerophd2001 will become famous soon enough
Re: Finding green/pink flags

One thing that may solve many peoples problems:

>> Test the two-color tracking routines in a room WITHOUT windows <<

Daylight coming in from outside *can* change the color of the targets from the camera's perspective. You will want to test in a room with only fluorescent lighting.

Additionally, you will want to have equal lighting on the target from all directions (no shadows around the periphery of the target).

I hope these tips help.
__________________
(Test + Refine Code + Deploy) ^ n
Reply With Quote
Reply


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
Flags???? cprogrammer Programming 4 25-07-2005 20:21
Flags trdragons204 General Forum 2 23-03-2005 10:29
Concerns regarding the green paneling/green shirts Petey General Forum 127 15-01-2005 10:35
6 Flags Raven_Writer Chit-Chat 12 30-07-2004 23:01
Six Flags? Hermione692 Championship Event 29 29-04-2003 21:12


All times are GMT -5. The time now is 13:38.

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