pyrobosim_ros.ros_interface.WorldROSWrapper.publish_robot_state

WorldROSWrapper.publish_robot_state(pub, robot)

Helper function to publish robot state.

Parameters:
  • pub (rclpy.publisher.Publisher) – The publisher on which to publish the robot state information.

  • robot (pyrobosim.core.robot.Robot) – Robot instance from which to extract state.