pyrobosim_ros.ros_interface.WorldROSWrapper.package_robot_state

WorldROSWrapper.package_robot_state(robot: Robot) pyrobosim_msgs.msg.RobotState

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

Parameters:

robot – Robot instance from which to extract state.

Returns:

ROS message representing the robot state.