andretamm / sdpwinners

STABILITY - making your robots stable since 2014
0 stars 0 forks source link

Robot/Strategy: Fix robot overrotating #30

Closed andretamm closed 10 years ago

andretamm commented 10 years ago

Possible reasons for overrotating: 1) Slow Bluetooth 2) VIsion/Strategy system too slow to react that we're in the right spot 3) Robot brakes too slowly

mbleftley commented 10 years ago

I have added the new stopping method stop() to the Ultra360 class, this should now stop way faster. I also left the old stop in there under the method oldStop() just in case things fuck up tomorrow(today) and I am not there yet.

andretamm commented 10 years ago

Rotation is much better now, probably due to a combo of the better stop and the perspective fix.