Quote:
Originally Posted by dpick1055
I have the Camera_Handler() and Servo_Track() functions where you said to put them. I am using Kevin's bells and whistles code but when i enable debugging one of motors goes full forward and one goes full reverse (but that just could be because of how we have them mounted).
|
Enabling _DEBUG mode should not change how your 'bot reacts to anything (but it might; I've proven that with code, physical impossibilities become totally possible and what was extraordinary becomes a common occurance...

). Just for now, comment any code that deals with the motors during auton. Look in the terminal window and see what you get. You need to know if the camera is still getting initialized like normal. If it is, the problem is with your drive code.
My guess is that the camera is initializing fine, and as soon as it sees a target, it gives both motors 170, which, depending on your setup, motor polarity, transmissions, etc. might look like a full power spin. Try reversing one of the motors (it would be pwm15 = 84; I think).
JBot