autotread function for when robot tips over