Running your first program
Short description
The hello_world_demo is an example application to control both, the KUKA youBot base and the youBot manipulator.
Prepare the system
Before executing the program, you have to
Preparing the program
You first need to checkout the source code of this program from SVN and then compile it.
We assume, that you have performed the previous step of installing the remastered ubuntu.
Open a terminal and follow these steps to checkout and compile:
$ cd applications/hello_world_demo
$ mkdir build
$ cd build
$ cmake ..
$ make
The binaries will be generated in the folder ~/applications/hello_world_demo/bin.
Running the program
To start the application use:
$ cd bin
$ sudo ./youBot_HelloWorldDemo
The program will start, moving the base and the arm. The youBot will move approx. 10cm forwards, then approx. 10cm backwards, then approx. 10cm to the left and approx. 10cm to the right. Afterwards it will "unfold" the arm and "fold" it again.
Previous Section : Installing remastered Ubuntu
Corrections, suggestions, and new documentation should be posted to the Forum.