pycram.ros_utils.joint_state_publisher#

Classes#

JointStatePublisher

Joint state publisher for the robot currently loaded in the World

Module Contents#

class pycram.ros_utils.joint_state_publisher.JointStatePublisher(joint_state_topic='/pycram/joint_state', interval=0.1)#

Joint state publisher for the robot currently loaded in the World

world#
joint_state_pub#
interval = 0.1#
kill_event#
thread#
_publish() None#

Publishes the current joint states of the robot in an infinite loop. The joint states are published as long as the kill_event is not set by _stop_publishing()

_stop_publishing() None#

Sets the kill_event to terminate the publishing thread and joins the thread.