Skip to content

stack-of-tasks/pinocchio-gepetto-viewer

Repository files navigation

pinocchio-gepetto-viewer

C++ client to gepetto-viewer for Pinocchio.

It depends on:

  • pinocchio
  • gepetto-viewer-corba

Compilation

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install_prefix ..
make install

Usage

C++ viewer

See tests/ur5.cc for an up-to-date example.

#include <pinocchio/gepetto/viewer.hpp>

pinocchio::gepetto::Viewer viewer (model,
 &visualModel, // or NULL
 &collisionModel // or NULL
);
viewer.initViewer("pinocchio"); // window name
viewer.loadViewerModel("ur5"); // scene name

viewer.display(pin::neutral(model));

gepetto-viewer plugin

You can launch the example with

gepetto-gui --load-plugin pinocchio-plugin.so --run-pyscript tests/pinocchio-plugin.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published