Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Driving in Camera Code (http://www.chiefdelphi.com/forums/showthread.php?t=53809)

wingnut1705 10-02-2007 09:40

Driving in Camera Code
 
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

Re: Driving in Camera Code
 
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

Re: Driving in Camera Code
 
yeah that was it

thanks


All times are GMT -5. The time now is 04:44.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi