Object

YCBObject

class gibson2.core.physics.interactive_objects.YCBObject(name, scale=1)
__init__(name, scale=1)

Initialize self. See help(type(self)) for accurate signature.

ShapeNetObject

class gibson2.core.physics.interactive_objects.ShapeNetObject(path, scale=1.0, position=[0, 0, 0], orientation=[0, 0, 0])
__init__(path, scale=1.0, position=[0, 0, 0], orientation=[0, 0, 0])

Initialize self. See help(type(self)) for accurate signature.

Pedestrian

class gibson2.core.physics.interactive_objects.Pedestrian(style='standing', pos=[0, 0, 0])
__init__(style='standing', pos=[0, 0, 0])

Initialize self. See help(type(self)) for accurate signature.

VisualMarker

class gibson2.core.physics.interactive_objects.VisualMarker(visual_shape=2, rgba_color=[1, 0, 0, 0.5], radius=1.0, half_extents=[1, 1, 1], length=1, initial_offset=[0, 0, 0])
__init__(visual_shape=2, rgba_color=[1, 0, 0, 0.5], radius=1.0, half_extents=[1, 1, 1], length=1, initial_offset=[0, 0, 0])

create a visual shape to show in pybullet and MeshRenderer

Parameters
  • visual_shape – pybullet.GEOM_BOX, pybullet.GEOM_CYLINDER, pybullet.GEOM_CAPSULE or pybullet.GEOM_SPHERE

  • rgba_color – color

  • radius – radius (for sphere)

  • half_extents – parameters for pybullet.GEOM_BOX, pybullet.GEOM_CYLINDER or pybullet.GEOM_CAPSULE

  • length – parameters for pybullet.GEOM_BOX, pybullet.GEOM_CYLINDER or pybullet.GEOM_CAPSULE

  • initial_offset – visualFramePosition for the marker

BoxShape

class gibson2.core.physics.interactive_objects.BoxShape(pos=[1, 2, 3], dim=[1, 2, 3], visual_only=False, mass=1000, color=[1, 1, 1, 1])
__init__(pos=[1, 2, 3], dim=[1, 2, 3], visual_only=False, mass=1000, color=[1, 1, 1, 1])

Initialize self. See help(type(self)) for accurate signature.

InteractiveObj

class gibson2.core.physics.interactive_objects.InteractiveObj(filename, scale=1)

Interactive Objects are represented as a urdf, but doesn’t have motors

__init__(filename, scale=1)

Initialize self. See help(type(self)) for accurate signature.

RBOObject

class gibson2.core.physics.interactive_objects.RBOObject(name, scale=1)
__init__(name, scale=1)

Initialize self. See help(type(self)) for accurate signature.