![]() |
Connecting our cam motors
How can we connect our cam servo motors via the cam's board without wiring all the cables to the rc?
Thanks! |
Re: Connecting our cam motors
yes.
|
Re: Connecting our cam motors
Quote:
-Unholy |
Re: Connecting our cam motors
Yes, but how can we do this?
What are the procedures and how will it infect our code? 10x! |
Re: Connecting our cam motors
Quote:
1. Instead of using tracking.h/c (the tracking code that Kevin provides for running the pan/tilt servos), you need to have the CMUcam2 provide it's own tracking (see the camera documentation on kevin.org/frc). 2. Enable internal powering of servos on the CMUcam2. 3. Enable pan/tilt control of the servos on the CMUcam2. 4. Enable pan/tilt reporting of the servo values on the CMUcam2. 5. Modify the camera.c/h code in Kevin's code to recognize that the camera tracking packets will now include two additional values (the pan and tilt servo values). This isn't all that hard if you understand how the existing camera code works. I don't recommend it, however, since you have a lot more control over the tracking code if you use Kevin's tracking.c/h. |
| All times are GMT -5. The time now is 18:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi