Gazebo system plugin to sync the simulation time between RTT and Gazebo. Based on https://github.com/ahoarau/rtt_gazebo/tree/master/rtt_gazebo_system
mkdir build
cd build
cmake -Dgazebo_DIR=$insert-prefix-here/lib/cmake/gazebo -DOROCOS-RTT_DIR=$insert-prefix-here/lib/cmake/orocos-rtt -Dignition-math2_DIR=$insert-prefix-here/lib/cmake/ignition-math2 -DSDFormat_DIR=$insert-prefix-here/lib/cmake/sdformat ..
make -j 4
- Exclude Eigen folder
git clone --recursive https://github.com/orocos-toolchain/orocos_toolchain.git
- set
COR_ORO_PREFIX
to the install prefix export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$COR_ORO_PREFIX
- build package by package using:
cmake -DCMAKE_INSTALL_PREFIX=${COR_ORO_PREFIX} -DCMAKE_PREFIX_PATH=${COR_ORO_PREFIX} ..
except forRTT
andOCL
- build
RTT
withcmake -DCMAKE_INSTALL_PREFIX=${COR_ORO_PREFIX} -DCMAKE_PREFIX_PATH=${COR_ORO_PREFIX} -DENABLE_CORBA=ON -DOROCOS_TARGET=gnulinux -DCORBA_IMPLEMENTATION=OMNIORB ..
- build
OCL
withcmake -DCMAKE_INSTALL_PREFIX=${COR_ORO_PREFIX} -DCMAKE_PREFIX_PATH=${COR_ORO_PREFIX} -DBUILD_TASKBROWSER=ON ..
// include RTT component in search path
RTT_COMPONENT_PATH=$RTT_COMPONENT_PATH:${COR_ORO_PREFIX}/lib/orocos:${COR_ORO_PREFIX}/lib/orocos/gnulinux/plugins:${COR_ORO_PREFIX}/lib/orocos/gnulinux/ocl:${COR_ORO_PREFIX}/lib/orocos/gnulinux/ocl/plugins