pyrobosim_ros.ros_interface.WorldROSWrapper.package_robot_state

WorldROSWrapper.package_robot_state(robot)

Creates a ROS message containing a robot state. This state can be published standalone or packaged into the overall world state.

Parameters:

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

Returns:

ROS message representing the robot state.

Return type:

pyrobosim_msgs.msg.RobotState