Skip to content

Commit

Permalink
Merge pull request #404 from iory/docs
Browse files Browse the repository at this point in the history
[docs] Add visualize-urdf command line tool
  • Loading branch information
iory authored Oct 29, 2024
2 parents 4284a09 + 14f5343 commit 1d208ff
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,27 @@ If you would like to use `Pybullet Interface`, `open3d` and `fast-simplification
pip install scikit-robot[all]
```

## Command Line Tools

### Visualize URDF

To visualize a URDF model and inspect your robot's configuration, you can use the `visualize-urdf` command as follows:

```bash
visualize-urdf ~/.skrobot/pr2_description/pr2.urdf
```

If you experience performance issues with the default viewer, try pyrender for smoother visualization:

```bash
visualize-urdf ~/.skrobot/pr2_description/pr2.urdf --viewer pyrender
```

Running these commands should open a viewer displaying your robot’s 3D model. Below is a sample image of what you should expect.

![Viewer Example](docs/image/viewer.jpg)


## Features

- [x] Loading robot model from URDF ([examples/robot_models.py](examples/robot_models.py))
Expand Down
Binary file added docs/image/viewer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1d208ff

Please sign in to comment.