Skip to content
Branch: master
Commits on Jul 18, 2019
  1. Add logging to import logic in dm_control/_render/

    alimuldal committed Jul 16, 2019
    PiperOrigin-RevId: 258344886
Commits on Jun 24, 2019
  1. Fix some nagging Deprecation and FutureWarnings

    alimuldal committed Jun 24, 2019
    PiperOrigin-RevId: 254724757
Commits on Jun 10, 2019
  1. Defer creation of rendering contexts until `Physics.contexts` is firs…

    alimuldal committed Jun 10, 2019
    …t accessed
    This avoids wasting GPU resources if no rendering is actually being performed (#96).
    PiperOrigin-RevId: 252495234
Commits on May 24, 2019
  1. Ensure that array specs unhashable

    alimuldal committed May 24, 2019
    Two specs that compare equal can have different hash values, which can lead to strange behavior with hash-based data structures. This is only an issue in Python2 - in Python3, objects that lack an explicit `__hash__` method are already treated as unhashable.
    PiperOrigin-RevId: 249798603
Commits on May 1, 2019
  1. Fix broken formatting of table in dm_control/

    alimuldal committed May 1, 2019
    PiperOrigin-RevId: 246189376
  2. Add nose-xunitmp to requirements.txt

    alimuldal committed Apr 25, 2019
    This allows us to parallelize the test suite whilst still collecting the results in xunit format.
    PiperOrigin-RevId: 245235542
  3. Allow passing in `random_state` to `soccer.load`

    alimuldal committed Apr 24, 2019
    PiperOrigin-RevId: 245017266
  4. Document the versions of Ubuntu and Python that we test `dm_control` …

    alimuldal committed Apr 23, 2019
    Combination of PiperOrigin-RevIds: 244846645, 245024282
  5. Avoid some repeated type checking, speed up `_synchronize_from_backin…

    alimuldal committed Apr 17, 2019
    PiperOrigin-RevId: 243967627
Commits on Apr 15, 2019
  1. Randomize the cheetah's internal joints at the start of each episode

    alimuldal committed Apr 15, 2019
    This randomization has quite a subtle effect on the initial state since we run the simulation forward for 2 seconds at the start of each episode, allowing the joints to settle in a similar position across episodes.
    I also added a regression test that checks that two consecutive initial states have different observations.
    Closes #86
    PiperOrigin-RevId: 243584776
Commits on Apr 12, 2019
  1. Clean up some unnecessary `[:]` indexing

    alimuldal committed Apr 12, 2019
    PiperOrigin-RevId: 243279693
  2. Speed up `Physics.set_control`

    alimuldal committed Apr 12, 2019
    PiperOrigin-RevId: 243272069
  3. Reset geom colors to defaults in initialize_episode when visualize_re…

    alimuldal committed Apr 9, 2019
    …wards == True
    Otherwise in the first frame of each episode they will be colored according to the reward from the final step of the previous episode.
    PiperOrigin-RevId: 242697158
Commits on Mar 22, 2019
  1. Deprecate `composer.Environment.step_spec`, add `reward_spec` and `di…

    alimuldal committed Mar 22, 2019
    PiperOrigin-RevId: 239807451
  2. Add `reward_spec`, `discount_spec` and `make_step_spec` helper, remov…

    alimuldal committed Mar 21, 2019
    …e `step_spec`
    PiperOrigin-RevId: 239645208
  3. Increase threshold and number of iterations for `buf_to_npy` leak test

    alimuldal committed Mar 20, 2019
    PiperOrigin-RevId: 239484692
  4. Performance optimization: remove unnecessary reentrant lock from `Cac…

    alimuldal committed Mar 18, 2019
    PiperOrigin-RevId: 239083279
  5. Add egocentric cameras to humanoid models

    alimuldal committed Mar 18, 2019
    PiperOrigin-RevId: 238973645
  6. Reduce the font size used in the viewer

    alimuldal committed Mar 12, 2019
    With the old font size the help menu was sometimes being truncated.
    Combination of PiperOrigin-RevIds: 238005911, 238202961
  7. Allow overriding keys and querying by intersections of tags in `Tagge…

    alimuldal committed Mar 4, 2019
    PiperOrigin-RevId: 236629556
Commits on Feb 25, 2019
  1. Rename `soccer.*Observables` --> `soccer.*ObservablesAdder`

    alimuldal committed Feb 25, 2019
    This is to disambiguate them from `composer.Observables`, which has different semantics.
    PiperOrigin-RevId: 235561159
  2. Make GLFW the default rendering backend

    alimuldal committed Feb 25, 2019
    Defaulting to EGL means that the viewer won't work unless the `MUJOCO_GL` environment variable is set to `glfw` (#78). I have also updated the README to make this a bit clearer.
    PiperOrigin-RevId: 235502880
Commits on Feb 21, 2019
  1. Replace dependency on pypng with PIL/Pillow

    alimuldal authored and liusiqi43 committed Feb 21, 2019
    Also fixed incorrect implementation of alpha blending.
    PiperOrigin-RevId: 234971572
Commits on Feb 20, 2019
  1. Rename `initialize_episode` --> `__call__` in `composer.Initializer`

    alimuldal committed Feb 20, 2019
    PiperOrigin-RevId: 234775654
Commits on Feb 18, 2019
  1. Rename `dm_control.render` -> `dm_control._render`

    alimuldal committed Feb 18, 2019
    This is to reflect the fact that it should be considered private.
    PiperOrigin-RevId: 234454137
  2. Rename `ImagesNotClose` --> `ImagesNotCloseError`

    alimuldal committed Feb 15, 2019
    PiperOrigin-RevId: 234116673
  3. Remove unused `.name` property from `composer.Task` and `composer.Env…

    alimuldal committed Feb 11, 2019
    PiperOrigin-RevId: 233381516
  4. Add test for invalid camera rotation matrix when quaternion in XML is…

    alimuldal committed Feb 5, 2019
    … not normalized
    Providing an un-normalized camera quaternion in the XML results in an invalid rotation matrix within `cam_xmat` (det != 1). This is not the case for bodies, geoms, or sites. This should be fixed upstream in MuJoCo. For now I have added a test case with `expectedFailure`.
    PiperOrigin-RevId: 232455629
Commits on Feb 8, 2019
  1. Update `requirements.txt` to most recent working package versions fro…

    alimuldal committed Feb 4, 2019
    …m PyPI
    PiperOrigin-RevId: 232312115
  2. Expose the array of `mjvGeom` structs in `mjvScene->geoms` as a `reca…

    alimuldal committed Feb 1, 2019
    This enables vectorized access to the struct fields.
    PiperOrigin-RevId: 232032245
Commits on Jan 11, 2019
  1. Clarify that STRUCT_DECL is non-nested, only used within the context …

    alimuldal committed Jan 3, 2019
    …of unions
    PiperOrigin-RevId: 227673730
Commits on Dec 14, 2018
  1. Recursively include all data files rather than listing them separatel…

    alimuldal committed Dec 13, 2018
    …y per package
    PiperOrigin-RevId: 225347602
  2. Update docstrings to better reflect observation types that are used i…

    alimuldal committed Dec 13, 2018
    …n practice
    PiperOrigin-RevId: 225346998
Commits on Nov 29, 2018
  1. Replace deprecated `logging.warn` with `logging.warning`

    alimuldal committed Nov 29, 2018
    PiperOrigin-RevId: 223332047
Commits on Nov 12, 2018
  1. Don't conflate `mjtRndFlag` with `mjtVisFlag`

    alimuldal committed Nov 12, 2018
    `mjtRndFlag` should be used to index into `mjvScene->flags`, whereas `mjtVisFlag` should be used to index into `mjvOption->flags`.
    PiperOrigin-RevId: 221105358
You can’t perform that action at this time.