Made a thread for reading sensors but it makes the robot go jerky.