Skip to content
humanoid-path-plannerPublic

About

Graphical utilities for constraint graphs in hpp-manipulation

Resources

Stars

0 stars

Watchers

5 watching

Forks

Repository files navigation

hpp-plot

Pipeline status Coverage report Code style: black pre-commit.ci status

Display of the constraint graph of manipulation problems defined with hpp-manipulation.

The graph is displayed by a web application served locally and connected to Python through a websocket. The context menu of states and transitions can generate configurations that are sent back to the Python script, for instance to display them in the viewer. A Qt window is also available when hpp-plot is built with USE_QT=ON.

Usage

With the viser viewer of hpp-gepetto-viewer, register the problem and the constraint graph, then click on "Show Graph Viewer" in the view controller:

v.setProblem(problem)
v.setGraph(graph)

The graph viewer can also be started from a Python script:

from pyhpp_plot import GraphViewerThread

def on_config(config, label):
    print(label, config)

GraphViewerThread(graph, problem, on_config).start()

The web application is then available at http://127.0.0.1:5177.

Installation

hpp-plot is installed with the other HPP packages, see the installation instructions. Building the web application requires npm (CMake option USE_JS, default ON).

About

Graphical utilities for constraint graphs in hpp-manipulation

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages