View Single Post
  #1   Spotlight this post!  
Unread 08-11-2010, 18:22
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
How to rotate camera to target; motor to the angle of the camera

Hi i had a few quesitons that i needed help with. One of the mentor has thrown a challenge for me to make the robot do this in autonomous:

Rotate the camera(We are using Axis camera provided in 2010 season) to
find circular target.

Rotate the drive motors to the angle of the camera(since camera is facing the target).

Dirve to target.

My questions are:
(1) Do i use the Rotate to target.vi provided?
(2) how do i retrieve the angle and tell motor to go to that angle

Need a little guidance in getting started in the basics of this problem. The rest i shall do myself Thanks
Reply With Quote