A robot is being designed to explore the surface of Mars autonomously. There is a Controller that can also activate all wheels at once. Two sets of sensors. Sensors can be on or off. An array of twelve distance sensors 1-12 around the perimeter.
Distance sensors report distance to nearest obstacle in direction of sensor.
Light sensors report brightness. A solar panel on an axis and motor capable of turning 360 degrees. You are being asked to write some of the operating software for this robot. Shift left side wheels into forward gear. Write the analagous code for bumping the front right bumper.