View Full Version : Programing with camera?
excel2474
13-02-2009, 21:04
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.
excel2474
13-02-2009, 21:14
First we need more detail, then take some of dem neon glow sticks and plug em in to yo robot. then put thing on your robot!!! also you could take the camera out of the box and connect the cords, and heres the kicker, PUT IT ON THE ROBOT. If you somehow manage to accomplish that then you can develop buy somea dem fancy LEC light bulbs and use'em.
-Anonimes
What?
iTHOS=awesome
13-02-2009, 21:29
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.
Greg McKaskle
14-02-2009, 08:08
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
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.