Visual Servoing Platform
version 3.4.0
|
We assume in this tutorial that you have successfully cross-compiled ViSP following Tutorial: Cross-compilation for NAOqi OS from Ubuntu host. The aim of this tutorial is to explain how to create an application that uses ViSP cross-build for NAOqi OS as third-party and how to run this application on Nao, Romeo or Pepper robots.
To illustrate this tutorial, we will consider all the examples that are provided in the tutorial dedicated to images (ie. the one located in visp/tutorial/image
folder). If you are not familiar with ViSP read first Tutorial: How to create and build a project that uses ViSP and CMake on Unix or Windows.
This tutorial was tested on an Ubuntu 14.04 LTS host computer with:
ctc-linux32-atom-2.3.1.23
) on Romeo robotctc-linux64-atom-2.4.3.28
) on Pepper robotWe assume that as described in Tutorial: Cross-compilation for NAOqi OS from Ubuntu host, your workspace dedicated to visp contains the following folders:
Create a new folder to host the project you want to run on NAOqi OS
Get existing tutorial/image folder from ViSP source code
Create first a build folder associated to your Cross Toolchain like:
Configure your project setting VISP_DIR
and CMAKE_TOOLCHAIN_FILE
respectively to ViSP and Cross Toolchain location:
Cross-build your project:
First create an archive for the binaries:
Then copy the binaries to NAOqi OS:
Move the binaries to a more friend location like $HOME/tutorial
:
Run the binaries:
You are now ready to create your own project for Nao, Romeo or Pepper robots.
You are now ready to see the Tutorial: How to import a CMake project that uses ViSP in Eclipse IDE.