Gepetto / gepetto-viewer

Graphical Interface for Pinocchio and HPP.
BSD 2-Clause "Simplified" License
40 stars 30 forks source link

gepetto-gui does't exist #182

Closed Saeed-Mansouri closed 2 years ago

Saeed-Mansouri commented 2 years ago

My list of robotpkg packages looks like this but the command gepetto-gui doesn't exist on my system! How can I run gepetto-viewer?

ii  robotpkg-collada-dom                       2.4.0r1                                         amd64        C++ object representation of a COLLADA XML instance document
ii  robotpkg-eigen3                            3.3.0                                           amd64        a C++ template library for linear algebra
ii  robotpkg-example-robot-data                3.12.0                                          amd64        Robot URDFs for benchmarking and developed examples
ii  robotpkg-hpp-constraints+doc               4.12.0                                          amd64        Humanoid Path Planner (Define non-linear constraints on robot configurations)
ii  robotpkg-hpp-core                          4.12.0r1                                        amd64        Humanoid Path Planner (Basic classes for general path planning)
ii  robotpkg-hpp-environments+doc              4.12.0                                          amd64        Humanoid Path Planner (Environments and robot descriptions for HPP)
ii  robotpkg-hpp-fcl+doc                       1.7.8                                           amd64        Humanoid Path Planner (collision detection and distance computations)
ii  robotpkg-hpp-manipulation                  4.12.0r1                                        amd64        Humanoid Path Planner (Manipulation problem definition and resolution)
ii  robotpkg-hpp-manipulation-urdf+doc         4.12.0r1                                        amd64        Humanoid Path Planner (URDF/SRDF parser for the package hpp-manipulation)
ii  robotpkg-hpp-pinocchio                     4.12.0                                          amd64        Humanoid Path Planner (Wrapping of the kinematic/dynamic chain Pinocchio for HPP.)
ii  robotpkg-hpp-statistics+doc                4.12.0                                          amd64        Humanoid Path Planner (Tools to make statistics)
ii  robotpkg-hpp-template-corba+doc            4.12.0                                          amd64        Humanoid Path Planner (Template CORBA servers for HPP)
ii  robotpkg-hpp-util+doc                      4.12.0                                          amd64        Humanoid Path Planner (utility tools)
ii  robotpkg-libccd                            2.0                                             amd64        collision detection
ii  robotpkg-octomap                           1.9.6                                           amd64        An Efficient Probabilistic 3D Mapping Framework Based on Octrees
ii  robotpkg-omniorb                           4.2.4                                           amd64        ORB that implements the 2.6 specification of the CORBA
ii  robotpkg-openscenegraph                    3.6.5r3                                         amd64        open source high performance 3D graphics toolkit
ii  robotpkg-pinocchio                         2.6.4                                           amd64        Efficient rigid body dynamics
ii  robotpkg-py36-crocoddyl                    1.8.1                                           amd64        Optimal control library for robot under contact sequence
ii  robotpkg-py36-eigenpy                      2.6.9                                           amd64        Eigen bindings to python
ii  robotpkg-py36-example-robot-data           3.12.0                                          amd64        Robot URDFs for benchmarking and developed examples
ii  robotpkg-py36-hpp-corbaserver              4.12.0r1                                        amd64        Humanoid Path Planner (Corba server for Humanoid Path Planner)
ii  robotpkg-py36-hpp-fcl                      1.7.8                                           amd64        Humanoid Path Planner (collision detection and distance computations (python bindingss))
ii  robotpkg-py36-hpp-manipulation-corba       4.12.0r1                                        amd64        Humanoid Path Planner (CORBA interface for hpp-manipulation)
ii  robotpkg-py36-omniorbpy                    4.2.4                                           amd64        Robust high-performance CORBA ORB for Python
ii  robotpkg-py36-pinocchio                    2.6.4                                           amd64        Efficient rigid body dynamics (python bindings)
ii  robotpkg-py36-qt5-gepetto-viewer+doc       4.12.1                                          amd64        Humanoid Path Planner (Simple viewer based on OpenSceneGraph)
ii  robotpkg-py36-qt5-gepetto-viewer-corba+doc 5.6.0                                           amd64        Humanoid Path Planner (Corba server for gepetto-viewer)
ii  robotpkg-py36-qt5-hpp-gepetto-viewer+doc   4.12.0                                          amd64        Humanoid Path Planner (Bridge between hpp-corbaserver and gepetto-viewer-corba)
ii  robotpkg-py36-qt5-hpp-gui+doc              4.12.0                                          amd64        Humanoid Path Planner (Graphical interface for HPP)
ii  robotpkg-py36-qt5-hpp-plot+doc             4.12.0                                          amd64        Humanoid Path Planner (Plotting tools for hpp)
ii  robotpkg-qpoases+doc                       3.2.1r1                                         amd64        C++ implementation of the online active set strategy
ii  robotpkg-qt5-osgqt                         3.5.7r3                                         amd64        open source high performance 3D graphics toolkit
ii  robotpkg-qt5-qgv                           1.3.2                                           amd64        Interactive Qt graphViz display
ii  robotpkg-urdfdom                           1.0.3                                           amd64        The URDF (U-Robot Description Format) library
ii  robotpkg-urdfdom-headers                   1.0.4                                           amd64        The URDF (U-Robot Description Format) headers
nim65s commented 2 years ago

Hi @Saeed-Mansouri, Robotpkg install everything in its own prefix to ensure there is no issue with anything else you already have on your system. This prefix is /opt/openrobots.

The binary you are looking for is therefore in /opt/openrobots/bin/gepetto-gui. You can either run this full command, or update your environment to automatically look there with export PATH=/opt/openrobots/bin:$PATH.

PS: You'll probably have similar issues that will be fixable in a similar way for the dynamic linker ($LD_LIBRARY_PATH), pkg-config ($PKG_CONFIG_PATH), CMake ($CMAKE_PREFIX_PATH) and python ($PYTHONPATH).