robot_skills.simulation.sim_ebutton

Classes

SimEButton

Base class for robot parts

Module Contents

class robot_skills.simulation.sim_ebutton.SimEButton(robot_name, tf_buffer, topic=None)

Bases: robot_skills.robot_part.RobotPart

Base class for robot parts

Interface to robot emergency switch. Provides the same interface as the real e-button

Parameters:
  • robot_name – (str) string indicates the robot name

  • tf_buffer – (tf2_ros.Buffer) (default argument for robot parts)

  • topic – (str) fully qualified topic (optional). If not provided, “/<robot_name>/emergency_switch” will be used.

static read_ebutton()

Always returns False as if the e-button is not pressed

Returns:

(bool)