Skip to content

A Flexible Framework for Robot visualization and programming in Python

License

Notifications You must be signed in to change notification settings

iory/scikit-robot

Repository files navigation

scikit-robot: A Flexible Framework for Robot visualization and programming in Python

PyPI Build Status

Scikit-Robot is a lightweight pure-Python library for robotic kinematics, motion planning, visualization and control.

Installation

You may need to install some dependencies by apt-get install:

sudo apt-get update
sudo apt-get install libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev

Then,

pip install scikit-robot

If you would like to use Pybullet Interface, open3d and fast-simplification for mesh 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:

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

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

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

Create Your Own Robot Model (URDF)

If you want to build your own robot from scratch, you can refer to the How to Create URDF from CAD Software documentation.

Create URDF from Solidworks

Features