Read-only mirror of https://github.com/ethz-asl/cmvs_pmvs_catkin — ETHZ ASL. Issues & pull requests at the source.
  • C++ 55.6%
  • C 41.5%
  • CMake 2.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-08-29 22:03:17 +02:00
cmvs_catkin fixed overloading 2015-11-18 17:11:48 +01:00
pmvs_catkin adapt main exectuables 2017-08-29 21:47:01 +02:00
tinycthread_catkin cleanup 2015-02-26 16:39:23 +01:00
.gitignore Initial commit 2015-02-26 13:54:05 +01:00
LICENSE Initial commit 2015-02-26 13:54:05 +01:00
README.md Update README.md 2017-08-29 21:53:24 +02:00

Catkinized CMVS/PMVS2

This is a catkinized version of CMVS and PMVS2, you will need to install ROS, catkin and create a catkin workspace. If you want to embed these packages into an existing workspace, make sure the dependencies listed below are available.

Follow these instructions: Ubuntu 14.04 and ROS Indigo

#Install ROS
sudo add-apt-repository "deb http://packages.ros.org/ros/ubuntu trusty main"
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
sudo apt-get update

sudo apt-get install ros-indigo-desktop-full liblapack-dev libblas-dev libboost-all-dev python-setuptools git g++ cppcheck default-jre libgtest-dev liblog4cplus-dev cimg-dev python-wstool python-catkin-tools 

# Update ROS environment
sudo rosdep init
rosdep update
echo ". /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc

# Create a catkin workspace
export CATKIN_WS=~/catkin_ws
mkdir -p $CATKIN_WS/src
cd $CATKIN_WS
catkin init
catkin config --merge-devel # Necessary for catkin_tools >= 0.4.
catkin config --extend /opt/ros/indigo
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
cd src

# Checkout main repository
git clone git@github.com:ethz-asl/cmvs_pmvs_catkin

# Checkout catkin dependencies
git clone git@github.com:ethz-asl/eigen_catkin.git
git clone git@github.com:ethz-asl/nlopt.git
git clone git@github.com:catkin/catkin_simple.git

# Build packages
catkin build cmvs_catkin pmvs_catkin

Run Examples:

The examples from the original version work as well with some minor adaptations:

  • Source the catkin workspace to be able to access the executables: source $CATKIN_WS/devel/setup.bash
  • Use rosrun to execute the programs:
    • rosrun cmvs_catkin cmvs
    • rosrun pmvs_catkin genOption
    • rosrun pmvs_catkin pmvs2
  • The instructions to run the original datasets are still valid for the most part:
    # KERMIT DATASET
    cd kermit-after-bundler
    rosrun cmvs_catkin cmvs pmvs/
    rosrun pmvs_catkin genOption pmvs/
    sh pmvs/pmvs.sh
    
    # HALL DATASET
    cd hall-after-bundler
    rosrun cmvs_catkin cmvs pmvs/ 20
    rosrun pmvs_catkin genOption pmvs/
    sh pmvs/pmvs.sh
    
    # GENERIC
    rosrun cmvs_catkin cmvs $PMVS_FOLDER 20
    rosrun pmvs_catkin genOption $PMVS_FOLDER
    sh pmvs/pmvs.sh
    

Dependencies:

Autors: