Difference between revisions of "API2 quickstart"

From RobotinoWiki
(Created page with '===API2 for Windows=== API2 binary package ===API2 for Linux=== Setup your '''/etc/apt/sources.list'''. On i386 system <pre> deb http://doc.openrobotino.…')
 
(Linux/Robotino)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===API2 for Windows===
+
To get started with the Robotino API2 quickly, you have the option of installing the binary package on Windows or the debian packages on Linux.
 +
==Installation==
 +
===Windows===
 
[[downloads#API2_Beta|API2 binary package]]
 
[[downloads#API2_Beta|API2 binary package]]
  
===API2 for Linux===
+
===Linux/Robotino===
Setup your '''/etc/apt/sources.list'''. On i386 system
+
For Linux users there are [[Debrepository|repositories]] available for all supported Ubuntu versions.
 +
 
 +
== Building the Robotino API2 examples on Linux/Robotino ==
 
<pre>
 
<pre>
deb http://doc.openrobotino.org/download/packages/i386 ./
+
mkdir -p build/circle
 +
cd build/circle
 +
ccmake /usr/local/robotino/examples/src/c++/circle/
 +
configure(c) 2x, generate(g)
 +
make
 
</pre>
 
</pre>
  
On amd64 systems
+
The circle example, for instance, can be run by specifying the IP Address of Robotino. If you are running the example on Robotino itself then the IP Address will be 127.0.0.1 as shown below:
<pre>
 
deb http://doc.openrobotino.org/download/packages/amd64 ./
 
</pre>
 
  
Install the packages
 
* robotino-api2
 
* robotino-examples
 
* libqt4-dev
 
 
<pre>
 
<pre>
apt-get install robotino-api2 robotino-examples libqt4-dev
+
target/example_circle 127.0.0.1
 
</pre>
 
</pre>
  
Pre build binaries are in ''/usr/local/robotino/examples/bin''
+
== Building the Robotino API2 from the sources ==
 
+
You may also optionally build the [[API2_source_build|Robotino API2 from its sources]].
Build the circle example see section below.
 

Latest revision as of 16:17, 15 June 2016

To get started with the Robotino API2 quickly, you have the option of installing the binary package on Windows or the debian packages on Linux.

Installation

Windows

API2 binary package

Linux/Robotino

For Linux users there are repositories available for all supported Ubuntu versions.

Building the Robotino API2 examples on Linux/Robotino

mkdir -p build/circle
cd build/circle
ccmake /usr/local/robotino/examples/src/c++/circle/
configure(c) 2x, generate(g)
make

The circle example, for instance, can be run by specifying the IP Address of Robotino. If you are running the example on Robotino itself then the IP Address will be 127.0.0.1 as shown below:

target/example_circle 127.0.0.1

Building the Robotino API2 from the sources

You may also optionally build the Robotino API2 from its sources.