Update comment in mj_energyPos.

PiperOrigin-RevId: 757670899
Change-Id: I3827089f4298b3800c20ed64ca0ccfcf3ed83d92
This commit is contained in:
Taylor Howell
2025-05-12 02:44:42 -07:00
committed by Copybara-Service
parent 924ee3070a
commit b0b2c48190
+1 -1
View File
@@ -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);