Rename Python mujoco.simulate to mujoco.viewer.

PiperOrigin-RevId: 492701386
Change-Id: I059c572e2a63bd5529e863a9404720973df8ea46
This commit is contained in:
Saran Tunyasuvunakool
2022-12-03 10:08:55 -08:00
committed by Copybara-Service
parent dee1d6020a
commit 0846f38c82
3 changed files with 172 additions and 172 deletions
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Python bindings for the Simulate GUI."""
"""Interactive GUI viewer for MuJoCo."""
import atexit
import code
@@ -69,7 +69,7 @@ def _file_loader(path: str) -> _LoaderWithPathType:
def _physics_loop(simulate: Simulate, loader: Optional[_InternalLoaderType]):
"""Physics loop for the Simulate GUI, to be run in a separate thread."""
"""Physics loop for the GUI, to be run in a separate thread."""
m: mujoco.MjModel = None
d: mujoco.MjData = None
ctrlnoise = np.array([])