Programing with camera?

I just started looking at the camera code today and I’m having some issues. We don’t have a turret on our robot, so I don’t t think we’ll be using the camera to control the robot. Instead, what I want to do is have the camera send us feedback via LEDs. For example, if the robot is on target, a specific LED light on the DS would light up. I’m not how to get the camera to work though. I downloaded the TwoColorTrackeDemo to the robot, but nothing happed when I ran it in autonomous. Any help would be greatly appreciated. If you need more detail, just let me know. Thanks a lot.

What?

Are you using Windriver? We had a very similar issue for the past couple weeks. Remember to reboot the driver station along with the robot.

If you are using WindRiver then on the computer you are using to dl code, right click on your connection and click on the “Reset Connected Target” option while the driver station is in autonomous and the robot is on. I did this just messing around with random stuff (not recommended), and it made everything work for some reason.

I’d recommend trying to run the original demo first. That will help you get a feel for what the code expects of the robot, and what the various code elements do. Then you can incorporate it and hopefully pull along all of the relevant pieces.

Greg McKaskle