pyrobosim.core.locations.ObjectSpawn

class pyrobosim.core.locations.ObjectSpawn(name, metadata, parent=None)

Representation of an object spawn in the world.

Methods

__init__(name, metadata[, parent])

Creates an object spawn instance.

add_graph_nodes()

Creates graph nodes for searching.

get_room_name()

Returns the name of the room containing the object spawn.

is_inside(pose)

Checks if a pose is inside the object spawn polygon.

print_details()

Prints string with details.

set_pose_from_parent()

Updates the object spawn's pose from its parent's pose.

update_visualization_polygon()

Updates the visualization polygon for the object spawn.