Can't quite get my head around this...
"If the next direction is different from the current direction, we
should start decelerating to move in the intended direction"
However, if it finds that to be the case, it sets current direction to UNKNOWN, but then the following block checks for UNKNOWN and sets it to RIGHT. This seems to offer no capability of decellerating first.
Can't quite get my head around this...
"If the next direction is different from the current direction, we
should start decelerating to move in the intended direction"
However, if it finds that to be the case, it sets current direction to UNKNOWN, but then the following block checks for UNKNOWN and sets it to RIGHT. This seems to offer no capability of decellerating first.