Skip to content

Commit

Permalink
Urdf fixes (#1022)
Browse files Browse the repository at this point in the history
* Use correct iterator on gizmo

* Move to babylon_ros 0.0.5
  • Loading branch information
polyhobbyist committed Jun 13, 2023
1 parent 47e9312 commit abdacf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"test-compile": "npm run webpack"
},
"dependencies": {
"@polyhobbyist/babylon_ros": "^0.0.4",
"@polyhobbyist/babylon_ros": "^0.0.5",
"@polyhobbyist/babylon-collada-loader": "^0.0.3",
"@vscode/debugadapter": "^1.59.0",
"@vscode/extension-telemetry": "^0.6.2",
Expand Down
2 changes: 1 addition & 1 deletion src/urdfPreview/URDFPreviewPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function toggleAxisOnRobot(jointOrLink : Boolean, scene : BABYLON.Scene, layer:
} else {
robot.links.forEach((l) => {
l.visuals.forEach((v) => {
addAxisToTransform(whichAxis, scene, layer, l.transform);
addAxisToTransform(whichAxis, scene, layer, v.transform);
});
});
}
Expand Down

0 comments on commit abdacf5

Please sign in to comment.