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

How to use the package "kinect_2d_scanner"?

asked 2012-11-19 14:08:44 -0600

sven_007 gravatar image

Who can use the package "kinect_2d_scanner"?

After I compiled the package with "make",it shows as below:

Package mrpt-base was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-base.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-base' found Package mrpt-bayes was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-bayes.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-bayes' found Package mrpt-slam was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-slam.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-slam' found Package mrpt-detectors was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-detectors.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-detectors' found Package mrpt-graphs was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-graphs.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-graphs' found Package mrpt-graphslam was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-graphslam.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-graphslam' found Package mrpt-hmtslam was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-hmtslam.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-hmtslam' found Package mrpt-reactivenav was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-reactivenav.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-reactivenav' found Package mrpt-scanmatching was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-scanmatching.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-scanmatching' found Package mrpt-scanmatching was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-scanmatching.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-scanmatching' found Package mrpt-topography was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-topography.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-topography' found Package mrpt-vision was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-vision.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-vision' found Package mrpt-maps was not found in the pkg-config search path. Perhaps you should add the directory containing mrpt-maps.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-maps' found Package mrpt-hwdrivers was not found in the pkg-config search path. Perhaps you should add the directory containingmrpt-hwdrivers.pc' to the PKG_CONFIG_PATH environment variable No package 'mrpt-hwdrivers' found [rospack] warning: got non-zero exit status from executing backquote expression "ret="pkg-config mrpt-base mrpt-bayes mrpt-slam mrpt-detectors mrpt-graphs mrpt-graphslam mrpt-hmtslam mrpt-reactivenav mrpt-scanmatching mrpt-scanmatching mrpt-topography mrpt-vision mrpt-maps mrpt-hwdrivers --cflags" && echo $ret" in [/home/sven/ros_workspace/mrpt/trunk/mrpt_common/mrpt_libs/manifest.xml] [rospack] error in backquote expansion for kinect_2d_scanner

CMake Error at /opt/ros/electric/ros/core/rosbuild/public.cmake:129 (message):

Failed to invoke rospack to get compile flags for package 'kinect_2d_scanner'. Look above for errors from rospack itself. Aborting. Please fix the broken dependency!

Call Stack (most recent call first): /opt/ros ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-05-20 08:50:11 -0600

felixwatzlawik gravatar image

I didnt use that packagage but I assume u want to get a fake laserscan out of the kinect?

If I assume right you can use the node "depthimage_to_laserscan"

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

and then start the node with the param:

<launch>
    <include file="$(find openni_launch)/launch/openni.launch"/>

    <node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="convert">
        <remap from="image" to="camera/depth/image_raw"/>
    </node>
</launch>
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-19 14:08:44 -0600

Seen: 306 times

Last updated: May 20 '15