Skip to content

Is Emergency Stopped

SUMMARY

Is Emergency Stopped returns True if the robot is currently in an emergency stop and False otherwise.

An emergency stop is a safety-critical halt that requires a manual reset before motion can resume.

SUPPORTED ROBOTS

This skill is currently supported on Universal Robots only. Calling this method on other robot brands will raise a NotImplementedError.

The Skill

python
e_stopped = robot.is_emergency_stopped()

The Code

Example: Check for Emergency Stop

Connect to the robot and check whether it is in an emergency stop state.

python
from loguru import logger
from telekinesis.synapse.robots.manipulators import universal_robots

robot_ip = "192.168.1.2"  # replace with your robot's IP

robot = universal_robots.UniversalRobotsUR10E()
# Connect
robot.connect(ip=robot_ip)

e_stopped = robot.is_emergency_stopped()
if e_stopped:
    logger.error("Robot is in emergency stop. A manual reset is required.")
else:
    logger.success("Robot is not in emergency stop.")

# Disconnect
robot.disconnect()

The Explanation of the Code

is_emergency_stopped derives its answer from the safety_mode RTDE field. An emergency stop is triggered by the e-stop button or an external safety device. Unlike a protective stop, an emergency stop requires a physical reset action before the robot can be re-enabled.

How to Tune the Parameters

This skill takes no input parameters.

Return Value

FieldTypeDescription
e_stoppedboolTrue if the robot is in emergency stop, False otherwise.

Where to Use the Skill

  • Automated system monitors that detect and alert on e-stop conditions.
  • Startup health checks before enabling motion.

When Not to Use the Skill

Use a different skill when: