Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EzraBrooks committed Apr 22, 2024
1 parent 5ded815 commit 682a4f3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions javascript/src/URDFClasses.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ class URDFJoint extends URDFBase {
// Compose transform of joint origin and transform due to joint values
_tempOrigTransform.compose(this.origPosition, this.origQuaternion, _tempScale);
_tempQuat.setFromEuler(
_tempEuler.set(
this.jointValue[3],
this.jointValue[4],
this.jointValue[5],
'XYZ',
),
_tempEuler.set(
this.jointValue[3],
this.jointValue[4],
this.jointValue[5],
'XYZ',
),
);
_tempPosition.set(this.jointValue[0], this.jointValue[1], this.jointValue[2]);
_tempTransform.compose(_tempPosition, _tempQuat, _tempScale);
Expand All @@ -295,7 +295,7 @@ class URDFJoint extends URDFBase {

// Compose transform of joint origin and transform due to joint values
_tempOrigTransform.compose(this.origPosition, this.origQuaternion, _tempScale);
_tempQuat.setFromAxisAngle(this.axis, this.jointValue[2])
_tempQuat.setFromAxisAngle(this.axis, this.jointValue[2]);
_tempPosition.set(this.jointValue[0], this.jointValue[1], 0.0);
_tempTransform.compose(_tempPosition, _tempQuat, _tempScale);

Expand Down

0 comments on commit 682a4f3

Please sign in to comment.