These instructions are meant for the Orocos Toolchain version 2.4.0 or later.
mkdir ~/training
export ROS_PACKAGE_PATH=~/training:$ROS_PACKAGE_PATH
sudo apt-get install python-setuptools sudo easy_install -U rosinstall
rosinstall ~/training orocos_exercises.rosinstall /opt/ros/electric
source ~/training/setup.bash
rosdep install youbot_common rosdep install rFSM
rosmake youbot_common rtt_dot_service rttlua_completion
useOrocos(){ source $HOME/training/setup.bash; source $HOME/training/setup.sh; source /opt/ros/electric/stacks/orocos_toolchain/env.sh; setLUA; } setLUA(){ if [ "x$LUA_PATH" == "x" ]; then LUA_PATH=";;"; fi if [ "x$LUA_CPATH" == "x" ]; then LUA_CPATH=";;"; fi export LUA_PATH="$LUA_PATH;`rospack find rFSM`/?.lua" export LUA_PATH="$LUA_PATH;`rospack find ocl`/lua/modules/?.lua" export LUA_PATH="$LUA_PATH;`rospack find rttlua_completion`/?.lua" export LUA_CPATH="$LUA_CPATH;`rospack find rttlua_completion`/?.so" export PATH="$PATH:`rosstack find orocos_toolchain`/install/bin" } useOrocos
roscd hello-1-task-execution make rosrun ocl deployer-gnulinux -s start.ops