(self)
return observable.MJCFCamera(self._entity.egocentric_camera,
                                 width=64, height=64,
                                 scene_option=self._scene_options
                                )
Observable of the egocentric camera.
Observable of the egocentric camera.
Observable of the egocentric camera .
def egocentric_camera(self):
    """Observable of the egocentric camera."""

    if not hasattr(self, '_scene_options'):
      # Don't render this walker's geoms.
      self._scene_options = mj_wrapper.MjvOption()
      collision_geom_group = 2
      self._scene_options.geomgroup[collision_geom_group] = 0
      cosmetic_geom_group = 1
      self._scene_options.geomgroup[cosmetic_geom_group] = 0

    return observable.MJCFCamera(self._entity.egocentric_camera,
                                 width=64, height=64,
                                 scene_option=self._scene_options
                                )
def egocentric_camera ( self ) : if not hasattr ( self , '_scene_options' ) : # Don't render this walker's geoms. self . _scene_options = mj_wrapper . MjvOption ( ) collision_geom_group = 2 self . _scene_options . geomgroup [ collision_geom_group ] = 0 cosmetic_geom_group = 1 self . _scene_options . geomgroup [ cosmetic_geom_group ] = 0 return observable . MJCFCamera ( self . _entity . egocentric_camera , width = 64 , height = 64 , scene_option = self . _scene_options )