Skip to content

Commit 1d208ff

Browse files
authored
Merge pull request #404 from iory/docs
[docs] Add visualize-urdf command line tool
2 parents 4284a09 + 14f5343 commit 1d208ff

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,27 @@ If you would like to use `Pybullet Interface`, `open3d` and `fast-simplification
3333
pip install scikit-robot[all]
3434
```
3535

36+
## Command Line Tools
37+
38+
### Visualize URDF
39+
40+
To visualize a URDF model and inspect your robot's configuration, you can use the `visualize-urdf` command as follows:
41+
42+
```bash
43+
visualize-urdf ~/.skrobot/pr2_description/pr2.urdf
44+
```
45+
46+
If you experience performance issues with the default viewer, try pyrender for smoother visualization:
47+
48+
```bash
49+
visualize-urdf ~/.skrobot/pr2_description/pr2.urdf --viewer pyrender
50+
```
51+
52+
Running these commands should open a viewer displaying your robot’s 3D model. Below is a sample image of what you should expect.
53+
54+
![Viewer Example](docs/image/viewer.jpg)
55+
56+
3657
## Features
3758

3859
- [x] Loading robot model from URDF ([examples/robot_models.py](examples/robot_models.py))

docs/image/viewer.jpg

61.4 KB
Loading

0 commit comments

Comments
 (0)