Closed nbenven95 closed 5 years ago
Addressed in lecture 238. Issue was that the yaw angle being passed to Turret->Rotate in RotateTurretTowards was sometimes >= 180 degrees. To mitigate this, the turret just rotates in the opposite direction if the yaw angle is >= 180.
The tank turret does not allow for full 360 degree rotation. When rotating to a certain point, the turret resets itself and rotates all the way around in the other direction.