pycram.ros_utils.joint_state_publisher#
Classes#
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
robotin 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.