pyrobosim_ros.ros_interface.WorldROSWrapper.publish_robot_state

WorldROSWrapper.publish_robot_state(pub: rclpy.publisher.Publisher, robot: Robot) None

Helper function to publish robot state.

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

  • robot – Robot instance from which to extract state.