In its state that's in front of the robot, it not only considers the x, y and hidden direction but also allows the robot to go forward and backwards, and driving backwards is just a different state than going forwards. 