First install the dependencies:
- Install CMake 3.12+
- Install YCM 0.11+
- Install YARP 3.5+
- Install OpenRAVE 0.9+
- Install Boost (implicitly required by OpenRAVE)
- Compiled components: Boost.Thread
- Header-only components: Boost.Bind, Boost.SmartPtr
- ../libraries/YarpPlugins/YarpOpenraveAnalogSensors
- ../libraries/YarpPlugins/YarpOpenraveRobotManager
Our software integrates the previous dependencies. Note that you will be prompted for your password upon using sudo
a couple of times:
cd # go home
mkdir -p repos; cd repos # create $HOME/repos if it does not exist; then, enter it
git clone https://github.com/roboticslab-uc3m/openrave-yarp-plugins.git # Download openrave-yarp-plugins software from the repository
cd openrave-yarp-plugins; mkdir build; cd build; cmake .. # Configure the openrave-yarp-plugins software
make -j$(nproc) # Compile
sudo make install # Install :-)
sudo ldconfig # Just in case...
cd # go home
For CMake find_package(ROBOTICSLAB_OPENRAVE_YARP_PLUGINS REQUIRED)
, you may also be interested in adding the following to your ~/.bashrc
or ~/.profile
:
export ROBOTICSLAB_OPENRAVE_YARP_PLUGINS_DIR=$HOME/repos/openrave-yarp-plugins/build # Points to where OPENRAVE_YARP_PLUGINSConfig.cmake is generated upon running CMake
For additional options use ccmake
instead of cmake
.