Additional Rigid bodies

Discussion in 'Simulation' started by Felix Chen, Jul 10, 2017.

  1. Hi Emo,

    I am wondering if it's possible to have additional rigid bodies than "head", "hand" & "monitor" in Motive. Right now, motion capture is enabled and model is moving in Mujoco, but as soon as I add an addition rigid body in Motive, it turns it off.

    If this is not possible, how else could I possibly get other marker information from Motive? Thank you!

    Regard,
    Felix
     
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    MuJoCo HAPTIX is designed for a specific application, and the motion capture functionality only works with these three bodies. If you want different functionality, you can connect to Motive directly from your code, and send the relevant information to MuJoCo HAPTIX over the socket API. You will be able to move mocap bodies that way, but will not be able to do head tracking. If you want custom head tracking (and custom everything else) you should use MuJoCo Pro instead, and start with the mjvive.cpp sample which illustrates VR integration.
     
  3. Ok - that make sense. Thank you!