Cpp2

From RobotinoWiki
Revision as of 16:44, 10 February 2012 by Verbeek (talk | contribs)

Introduction

Robotino cpp icon 64.png The second version of the application programming interface (API2) for Robotino(r) from Festo Didactic permits full access to Robotino's sensors and actors. Communication between the control program and Robotino is handled via TCP and UDP and is therefor fully network transparent. It does not matter whether the control program runs direcly on Robotino or on a remote system.

API2 requires CF card 3.x. The Robotino Simulator currently does not support API2.

Package links

Code API

Source code

API2 binary package

Using API2 with Visual Studio 2010 and cmake

  • Install Visual Studio.
  • Install cmake.
  • If you want to build the examples with grafical user interface also install Qt4.
  • Install the robotino_api2-i386 (to build 32bit applications) or robotino_api2-amd64 (to build 64bit applications) binary package.
Copy examples to user directory

In order to be able to modify the C++ examples shipping with the robotino_api2 package copy the folder holding the c++ examples from the installation directory to your user directory. This is a must for users of Windows Vista or later.

C:\Program Files\REC GmbH\robotino\api2\examples\c++ -> C:\Users\yourprofile\Documents

Now use cmake (cmake-gui) to generate a Visual Studio project from the CMakeLists.txt in each example folder.