This package provides a graphical user interface to visualize robots. There are two compatible interfaces to interact with the interface.
To start the interface, use
To get some help on the command line options, use
To get command line completion for gepetto-gui
command, see package https://github.com/humanoid-path-planner/hpp-tools.
The IDL interface of the server is defined by gepetto::corbaserver::GraphicalInterface.
The interface can be customized using a few setting files. See gepetto::gui::Settings::readSettingFile for more details on configuration files.
To generate a new configuration use:
To use the configuration config:
There are two ways of extending the interface: Python and C++. Python plugins are easier to write than C++ plugins, but they do not offer full control of the interface (yet).
See the List of available plugins for some examples. Building and installing plugins is made easy with CMake macros.
Python plugins See the documentation of gepetto::gui::PythonWidget for instructions and examples of Python plugin usage.
The Python console is a good tool for debugging. The following variables are accessible:
mainWindow:
gepetto::gui::MainWindowosg:
the widget responsible for the first created window (class gepetto::gui::OSGWidget)