![]() |
Re: Finding green/pink flags
Have you updated all the firmware? Are you using all the most current software?
|
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
|
Re: Finding green/pink flags
It appears as though an update on this matter has been posted (an example) :yikes:
http://first.wpi.edu/FRC/frcupdates.html |
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
|
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 |
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
|
Re: Finding green/pink flags
The CRIO kept posting error messages
|
Re: Finding green/pink flags
Make sure you are using the orange cross over cable. What are do the error messages.
Greg McKaskle |
Re: Finding green/pink flags
Quote:
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. |
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. |
| All times are GMT -5. The time now is 17:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi