Commit df77fe7
Adds collision, inertia, and visual geometry toggles to Newton viewer (#5161)
# Description
Add visualization toggles for collision meshes, inertia boxes, and
visual geometries to the Newton viewer.
- Add `show_collision` config option and UI checkbox to visualize
collision meshes at runtime
- Add `show_inertia_boxes` config option and UI checkbox to visualize
body inertia boxes at runtime
- Add `show_visual` config option and UI checkbox to toggle visual
geometry rendering at runtime
All options wire through `NewtonVisualizerCfg` to the underlying Newton
`ViewerGL` attributes.
## Type of change
- New feature (non-breaking change which adds functionality)
## Screenshots
Please attach before and after screenshots of the change if applicable.
## Checklist
- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
---------
Signed-off-by: vidurv-nvidia <vidurv@nvidia.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: isaaclab-review-bot[bot] <270793704+isaaclab-review-bot[bot]@users.noreply.github.com>1 parent 78e765b commit df77fe7
File tree
2 files changed
+14
-0
lines changed- source/isaaclab_visualizers/isaaclab_visualizers/newton
2 files changed
+14
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| |||
316 | 322 | | |
317 | 323 | | |
318 | 324 | | |
| 325 | + | |
319 | 326 | | |
| 327 | + | |
320 | 328 | | |
321 | 329 | | |
322 | 330 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments