@viamrobotics/motion-tools 0.14.10 → 0.14.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196,7 +196,7 @@ export class OrientationVector {
196
196
  const cosTheta = MathUtils.clamp(cosThetaCand, -1, 1);
197
197
  const theta = Math.acos(cosTheta);
198
198
  if (theta > EPSILON) {
199
- const newZImagUnit = vecF.copy(newXimag).normalize();
199
+ const newZImagUnit = vecF.copy(newZimag).normalize();
200
200
  const rotQuatUnit = quatD.setFromAxisAngle(newZImagUnit, -1 * theta);
201
201
  const conj2 = quatE.copy(rotQuatUnit).conjugate();
202
202
  const testZ = rotQuatUnit.multiplyQuaternions(rotQuatUnit.multiply(zAxis), conj2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/motion-tools",
3
- "version": "0.14.10",
3
+ "version": "0.14.11",
4
4
  "description": "Motion visualization with Viam",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",