Ask Your Question
0

Building cob_people_perception with catkin_make

asked 2015-06-17 12:27:37 -0500

updated 2015-06-17 14:22:11 -0500

Hi y'all,

I am trying to do face detection and position measurement with the Kinect for Windows v2 sensor. I have successfully calibrated the kinect camera and I need to port cob_people_perception over to my kinect v2 but while running catkin_make, I stumbled upon the following error:

-- +++ processing catkin package: 'cob_people_tracking_filter'
-- ==> add_subdirectory(cob_people_perception/cob_people_tracking_filter)
-- Using these message generators: gencpp;genlisp;genpy
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by
  "cob_perception_msgs" with any of the following names:

    cob_perception_msgsConfig.cmake
    cob_perception_msgs-config.cmake

  Add the installation prefix of "cob_perception_msgs" to CMAKE_PREFIX_PATH
  or set "cob_perception_msgs_DIR" to a directory containing one of the above
  files.  If "cob_perception_msgs" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  cob_people_perception/cob_people_tracking_filter/CMakeLists.txt:20 (find_package)

I'm wondering what I am missing?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2015-06-18 15:25:05 -0500

Curiosa & curiosa.

I cloned cob_perception_common as in git clone https://github.com/ipa-rmb/cob_perception_common.git, cloned cob_common, cd'ed into the respective folders and did catkin_ws$ rosdep install -r --from-paths . for each folder cloned before doing catkin_make -DCMAKE_BUILD_TYPE="Release"and everything was honky-dory.

I wish there was a detailed README.md file that explicitly explained the installation process. Hope this helps someone someday.

Thanks!

edit flag offensive delete link more

Comments

Instead of duplicating these instruction in the README of every package the documentation is in the ROS wiki: http://wiki.ros.org/jade/Installation...

Dirk Thomas gravatar image Dirk Thomas  ( 2015-06-18 15:47:49 -0500 )edit

Also: @lakehanne: this really points to a missing dependency declaration in the package.xml of cob_people_perception or one of its dependencies. Have you reported the issue?

gvdhoorn gravatar image gvdhoorn  ( 2015-06-19 01:26:53 -0500 )edit

Yes, I have. Thank you! Just a question I have. I am using the code with Kinect for Windows v2 sensor. I tried roslaunch openni2_launch openni2.launch but I kept running into

process[camera_base_link3-13]: started with pid [12958]

lakehanne gravatar image lakehanne  ( 2015-06-19 11:40:08 -0500 )edit

Thanks, this made my day !!!!

James7 gravatar image James7  ( 2017-02-16 11:52:15 -0500 )edit
0

answered 2015-06-17 12:47:27 -0500

gvdhoorn gravatar image

I'm wondering what I am missiong?

Have you made sure to install all dependencies before trying to build cob_people_perception?

edit flag offensive delete link more

Comments

The documentation on the webpage mentioned no dependency. Can you list them out for me? Thank you!

lakehanne gravatar image lakehanne  ( 2015-06-17 13:05:08 -0500 )edit

You can easily do it yourself: rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src (after having sourced the correct setup.bash).

gvdhoorn gravatar image gvdhoorn  ( 2015-06-17 13:25:11 -0500 )edit

Also: which webpage? If I look at wiki/cob_people_perception, under Dependencies (to the right of the Package Summary), it lists a number of packages.

gvdhoorn gravatar image gvdhoorn  ( 2015-06-17 13:27:06 -0500 )edit

Thank you! I did rosdep install --from-paths . from $catkin_ws/src and ot seemed to skip past the earlier error spot. However, I have a new one here:

Could not find messages which '/home/catkin_ws/devel/share/cob_people_detection/msg/getDetectionsAction.msg' depends on.

lakehanne gravatar image lakehanne  ( 2015-06-17 14:06:49 -0500 )edit

That sounds like an issue with the CMakeLists.txt of cob_people_detection. You might want to log an issue on their issue tracker.

gvdhoorn gravatar image gvdhoorn  ( 2015-06-17 14:41:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-17 12:27:37 -0500

Seen: 444 times

Last updated: Jun 18 '15