Update comment in mj_energyPos.
PiperOrigin-RevId: 757670899 Change-Id: I3827089f4298b3800c20ed64ca0ccfcf3ed83d92
This commit is contained in:
committed by
Copybara-Service
parent
924ee3070a
commit
b0b2c48190
@@ -948,7 +948,7 @@ void mj_energyPos(const mjModel* m, mjData* d) {
|
||||
mjFALLTHROUGH;
|
||||
|
||||
case mjJNT_BALL:
|
||||
// covert quatertion difference into angular "velocity"
|
||||
// convert quaternion difference into angular "velocity"
|
||||
mju_copy4(quat, d->qpos+padr);
|
||||
mju_normalize4(quat);
|
||||
mju_subQuat(dif, d->qpos + padr, m->qpos_spring + padr);
|
||||
|
||||
Reference in New Issue
Block a user