What is a Sensor?
A sensor is anything that lets a robot gather information about the world instead of acting blindly. robot.senseWall() is your robot's sensor — it checks whether there's a wall directly in the direction it's currently facing, without moving.
Real robots use sensors like cameras, distance sensors, and touch sensors the exact same way: check first, then decide what to do.
Your turn
No code yet — if you were building a robot to avoid falling off a table, what would it need to sense, and when?
Ask JARVIS for a hint