pyrobosim.core.gazebo.WorldGazeboExporter.export
- WorldGazeboExporter.export(classic: bool = False, out_folder: Path | None = None) Path
Exports the world to an SDF file to use with Gazebo, including all other necessary models for locations and/or objects.
Instructions to add to the Gazebo model path and spawn the world are printed to the Terminal.
- Parameters:
classic – If True, exports to Gazebo Classic, else to Gazebo Sim.
out_folder – The output folder. If not specified, defaults to the PyRoboSim data/worlds folder.
- Returns:
Path to output folder with generated world.