|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
1710 Code
I'm attempting to program a shooting turret based off the TwoColorTrackerDemo provided.
I've modified the code so that instead of moving servos on an x and y basis and calculating where they are, all I want to do is use the par.center_mass_x_normalized value (a value between -1 and 1) to set my turrent motor to turn left or right until its centered. So basicly, I'm writing code for a tankl like turret to spin until its centered on the x axis with the target. The code is attached. The camera isn't even picking up the image when downloaded to the robot. I'm a novice programmer, but I'm the only one my team has and I figure letting some experts see this will save me a lot of time then my struggling through it for a few extra days that we don't have. Thanks!! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Team 1710 Needs a part | FRC1710 | Technical Discussion | 2 | 21-01-2008 17:00 |
| pic: Team 1710 has a wroking Robot! | FRC1710 | Robot Showcase | 6 | 15-02-2007 12:42 |
| Problems integrating CMUCAM code and IFI Default Code | Windward | Programming | 2 | 06-02-2007 16:48 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |