|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Motor and camera pwms
Our motors are mapped to pwms 13, 14, 15, and 16. Our pan and tilt servos for the camera are mapped to pwms 1, and 2. For some reason, when we upload the camera code with Default_Routine();, appearing in user_routines.c, commented out, the camera works fine but we are not able to drive the robot and get no output from our joysticks. With Default_Routine(); uncommented, the camera does not work but we are able to drive the robot and get output from the joystick. A few times our joystick wound up controlling the camera's servos, but I don't remember how we had our code setup that time. Any help is greatly appreciated.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera to motor setup | Windward | Programming | 24 | 18-02-2006 20:29 |
| Direct Control of PWMs and OI in WPILib | CyberWolf_22 | Programming | 7 | 06-02-2006 19:06 |
| pwms 13 and 15 in autonomous mode | Chris Bright | Programming | 1 | 24-02-2004 22:25 |
| External metal jacket on the Drill motor and FP motor, WHY? | archiver | 2001 | 3 | 24-06-2002 04:22 |
| External metal jacket on the Drill motor and FP motor, WHY? | Dennis Hughes | Technical Discussion | 1 | 04-06-2001 11:59 |