driving in 6 directions implemented in motion controller