pyrobosim.core.world.World.remove_all_robots
- World.remove_all_robots(remove_ros_interfaces: bool = True) None
Cleanly removes all robots from the world.
- Parameters:
remove_ros_interfaces – If True (default), and the world has a ROS interface, it removes them. This is configurable since resetting the world is prone to a rclpy bug. See https://github.com/ros2/rclpy/issues/1206 for more details.