Mjvive - visualize custom mjb files

Discussion in 'Visualization' started by Michal Vavrecka, Sep 18, 2018.

  1. Hello,

    I tried mjvive under Windows with included mjb files and it worked perfectly. When I tried to run it with custom xml files converted to mjb (that work correctly in simulate), the mjvive was not able to import them. Is there any special parameter in Mujoco xml for mjvive required?
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    I have to admit that I don't remember :) Resurrecting the VR demo is long overdue, and is on the todo list after the 2.0 release. You can look at the code and check if it is accessing some custom fields of the model...

    Or could it be that you have MJBs for 1.50? The VR demo is for the 1.40 release, and the MJB model file format is not identical. In general, the MJB format changes with every release because it is a binary dump of mjModel, and I usually add fields to mjModel to support new functionality. The XML is much more stable and any changes are documented in the corresponding Changelist.