pyrobosim.core.gazebo.WorldGazeboExporter

class pyrobosim.core.gazebo.WorldGazeboExporter(world)

Exports world models to Gazebo.

Methods

__init__(world)

Creates a new Gazebo exporter from a world.

create_locations_and_objects_for_export()

Export locations and objects to Gazebo representations.

create_sdf_link_text(template_text, entity, ...)

Creates SDF link text from a world entity.

create_walls_for_export([walls_name])

Convert all room / hallway polygons to Gazebo representations.

export([classic, out_folder])

Exports the world to an SDF file to use with Gazebo, including all other necessary models for locations and/or objects.

read_template_file(filename)

Simple wrapper utility to read a file from the template folder.