← Questions

Design human avoidance for warehouse robots

0
AmazonSystem designLast asked May 2026

A system design interview question asked in Amazon's technical phone screen, last asked May 2026. It tests robotics, safety and real-time.

Design how autonomous robots in a warehouse detect people working on the same floor and avoid them safely, while still getting their work done.

Requirements

  • Functional: detect people (and other obstacles) around the robot, predict where they are moving, and slow down, stop or re-route to keep a safe distance.
  • Functional: share where people are seen so other robots and the fleet planner can avoid busy areas.
  • Non-functional: safety-critical and real time. The robot must react within tens of milliseconds and must not depend on the network to stop.
  • Non-functional: few false stops, so throughput does not collapse.

Clarifying questions

  • Which sensors do the robots have: lidar, cameras, depth cameras, ultrasonic, bumpers? Do workers wear tags?
  • How fast do robots move, and what stopping distance does that imply?
  • Are there zones where people and robots are separated, and zones where they mix?
  • What safety standards or certifications apply?

What a strong answer covers

  • Sensing and fusion: combine lidar, cameras and other sensors, classify people versus objects, and track each person over time with a velocity estimate.
  • Speed and separation: safety zones around the robot that scale with its speed; slow inside the warning zone, stop inside the protective zone.
  • Short-horizon planning: predict people's paths a few seconds ahead and pick a velocity that keeps clearance, or wait.
  • On the robot versus central: the stop decision runs on the robot, on a certified safety controller independent of the main computer; the central system only adjusts routes, speed limits by zone and traffic around reported people.
  • Failure handling: a sensor fault, a stale map or a lost connection all lead to a safe stop or reduced speed; watchdogs and heartbeats between components.
  • Testing and monitoring: simulation, logs of near misses, and tuning to balance false stops against safety.

Follow-ups

  • A camera is blinded by glare. What does the robot do?
  • A person steps out from behind a rack right in front of a moving robot. Walk through the next 200 milliseconds.
  • How does the fleet planner use reports of people to plan routes?
  • How do you prove to a safety reviewer that the system is safe?

Where it's asked

  • Amazon · Technical phone screen · Last asked May 202660 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI

What it tests

robotics · safety · real-time

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing