port swapped
and suddenly every thing was peachy!
look how much nicer that is |
ELSE the robot proceeds straight.
(swapping sensor and motors around leads to massive freakouts and general robotic sadness)
perfectly straight.
that little chunk with the R and L ensures that.
using the counters in either motor we can make sure that neither motor gets ahead on rotations, regardless of friction or anything at all really.
a really helpful feedback loop!
and so, at 80 percent power so it doesn't shoot right off the line-
No comments:
Post a Comment