google-deepmind / google-deepmind/dm_control

Getting started with interactive viewer

Open
#353 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4.7k
Forks
764
PR merge metrics
No merged PRs in 30d

Description

I'm new to mujoco and I wish to run my robot model in an interactive viewer.
In various posts I encountered, it is recommended to use mujoco's `simulate` utility, however, to my understanding, `simulate` will not allow me full programmable control of my robots (e.g., applying external forces).

I guess I should use `dm_control.viewer.launch(env)`, but this requires building a `composer.Environment` object as well as defining a `Task`, which seem pretty complex.
Is there sample code showing how to generate a simple `Environment` object? Alternatively, is there an easier way to get started with interactive viewer?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.