ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

pi_face_tracker installation problem

asked 2011-06-13 07:02:03 -0600

Giovanni Saponaro gravatar image

updated 2016-10-24 09:01:18 -0600

ngrennan gravatar image

Hi, I am running Ubuntu 10.04 and ROS Diamondback.

Following the instructions of Patrick Goebel's pi_face_tracker available here, I get stuck compiling the pi_vision stack. From what I understand, the dependency arbotix_python of pi_arbotix was not found. Below is the full error.

rosmake --rosdep-install pi_vision

[ rosmake ] Packages requested are: ['pi_vision']                               
[ rosmake ] Logging to directory/home/gsaponaro/.ros/rosmake/rosmake_output-20110613-194331
[ rosmake ] Expanded args ['pi_vision'] to:
['pi_kinect', 'pi_opencv', 'pi_arbotix', 'pi_ax12_controller', 'pi_description', 'pi_speech', 'pi_turtlebot', 'pi_slam', 'pi_arm_kinematics', 'pi_actions', 'ros2opencv', 'pi_face_tracker']
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .
Failed to find stack for package [arbotix_python]
Failed to load rosdep.yaml for package [arbotix_python]:Cannot locate installation of package arbotix_python: [rospack] couldn't find package [arbotix_python]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [ax12_controller_core]
Failed to load rosdep.yaml for package [ax12_controller_core]:Cannot locate installation of package ax12_controller_core: [rospack] couldn't find package [ax12_controller_core]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [joint_state_publisher]
Failed to load rosdep.yaml for package [joint_state_publisher]:Cannot locate installation of package joint_state_publisher: [rospack] couldn't find package [joint_state_publisher]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [pocketsphinx]
Failed to load rosdep.yaml for package [pocketsphinx]:Cannot locate installation of package pocketsphinx: [rospack] couldn't find package [pocketsphinx]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [sound_play]
Failed to load rosdep.yaml for package [sound_play]:Cannot locate installation of package sound_play: [rospack] couldn't find package [sound_play]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [kinematics_msgs]
Failed to load rosdep.yaml for package [kinematics_msgs]:Cannot locate installation of package kinematics_msgs: [rospack] couldn't find package [kinematics_msgs]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [arm_kinematics]
Failed to load rosdep.yaml for package [arm_kinematics]:Cannot locate installation of package arm_kinematics: [rospack] couldn't find package [arm_kinematics]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
rosdep executing this script:
{{{
set -o errexit
#No Packages to install
}}}
[ rosmake ] rosdep successfully installed all system dependencies               
[rosmake-0] Starting >>> rosbuild [ make ]                                      
[rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
 No Makefile in package rosbuild
[rosmake-1] Starting >>> cpp_common [ make ]                                    
[rosmake-1] Finished <<< cpp_common ROS_NOBUILD in package cpp_common           
[rosmake-2] Starting >>> roslib [ make ]                                        
[rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib                   
[rosmake-3] Starting >>> xmlrpcpp [ make ]                                      
[rosmake-1] Starting >>> roslang [ make ]                                       
[rosmake-0] Starting >>> roscpp_traits [ make ]                                 
[rosmake-2] Starting >>> rostime [ make ]                                       
[rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang
[rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp               
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime                 
[rosmake-0] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits     
[rosmake-1] Starting >>> std_msgs [ make ]                                      
[rosmake-3] Starting >>> roscpp_serialization [ make ]                          
[rosmake-2] Starting >>> rosconsole ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-06-13 10:45:19 -0600

Pi Robot gravatar image

updated 2011-06-13 10:46:06 -0600

Many thanks to Fergs for bringing this to my attention. I somehow completely messed up the pi-robot-ros-pkg repository this morning just before leaving the computer for several hours. I have restored the pi_face_tracker package. In fact, I restored it to version 0.2 which I was just about to release anyway. There are a copy of bug fixes and pair of new features as listed in the ChangeLog.text file and reproduced below. In the meantime, I will work on restoring the rest of the repository...

Release Notes for Version 0.2

  • Fixed bug in add_features() function that prevented adding of new features(!)

  • Fixed bug that caused occasional ROI to be defined outside boundaries of image frame.

  • Added new parameter "feature_type" which can be set to 0 for Good Features To Track (default) or 1 for SURF features.

  • Added new parameter "use_depth_for_tracking" which causes points to be pruned if their depth value is too far from the currently tracked cloud.

  • Changed mask shape from ellipse to rectangle for manually-selected regions; i.e. ellipse-shaped mask only used when parameter auto_face_tracking is set to True.

  • Changed default image display window size for ros2opencv from 320x240 to 640x480.

Release Notes for Version 0.1

  • Initial release.
edit flag offensive delete link more

Comments

Thank you, re-installing the pi_vision stack from scratch worked.
Giovanni Saponaro gravatar image Giovanni Saponaro  ( 2011-06-13 23:03:03 -0600 )edit
1

answered 2011-06-13 09:25:28 -0600

fergs gravatar image

updated 2011-06-13 09:37:22 -0600

You can checkout the arbotix stack via SVN: http://www.ros.org/wiki/arbotix, which contains arbotix_python (note you may also need to make arbotix_msgs within that stack).

However, it would actually appear that the problem is a recent commit. It looks like ros_by_example may have been put in the wrong place, and so a number of a packages other than vision related are now under pi_vision. You might try running 'make clean', deleting the ros_by_example directory, and then running your rosmake command.

One other possibility is to checkout the tagged release: svn co http://pi-robot-ros-pkg.googlecode.com/svn/tags/pi_vision/0.1.1 pi_vision

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-06-13 07:02:03 -0600

Seen: 915 times

Last updated: Jun 13 '11