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

how to install depth image laser scan on fuerte

asked 2013-04-20 03:03:29 -0500

updated 2013-04-29 21:52:49 -0500

hi guys, i'm trying to install depthimage_to_laserscan stack by writing

git clone "git link that i cannot post"

cd depthimage_to_laserscan

rosmake

[ rosmake ] rosmake starting...
[ rosmake ] No package specified. Building ['depthimage_to_laserscan']
[ rosmake ] Packages requested are: ['depthimage_to_laserscan']
[ rosmake ] Logging to directory /home/d4n/.ros/rosmake/rosmake_output-20130420-144925
[ rosmake ] Expanded args ['depthimage_to_laserscan'] to: ['depthimage_to_laserscan']
[rosmake-0] Starting >>> depthimage_to_laserscan [ make ]
[rosmake-0] Finished <<< depthimage_to_laserscan ROS_NOBUILD in package depthimage_to_laserscan No Makefile in package depthimage_to_laserscan [ rosmake ] Results:
[ rosmake ] Built 1 packages with 0 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/d4n/.ros/rosmake/rosmake_output-20130420-144925

but it says

then trying to "rosrun"

rosrun depthimage_to_laserscan depthimage_to_laserscan image:=/camera/dept/image_raw

says:

[rospack] Error: stack/package depthimage_to_laserscan not found

I don't know what I'm doing wrong

I know that probably could be a simple things that I forgot to do.

thank a lot for any help

EDIT 1: thanks everybody

i tried as suggested

cd ~/my_ros_directory_thats_in_ROS_PACKAGE_PATH

git clone -b fuerte-devel https://github.com/ros-perception/depthimage_to_laserscan.git

rospack profile

rosmake depthimage_to_laserscan

it results

Failed to invoke /opt/ros/fuerte/bin/rospack deps-manifests depthimage_to_laserscan [rospack] Error: package/stack depthimage_to_laserscan depends on non-existent >package sensor_msgs

then following this http://answers.ros.org/question/12715/how-do-i-install-sensor_msgs-package/

the shell tell me

ros-fuerte-common-msgs is already the newest version.

so, I will migrate to groovy or there is still something to try?

EDIT 2: after a lot of trying I move to groovy and the stack work pretty well.

Thanks for helping me

edit retag flag offensive close merge delete

Comments

Did you do this all in a directory which is in your ROS package path? (echo $ROS_PACKAGE_PATH to see what the path is.)

Jon Stephan gravatar image Jon Stephan  ( 2013-04-20 08:05:20 -0500 )edit

yep, I exported the path by typing: export ROS_PACKAGE_PATH=/home/user/ros/ros-pkg:/home/d4n/depthimage_to_laserscan

danielq gravatar image danielq  ( 2013-04-20 23:16:38 -0500 )edit
1

Oh, and don't forget to always export ROS_PACKAGE_PATH=/home/user/ros/ros-pkg:/home/d4n/depthimage_to_laserscan:$ROS_PACKAGE_PATH since you want to append the variable, not replace it.

Chad Rockey gravatar image Chad Rockey  ( 2013-04-21 21:34:27 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2013-04-21 08:08:43 -0500

Chad Rockey gravatar image

updated 2013-04-21 10:00:54 -0500

This is a catkin package, not rosmake.

http://www.ros.org/wiki/catkin/Tutorials

Also, likely what is easier:

sudo apt-get install ros-groovy-depthimage-to-laserscan

For fuerte (and rosmake), besides my recommendation to update to Groovy, you could run pointcloud_to_laserscan from ros-groovy-turtlebot-apps OR do the following:

cd ~/my_ros_directory_thats_in_ROS_PACKAGE_PATH
git clone -b fuerte-devel https://github.com/ros-perception/depthimage_to_laserscan.git
rospack profile
rosmake depthimage_to_laserscan
edit flag offensive delete link more

Comments

I tried pointcloud_to_laserscan without great results, so I decide to try depthimage_to_laserscan

danielq gravatar image danielq  ( 2013-04-23 01:03:25 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-04-20 03:03:29 -0500

Seen: 1,970 times

Last updated: Apr 29 '13