A Mars rover is being developed.
Scientists have already determined that landing craft will land 557mm from a large rock.
The rover will need to move forward until it is 100mm away from that rock and then activate the brake and stop and await further instructions.
The rover will use a location sensor to do this.
The rover has a stored value called maxDistance to help it determine its location from the rock.
Here is a screenshot of the simulation arena that the scientists are using. Follow these setup instructions:
Write a program that will allow the rover to keep driving until its location sensor tells the microprocessor that it has reached the stored value of 100. It will then stop driving and wait for further instructions.
Open a Google Doc.
Paste a screenshot of your solution to the above problem.
Write a paragraph describing how the sensor system works. You do not need to include details about the computer program - just describe the concept of how this sensor system works. Include these words:
location sensorbrakestored valuemicroprocessorcompare
analogue-to-digital convertercontinuously
Note: Other common sensors include: