You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed issue in PickupController.cpp where math was incorrectly being done in an incorrect location in the code. This resulted in the rover not attempting to change orientation when attempting to pickup cube
blockYawError = atan((tags[target].getPositionX() + cameraOffsetCorrection)/blockDistance)*1.05; //angle to block from bottom center of chassis on the horizontal.
65
84
66
-
///TODO: Explain the trig going on here- blockDistance is c, 0.195 is b; find a
67
-
blockDistance = hypot(tags[target].getPositionX(), tags[target].getPositionY()); //distance from bottom center of chassis ignoring height.
0 commit comments