Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[indigo][industrial_extrinsic_cal] Add missing dependency #112

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ notifications:
on_failure: never

env:
global:
- BEFORE_SCRIPT=.travis_ceres.sh
matrix:
- USE_DEB=true
ROS_DISTRO="indigo"
Expand All @@ -21,10 +23,12 @@ env:
ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
NOT_TEST_BUILD=true
NOT_TEST_INSTALL=true

- ROS_DISTRO="indigo" PRERELEASE=true
matrix:
allow_failures:
- env: ROS_DISTRO="indigo" PRERELEASE=true
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config

script:
- source .travis_ceres.sh
- source .ci_config/travis.sh
- .ci_config/travis.sh
5 changes: 1 addition & 4 deletions .travis_ceres.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/sh
#http://ceres-solver.org/

# Dependency for Ceres
sudo apt-get -qq install -y libeigen3-dev

# Save current directory
dir=`pwd`
cd ..

# glfags
# gflags
wget https://github.com/gflags/gflags/archive/v2.1.2.zip
unzip v2.1.2.zip > /dev/null
rm v2.1.2.zip
Expand Down
5 changes: 4 additions & 1 deletion industrial_extrinsic_cal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ find_package(Boost REQUIRED)
find_package(Ceres REQUIRED)
message("-- Found Ceres version ${CERES_VERSION}: ${CERES_INCLUDE_DIRS}")

find_package(Eigen3 REQUIRED)

find_package(OpenCV 2 REQUIRED)
message("-- Found OpenCV version ${OpenCV_VERSION}: ${OpenCV_INCLUDE_DIRS}")

Expand Down Expand Up @@ -108,6 +110,7 @@ catkin_package(
DEPENDS
Boost
CERES
EIGEN3
)


Expand All @@ -116,11 +119,11 @@ include_directories(
include
${catkin_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
${yaml_cpp_INCLUDE_DIR}
)


# target: main library
add_library(
industrial_extrinsic_cal
Expand Down
4 changes: 4 additions & 0 deletions industrial_extrinsic_cal/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<build_depend>actionlib_msgs</build_depend>
<build_depend>boost</build_depend>
<build_depend>cv_bridge</build_depend>
<build_depend>eigen</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>image_transport</build_depend>
<build_depend>message_generation</build_depend>
Expand All @@ -31,13 +32,15 @@
<build_depend>sensor_msgs</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>std_srvs</build_depend>
<build_depend>suitesparse</build_depend>
<build_depend>tf</build_depend>
<build_depend>tf_conversions</build_depend>
<build_depend>yaml-cpp</build_depend>

<run_depend>actionlib</run_depend>
<run_depend>actionlib_msgs</run_depend>
<run_depend>cv_bridge</run_depend>
<run_depend>eigen</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>image_transport</run_depend>
<run_depend>image_view</run_depend>
Expand All @@ -56,6 +59,7 @@
<run_depend>sensor_msgs</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>std_srvs</run_depend>
<run_depend>suitesparse</run_depend>
<run_depend>tf</run_depend>
<run_depend>tf_conversions</run_depend>
<run_depend>yaml-cpp</run_depend>
Expand Down