|
Re: Unsuccessful Autonomous Programming
You need to put the functions that read the distance into a while loop. As it is, the distance is only read once. Set it up so that the loop runs until you reach the target distance. Use that loop exactly as if it were a timed delay, keeping the flat sequence from advancing to the next frame before the distance reaches the desired value.
|