Code Monkey home page Code Monkey logo

pepper-visual-servoing's Introduction

Initial setup

1) mkdir /path/to/qibuild-workspace/
2) cd /path/to/qibuild-workspace/; qibuild init
3) cp -R /path/to/remote-sdk /path/to/qibuild-workspace/remote-sdk
4) qitoolchain create mytoolchain-remote /path/to/qibuild-workspace/sdk/toolchain.xml
5) qibuild add-config mytoolchain-remote -t mytoolchain-remote
6) cd /path/to/qibuild-workspace/; git clone <pepper-visual-servoing>

Compilation

1) qibuild configure -c mytoolchain-remote 
2) qibuild make -c mytoolchain-remote

It's enough to type 'make TC=name-of-my-toolchain' inside the root directory. If your toolchain is called 'mytoolchain-remote', it's enough to just type 'make'.

Installation and usage

This project is supposed to work together with our whole-body controller for pepper (humoto-controller-pepper). Visual servoing control loops sends velocity commands to the robot (twist vectors). It requires humoto-controller-pepper to be compiled from branch 'jm-visual-servoing'.

It is assumed that one has ViSP (https://github.com/lagadic/visp.git) installed on their system.
After the build binaries are installed in the folder '/path/to/qibuild-workspace/pepper-visual-servoing/build-my-toolchain-name/sdk/bin'. Camera calibration files should be stored in visp xml format in the '/path/to/qibuild-workspace/pepper-visual-servoing/config' folder. It is convenient to calibrate your camera using visp tools.

The project has been developed under ubuntu 14.04 and compiled using aldebaran toolchain naoqi-sdk-2.4.3.28-linux64.

Known issues

Similar issues rooted in mixing ViSP with naoqi toolchain may arise as described in http://jokla.me/robotics/visp_naoqi/.

Possible workarounds:

  1. In case of conflicting libraries in /path/to/sdk/lib/, remove the problematic libraries from the toolchain (rm libz and libusb-1.0.so.0).

  2. Conflicts related to boost libs need ViSP to be rebuilt without OGRE, (cmake -DUSE_OGRE=OFF /path/to/visp).

Videos

  1. IBVS control of Pepper's head using ViSP with humoto and humoto-pepper-controller.

Alt text for your video

  1. IBVS control of Pepper's head using ViSP with humoto and humoto-pepper-controller - whole body.

Alt text for your video

pepper-visual-servoing's People

Contributors

janmichl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.