habitat_sim.attributes module

Attributes objects store metadata relevant to a specific type of simulation objects for programmatic manipulation and instantiation (e.g. a blueprint).

Note: SceneDatasetAttributes and SceneInstanceAttributes are not publicly exposed.

Classes

class CapsulePrimitiveAttributes
Parameters for constructing a primitive capsule mesh shape.
class ConePrimitiveAttributes
Parameters for constructing a primitive cone mesh shape.
class CubePrimitiveAttributes
Parameters for constructing a primitive cube mesh shape.
class CylinderPrimitiveAttributes
Parameters for constructing a primitive capsule mesh shape.
class IcospherePrimitiveAttributes
Parameters for constructing a primitive icosphere mesh shape.
class ObjectAttributes
A metadata template for rigid objects pre-instantiation. Defines asset paths, physical properties, scale, semantic ids, shader type overrides, and user defined metadata. ManagedRigidObjects are instantiated from these blueprints. Can be imported from .object_config.json files.
class PhysicsManagerAttributes
A metadata template for Simulation parameters (e.g. timestep, simulation backend, default gravity direction) and defaults. Consumed to instace a Simualtor object. Can be imported from .physics_config.json files.
class StageAttributes
A metadata template for stages pre-instantiation. Defines asset paths, collision properties, gravity direction, shader type overrides, semantic asset information, and user defined metadata. Consumed to instantiate the static background of a scene (e.g. the building architecture). Can be imported from .stage_config.json files.
class UVSpherePrimitiveAttributes
Parameters for constructing a primitive uvsphere mesh shape.