Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Latest commit

 

History

History

robosuite

Visualizing a frame

  • Add a site in the body e.g.
<body>
  <...>
  <site name="vis_site" group="2"/>
</body>
  • Add the following lines in _reset_internal() of base.py:
# under if self.has_renderer and self.viewer is None:
self.viewer.viewer.vopt.frame = 3  # vis sites only
self.viewer.viewer.vopt.sitegroup[:] = 0  # no site group, except...
self.viewer.viewer.vopt.sitegroup[2] = 1  # site group 2

Original README

Contributors:

  • Original robosuite contributors
  • Samarth Brahmbhatt
  • Ankur Deka
  • Andrew Spielberg