|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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? |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
Re: Driving in Camera Code
yeah that was it
thanks |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using kevin's code for driving and camera tracking | razzoc | Programming | 3 | 18-02-2007 08:50 |
| Problems Combining Camera Code and Driving Code | cmurdoch | Programming | 20 | 10-02-2007 16:34 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |