Skip to content
Snippets Groups Projects
README.md 2.01 KiB
Newer Older
Joseph Mirabel's avatar
Joseph Mirabel committed
# Graphical Interface for Pinocchio and hpp
[![Building Status](https://travis-ci.org/gepetto/gepetto-viewer.svg?branch=master)](https://travis-ci.org/gepetto/gepetto-viewer)
Guilhem Saurel's avatar
Guilhem Saurel committed
[![Pipeline status](https://gitlab.laas.fr/gepetto/gepetto-viewer/badges/master/pipeline.svg)](https://gitlab.laas.fr/gepetto/gepetto-viewer/commits/master)
[![Coverage report](https://gitlab.laas.fr/gepetto/gepetto-viewer/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/gepetto/doc/gepetto/gepetto-viewer/master/coverage/)
Joseph Mirabel's avatar
Joseph Mirabel committed
## Setup

To compile this package, it is recommended to create a separate build
directory:
Joseph Mirabel's avatar
Joseph Mirabel committed
```sh
mkdir _build && cd _build
cmake [OPTIONS] ..
make install
```

Please note that CMake produces a `CMakeCache.txt` file which should
be deleted to reconfigure a package from scratch.

Joseph Mirabel's avatar
Joseph Mirabel committed
## Dependencies

The Graphical Interface software depends on several packages which
have to be available on your machine.

 - Libraries:
Joseph Mirabel's avatar
Joseph Mirabel committed
   - Qt 4 or 5
   - openscenegraph (version >= 3.2.0)
 - System tools:
   - CMake (>=2.6)
   - pkg-config
   - usual compilation tools (GCC/G++, make, etc.)

Joseph Mirabel's avatar
Joseph Mirabel committed
## Optional dependencies
Joseph Mirabel's avatar
Joseph Mirabel committed

Joseph Mirabel's avatar
Joseph Mirabel committed
- [PythonQt]: add a Python scripting interface to gepetto-viewer.
  The dependency can be made mandatory with CMake variable `GEPETTO_GUI_HAS_PYTHONQT`.
  When [PythonQt] is available:
  - [QGV]: for the bindings of QGV in the Python interface.
    The dependency can be made mandatory with CMake variable `BUILD_PY_QGV`.
  - [QCustomPlot]: for the bindings of QCustomPlot in the Python interface.
    The dependency can be made mandatory with CMake variable `BUILD_PY_QCUSTOM_PLOT`.
Joseph Mirabel's avatar
Joseph Mirabel committed

## Environment variables and plugins

When launching gepetto-gui the program tries to load the plugin omniorbserver.so. In order to specify the default path of the plugins,
the variable `GEPETTO_GUI_PLUGIN_DIRS` can be set using the following command:

```sh
export GEPETTO_GUI_PLUGIN_DIRS=${CMAKE_INSTALL_PREFIX}/lib
```

Joseph Mirabel's avatar
Joseph Mirabel committed
[PythonQt]: https://github.com/gepetto/pythonqt
[QGV]: https://github.com/gepetto/qgv
[QCustomPlot]: https://www.qcustomplot.com/