Thread: Camera Colors
View Single Post
  #5   Spotlight this post!  
Unread 12-03-2009, 23:12
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Camera Colors

Quote:
Originally Posted by ExarKun666 View Post
...the servos just spazzed and went all up/down & all the way left or right, and it was with the default, out of the box code, what up??
If your camera is mounted upside down from the way the software expects, the servos will end up moving the camera away from the target instead of toward it.

If you have the tilt servo and pan servo connections swapped, the software will be trying to move the camera horizontally but it will actually move vertically, and vice versa.

If you built the pan/tilt assembly mirror-imaged from the drawings, the tilt servo will be reversed from how the software wants to control it.

All these can be corrected easily, if you know to check for them.
Reply With Quote