We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aee1a6f commit 45386b1Copy full SHA for 45386b1
src/components/robots/LinearAxisAnimator.tsx
@@ -75,10 +75,9 @@ export default function LinearAxisAnimator({
75
const dhParam = dhParameters[index]
76
const translationSign = dhParam.reverse_rotation_direction ? -1 : 1
77
78
- // Apply linear translation along X axis
+ // Apply linear translation along Y axis
79
// Convert from millimeters to meters
80
- // ToDo: change back to y axis when we want to display the proper orientation
81
- object.position.x =
+ object.position.y =
82
(translationSign * (updatedJointValues[index] || 0)) / 1000
83
}
84
0 commit comments