-
Notifications
You must be signed in to change notification settings - Fork 187
Build REMODE
Matia Pizzoli edited this page Nov 27, 2015
·
8 revisions
Install dependencies. The following assumes you have an environment variable MY_WORKSPACE
pointing to your workspace.
Ubuntu:
sudo apt-get install libopencv-dev libeigen3-dev libboost-filesystem-dev
Install googletest 1.7. Several Ubuntu packages install googletest as a dependency. In order to avoid conflicts with different libray versions, build googletest in $MY_WORKSPACE
:
cd $MY_WORKSPACE
git clone https://github.com/google/googletest.git
cd googletest
git checkout release-1.7.0
mkdir build && cd build
cmake ..
make
cd ..
mkdir install
cp -r include install
cp build/*.a install
Clone the REMODE repository:
cd $MY_WORKSPACE
git clone https://github.com/uzh-rpg/rpg_open_remode.git
Build the library and the tests:
cd $MY_WORKSPACE/rpg_open_remode
mkdir build && cd build
cmake -DGTEST_ROOT=$MY_WORKSPACE/googletest/install -DBUILD_ROS_NODE=OFF ..
make
NOTE: the REMODE ROS node currently depends on a message type defined in SVO. Please refer to https://github.com/uzh-rpg/rpg_svo/wiki for instructions on how to build SVO.
Assuming that the environment variable MY_CATKIN_WORKSPACE
points to your Catkin workspace, clone the repository:
cd $MY_CATKIN_WORKSPACE/src
git clone https://github.com/uzh-rpg/rpg_open_remode.git
Build the library, the tests and the ROS node:
cd ..
source devel/setup.sh
catkin_make -DGTEST_ROOT=$MY_WORKSPACE/googletest/install