Fix quaternion typos.

PiperOrigin-RevId: 453203844
Change-Id: I7d788c21bb00b7746f941fb2cf755f0b046e35f2
This commit is contained in:
Kevin Zakka
2022-06-06 08:23:41 -07:00
committed by Copybara-Service
parent 16baac9353
commit 53d3220fcc
11 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ static void add_noise(const mjModel* m, mjData* d, mjtStage stage) {
rnd[0] = mju_standardNormal(rnd+1);
rnd[2] = mju_standardNormal(rnd+3);
// scale angle, normalize axis, make quaterion
// scale angle, normalize axis, make quaternion
rnd[0] *= noise;
mju_normalize3(rnd+1);
mju_axisAngle2Quat(quat, rnd+1, rnd[0]);