Mobile robot automation using encoder and MPU sensor