event-driven
|
We'll go through the recommended set-up of event-driven
for a first time user of the YARP
environment. The first step is to create a directory in which to install YARP
, event-driven
and the eventual modules you will write. For example:
Secondly, we want to set up some environment variables that will make the install go smoother. Use your favourite text editor to open ~/.bashrc
and add the following lines:
and don't forget to source ~/.bashrc
to apply the changes!
Next we want to get the required repositories. Change directory into one in which you want these projects, for example:
then,
:warning: We are going to build the repositories in the above order too! However, first you might need some extra dependencies for YARP
. One option is to go here and follow the Getting all dependencies instructions (either installing dependencies yourself or adding to the apt
path).
:warning: the versions of each software that you checkout are current as of the writing of this tutorial. If a newer stable version of YCM or YARP is available it is recommended to upgrade to that version. Use git ls-remote --tags origin
to see all versions available.
Now you have dependencies, let's install YCM
:
Then let's install YARP
:
Finally, let's install event-driven
:
Continue with the tutorials to test your installation, or:
icub-main
is used if you are using the iCub robot and want to enable some of the event-driven
modules that control the robot. To install icub-main
do: