Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URDF Rendering Fixes, Axes & Rotation Visualization, Color customization #1002

Merged
merged 1 commit into from
Jun 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 31 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,36 @@
"type": "bool",
"default": false,
"description": "Specify if the extension should not capture the environment VSCode is running in to pass to child processes."
},
"ros.BackgroundColor": {
"type": "string",
"title": "Background Color",
"default": "#000000",
"description": "Background color of the URDF preview panel."
},
"ros.GridMainColor": {
"type": "string",
"title": "Grid Main Color",
"default": "#00FF00",
"description": "Color of the main grid in the URDF preview panel."
},
"ros.GridMinorColor": {
"type": "string",
"title": "Grid Minor Line Color",
"default": "#001100",
"description": "Color of the line grid in the URDF preview panel."
},
"ros.GridMinorOpacity": {
"type": "number",
"default": 0.5,
"title": "Minor Grid Line Opacity",
"description": "Minor grid line opacity between 0 and 1 in the URDF preview panel."
},
"ros.CameraDistanceToRobot": {
"type": "number",
"title": "Camera Distance to Robot",
"default": 1,
"description": "Distance in meters from the camera to the robot in the URDF preview panel."
}
}
},
Expand Down Expand Up @@ -426,7 +456,7 @@
"test-compile": "npm run webpack"
},
"dependencies": {
"@polyhobbyist/babylon_ros": "^0.0.3",
"@polyhobbyist/babylon_ros": "^0.0.4",
"@polyhobbyist/babylon-collada-loader": "^0.0.3",
"@vscode/debugadapter": "^1.59.0",
"@vscode/extension-telemetry": "^0.6.2",
Expand Down
Loading