Difference between revisions of "API2 quickstart"

From RobotinoWiki
m (Install)
(Linux/Robotino)
 
Line 5: Line 5:
  
 
===Linux/Robotino===
 
===Linux/Robotino===
====Setup package repository====
+
For Linux users there are [[Debrepository|repositories]] available for all supported Ubuntu versions.
On i386 system
 
<pre>
 
sudo echo "deb http://doc.openrobotino.org/download/packages/i386 ./" >> /etc/apt/sources.list
 
</pre>
 
 
 
On amd64 systems
 
<pre>
 
sudo echo "deb http://doc.openrobotino.org/download/packages/amd64 ./" >> /etc/apt/sources.list
 
</pre>
 
 
 
====Install====
 
Make sure run the update command for re-indexing
 
<pre>
 
sudo apt-get update
 
</pre>
 
and then
 
<pre>
 
sudo apt-get install robotino-api2 robotino-examples
 
</pre>
 
  
 
== Building the Robotino API2 examples on Linux/Robotino ==
 
== Building the Robotino API2 examples on Linux/Robotino ==

Latest revision as of 15: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.