pyrobosim.core.locations.Location.__init__

Location.__init__(name=None, category=None, pose=None, parent=None, color=None)

Creates a location instance.

Parameters:
  • name (str, optional) – Name of the location.

  • category (str) – Location category (e.g., "table").

  • pose (pyrobosim.utils.pose.Pose) – Pose of the location (required).

  • parent (Entity) – Parent of the location (typically a pyrobosim.core.room.Room)

  • color ((float, float, float), optional) – Visualization color as an (R, G, B) tuple in the range (0.0, 1.0). If using a category with a defined color, this parameter overrides the category color.