Log in

View Full Version : Driving in Camera Code


wingnut1705
10-02-2007, 09:40
I'm having problems being able to drive the robot with Kevin's camera code
When I enable the robot the motors start humming like normal, but the joysticks are not doing anything. Also the victors have no light on.

How do I solve this problem?

geeknerd99
10-02-2007, 10:31
I believe the calling of default_routine() in user_routines.c is commented out, and it explains for safety reasons and yadda yadda because it uses PWMs 1 and 2, which are usually drive on many teams.

Go to *I think* tracking.h (or camera.h if that's not it), and change the PWMs of your pan-tilt servos to whatever you want. Then uncomment the calling of default_routine() in user_routines.c. You should now be able to drive.

wingnut1705
10-02-2007, 11:17
yeah that was it

thanks