Quote:
Originally Posted by juchong
The overshoot that everyone is noticing with the example above is due to the camera being slightly off and the robot trying to precisely correct. This can be improved by using more case structures which vary the motors' power, instead of having a single power at which the robot will track, but it won't solve the problem.
|
See, I though this too, but then I noticed that after a while, with the teleop code (in thumbnail)we have can aim rather precisely with the right range, and that the offset was actually coming from, and that the overshoot/wobbling we noticed was
actually coming from the targets swapping places in the Target info array.
Granted, it could turn out that we might need to center the camera better to ensure that the center of the camera corresponds to the center of the target, but that seems easy enough to do...