|
Re: How to rotate camera to target; motor to the angle of the camera
A gyro tells you rate of rotation; it tells you how fast you are turning.
It is connected to an accumulator in cRIO, which continuously adds the value received from the Gyro, thus calculating the direction from the rate of rotation * time.
The gyro is on the robot. The camera is on the robot. Thus, the camera turns when the robot turns.
__________________
-- Marshal Horn
|