Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A small robot on a test bench drives at towards a wall away. Its proximity sensor is read times each second. The microprocessor stops the motors when a reading shows the wall is away.
How long does the robot drive, and how many sensor readings are taken in that time?
A robot has three characteristics: a mechanical structure or framework; electrical components, such as sensors, microprocessors and actuators; and it is programmable. A machine needs all three. A remote-controlled toy is not programmable, and a chat program has no mechanical structure, so neither is a robot.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Distance. m.
Step 2. Time. s.
Step 3. Readings. each second for s is readings.
Check. In s at m/s the robot goes m, and it stops m from the wall.
What if? If the sensor were read only once a second, the robot could travel m between two readings, so it might stop too late. Reading often matters.
Log in to join the discussion.
Loading…