ipa320 / softkinetic

This repository holds a ROS driver package for an interactive gesture camera (softkinetic).
23 stars 40 forks source link

Add serial number parameters #51

Closed knorth55 closed 8 years ago

knorth55 commented 8 years ago

For using multiple softkinetic devices on 1 computer, I added serial number parameters to identify devices. When use_serial is true, you can select device by serial number. Otherwise, it's is same as before.

knorth55 commented 8 years ago

@ipa-fmw ping

knorth55 commented 8 years ago

travis setting is wrong. travis cannot download Softkinetic SDK so that it fails in every PR. please fix or do not use travis.

knorth55 commented 8 years ago

@ipa-fmw Travis does not have DepthSenseSDK so that it cannot successfully build up. Installing DepthSenseSDK requires membership login, therefore I think it is not good idea to add travis for this repo.

Travis log is as below.

# create empty overlay workspace

mkdir -p $CATKIN_WS_SRC

SCRIPT IS RUNNING

source $CATKIN_WS_UNDERLAY/install/setup.bash > /dev/null 2>&1 # source install space of underlay

catkin_init_workspace $CATKIN_WS_SRC

Creating symlink "/home/travis/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/indigo/share/catkin/cmake/toplevel.cmake"

cd $CATKIN_WS

catkin_make -DCMAKE_BUILD_TYPE=Release # build empty overlay

Base path: /home/travis/catkin_ws

Source space: /home/travis/catkin_ws/src

Build space: /home/travis/catkin_ws/build

Devel space: /home/travis/catkin_ws/devel

Install space: /home/travis/catkin_ws/install

####

#### Running command: "cmake /home/travis/catkin_ws/src -DCMAKE_BUILD_TYPE=Release -DCATKIN_DEVEL_PREFIX=/home/travis/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/travis/catkin_ws/install -G Unix Makefiles" in "/home/travis/catkin_ws/build"

####

-- The C compiler identification is GNU 4.8.4

-- The CXX compiler identification is GNU 4.8.4

-- Check for working C compiler: /usr/bin/cc

-- Check for working C compiler: /usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Using CATKIN_DEVEL_PREFIX: /home/travis/catkin_ws/devel

-- Using CMAKE_PREFIX_PATH: /home/travis/catkin_ws_underlay/install;/opt/ros/indigo

-- This workspace overlays: /home/travis/catkin_ws_underlay/install;/opt/ros/indigo

-- Found PythonInterp: /usr/bin/python (found version "2.7.6") 

-- Using PYTHON_EXECUTABLE: /usr/bin/python

-- Using Debian Python package layout

-- Using empy: /usr/bin/empy

-- Using CATKIN_ENABLE_TESTING: ON

-- Call enable_testing()

-- Using CATKIN_TEST_RESULTS_DIR: /home/travis/catkin_ws/build/test_results

-- Looking for include file pthread.h

-- Looking for include file pthread.h - found

-- Looking for pthread_create

-- Looking for pthread_create - not found

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - found

-- Found Threads: TRUE  

-- Found gtest sources under '/usr/src/gtest': gtests will be built

-- Using Python nosetests: /usr/bin/nosetests-2.7

-- catkin 0.6.16

-- BUILD_SHARED_LIBS is on

-- Configuring done

-- Generating done

-- Build files have been written to: /home/travis/catkin_ws/build

####

#### Running command: "make -j1" in "/home/travis/catkin_ws/build"

####

# populate overlay

ln -s $TRAVIS_BUILD_DIR $CATKIN_WS_SRC

# install dependencies from overlay

rosdep install -q --from-paths $CATKIN_WS_SRC -i -y --rosdistro $CI_ROS_DISTRO > /dev/null #2>&1

Extracting templates from packages: 100%

Not building database; man-db/auto-update is not 'true'.

Not building database; man-db/auto-update is not 'true'.

Extracting templates from packages: 100%

Not building database; man-db/auto-update is not 'true'.

# build overlay

source $CATKIN_WS/devel/setup.bash > /dev/null 2>&1 # source devel space of overlay

catkin_make -DCMAKE_BUILD_TYPE=Release

Base path: /home/travis/catkin_ws

Source space: /home/travis/catkin_ws/src

Build space: /home/travis/catkin_ws/build

Devel space: /home/travis/catkin_ws/devel

Install space: /home/travis/catkin_ws/install

####

#### Running command: "cmake /home/travis/catkin_ws/src -DCMAKE_BUILD_TYPE=Release -DCATKIN_DEVEL_PREFIX=/home/travis/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/travis/catkin_ws/install -G Unix Makefiles" in "/home/travis/catkin_ws/build"

####

-- Using CATKIN_DEVEL_PREFIX: /home/travis/catkin_ws/devel

-- Using CMAKE_PREFIX_PATH: /home/travis/catkin_ws/devel;/home/travis/catkin_ws_underlay/install;/opt/ros/indigo

-- This workspace overlays: /home/travis/catkin_ws/devel;/home/travis/catkin_ws_underlay/install;/opt/ros/indigo

-- Using PYTHON_EXECUTABLE: /usr/bin/python

-- Using Debian Python package layout

-- Using empy: /usr/bin/empy

-- Using CATKIN_ENABLE_TESTING: ON

-- Call enable_testing()

-- Using CATKIN_TEST_RESULTS_DIR: /home/travis/catkin_ws/build/test_results

-- Found gtest sources under '/usr/src/gtest': gtests will be built

-- Using Python nosetests: /usr/bin/nosetests-2.7

-- catkin 0.6.16

-- BUILD_SHARED_LIBS is on

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- ~~  traversing 2 packages in topological order:

-- ~~  - softkinetic (metapackage)

-- ~~  - softkinetic_camera

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- +++ processing catkin metapackage: 'softkinetic'

-- ==> add_subdirectory(softkinetic/softkinetic)

-- +++ processing catkin package: 'softkinetic_camera'

-- ==> add_subdirectory(softkinetic/softkinetic_camera)

-- Using these message generators: gencpp;genlisp;genpy

-- Could NOT find DepthSenseSDK (missing:  DepthSenseSDK_LIBRARY DepthSenseSDK_INCLUDE_DIR) 

CMake Error at softkinetic/softkinetic_camera/CMakeLists.txt:20 (message):

  +++++++++ Could not locate the DepthSense SDK +++++++++

  Please install the SDK before trying to build the 'softkinetic_camera'

  package, see README.txt.

  Cannot continue, aborting.
floweisshardt commented 8 years ago

you're right. I see two options:

I'm prefering option 2 (disable travis compleetly).

knorth55 commented 8 years ago

I prefer option 2, too.

knorth55 commented 8 years ago

@ipa-fmw ping

mgruhler commented 8 years ago

disabled travis for softkinetic

knorth55 commented 8 years ago

it seems travis is still running

mgruhler commented 8 years ago

Removed now the service hook as well. Hopefully fine now...

ipa-flg commented 8 years ago

VR: ok

mgruhler commented 8 years ago

CR: ok