Understanding qpos and qvel of freejoint

Discussion in 'Simulation' started by Jędrzej Orbik, Oct 9, 2019.

  1. In the Programming documentation part it is written:
    "In the presence of quaternions (i.e. when free or ball joints are used), the position vector mjData.qpos has higher dimensionality than the velocity vector mjData.qvel and so this is not a simple time-derivative in the sense of scalars, but instead takes quaternion algebra into account."

    Does it mean, that qvel is the time derivative of the joint euler angles? So that we first calculate the representation of the orientation from quaternion to euler angles and then take the derivative of it at each step?
  2. Kyokushin and Jędrzej Orbik like this.