My group’s Edison protocode

0

Our protocode: The Edison will move forward until it senses an object. If it senses an object it will turn left, move forward, turn right, move forward, then turn right, move forward, and then finally turn left and keep going to a certain spot until it either reaches another obstacle or reaches the point it was trying to get to.

 

The mars rover is trying to get to another patch of land so that it can find new rock samples, but there are boulders in the way. So if it senses an obstacle, it will turn left, move forward, turn right, move forward, then turn right, move forward, and then finally turn left and keep going to the patch with new rock samples, unless there is another obstacle in which case it repeats this process.