Object¶
YCBObject¶
ShapeNetObject¶
Pedestrian¶
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
-