|
Re: Calculating Angle to Target
That's exactly the approach used in the example code from a couple of years ago (Breakaway?). Use the camera to determine how far to turn, then use the gyro to execute the turn.
The camera and vision processing has enough delay to pretty much guarantee that you'll overshoot the target direction if that's all you use.
|