View Single Post
  #12   Spotlight this post!  
Unread 10-11-2010, 20:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How to rotate camera to target; motor to the angle of the camera

You may already be on the right track, but let me give a few clarifications.

The camera is a sensor, and all by itself, the camera cannot move the robot, it cannot move itself, and it cannot move the servo. It simply returns images.

A motor will only rotate its shaft in a given direction at a given speed. A servo motor is similar, except that it is aware of where it has turned its shaft to, and will stop and hold that position.

Each of these items has a set of VIs to control and communicate with in LV, and for C++ and Java, there are textual functions and classes for doing the same.

The example programs and default code will show how to use the software to direct the motors, servos, cameras, gyros, and the like to do bigger tasks. Feel free to ask more detailed questions as you focus on smaller parts of the overall task.

Greg McKaskle
Reply With Quote