Git Product home page Git Product logo

sot-gepetto-viewer's Introduction

sot-gepetto-viewer

Viewing tools for Stack of Tasks library.

This document will show the steps to install sot-gepetto-viewer and configure gepetto-gui.

Important : This plugin will only work if an instance of gazebo can work on your computer.

Before doing anything, you will need to install several packages that are needed for the installation process, you will need to install the following packages:

  • sudo apt install robotpkg-qt4-qgv
  • sudo apt install robotpkg-py27-qt4-gepetto-pythonqt (make sure your version of python is the 2.7)
  • sudo apt-get install libqtwebkit4
  • sudo apt install cmake-curses-gui (will allow you to use the ccmake command)
  • sudo apt-get install libomniorb4-dev
  • sudo apt-get install libopenscenegraph-dev
  • sudo apt-get install omniidl-python

Now you will need to get 3 git repository on your computer, you will need to install them as follow. You will need to install gepetto-viewer, gepetto-viewer-corba and sot-gepetto-viewer.

Installing gepetto-viewer:

  1. clone the repository on your computer : git clone --recursive https://github.com/Gepetto/gepetto-viewer (--recursive will allow you to use the cmake command)
  2. create of folder name _build in the folder gepetto-viewer
  3. open a terminal in the new folder
  4. in the terminal, do "cmake .."
  5. do "ccmake .."
  6. make sure to change the variable BUILD_PY_QCUSTOM_PLOT, BUILD_PY_QGV and GEPETTO_GUI_HAS_PYTHONQT to ON
  7. change the CMAKE_INSTALL_PREFIX path to a new folder Install (this path will be important later)
  8. do "make install"

If no problem was encountered, gepetto-viewer is now installed.

Installing gepetto-viewer-corba :

  1. open the file ~/.bashrc and add : my_install_dir= "your CMAKE_INSTALL_PREFIX path for gpetto-viewer" export PATH=$my_install_dir/bin:$PATH export LD_LIBRARY_PATH=$my_install_dir/lib:$LD_LIBRARY_PATH export PYTHONPATH=$my_install_dir/lib/python2.7/site-packages:$PYTHONPATH export PKG_CONFIG_PATH=$my_install_dir/lib/pkgconfig/:$PKG_CONFIG_PATH export ROS_PACKAGE_PATH=$my_install_dir/share:$ROS_PACKAGE_PATH export CMAKE_PREFIX_PATH=$my_install_dir:$CMAKE_PREFIX_PATH

You will need to add these lines because corba doesn't automaticly detect gepetto-viewer. 2. clone the repository on your computer : git clone --recursive https://github.com/Gepetto/gepetto-viewer-corba 3. create of folder name _build in the folder gepetto-viewer 4. open a terminal in the new folder

  1. in the terminal, do "cmake .."
  2. do "ccmake .."
  3. change the CMAKE_INSTALL_PREFIX path to the Install folder
  4. make install

gepetto-viewer-corba is now installed.

Important! Make sure the global variable CMAKE_PREFIX_PATH contain the path to pythonqt and qgv, both normal path should be /opt/openrobots

Installing sot-gepetto-viewer:

  1. clone the repository on your computer : git clone --recursive https://github.com/AlexKuen/sot-gepetto-viewer
  2. create of folder name _build in the folder gepetto-viewer
  3. open a terminal in the new folder
  4. in the terminal, do "cmake .."
  5. do "ccmake .."
  6. change the CMAKE_INSTALL_PREFIX path to the Install folder
  7. do "make install"

sot-gepetto-viewer is now installed, the plugin can now be configured.

Confiurate gepetto-gui

  1. Open a terminal and do "gepetto-gui" Gepetto-gui will now open.
  2. click on "Plugins", normally you will only see OmniORB Server detected and loaded.
  3. Click on "Find all lugins", PyPCustomPlot and PyQGV will be detected, load them if they are not already loaded (right click then click load)
  4. click on save

gepetto-gui is now configure.

If you want to launch the new plugin, you will need to write "gepetto-gui --load-pyplugin sot_gepetto_viewer.sot_plugin" in the terminal

sot-gepetto-viewer's People

Contributors

jmirabel avatar alexkuen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.