A safety system is designed to use small, low-cost radars embedded in joints and end effectors of a robot to monitor an environment for potential safety hazards. In this way, the radars directly detect obstacles with respect to the moving parts of the robot. A safety controller analyzes the obstacle data provided by the radars and determines an appropriate operating state of the robot based on predefined safety requirements.