pyrobosim_ros.ros_interface.update_world_from_state_msg

pyrobosim_ros.ros_interface.update_world_from_state_msg(world, msg)

Updates a world given a state message.

Parameters:
  • world (pyrobosim.core.world.World) – World object to update.

  • msg (pyrobosim_msgs.msg.WorldState) – ROS message describing the desired world state.