pyrobosim.core.gazebo.WorldGazeboExporter.export
- WorldGazeboExporter.export(classic=False, out_folder=None)
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 (bool, optional) – If True, exports to Gazebo Classic, else to Gazebo.
out_folder (bool, optional) – The output folder. If not specified, defaults to the pyrobosim data/worlds folder.
- Returns:
Path to output folder with generated world.
- Return type:
str