|
Re: Camera to motor setup
Quote:
|
Originally Posted by Windward
We got the camera to track the green, but now we've got another problem.
We've hooked up the servos on the camera directly to two motors so the camera tells the motors what to do. However, when the camera sees it, it sets the motor running in one direction and doesn't stop it. How are some of the other teams doing this? Are you guys modifying the code sent to the motors or will this setup work?
|
The servo PWM value commands position. The motor PWM value commands velocity and/or torque. These are not equivalent... You will have to do some math to make it work...
Mike
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|