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

UBUNTU12.04 kinect_laser.launch can't open laser

asked 2013-07-23 04:08:26 -0600

jiemao0125 gravatar image

I have install openni_launch,openni_camera,openni_tracker on fuerte, roslaunch openni.launch success,i can rosrun image_view disparity_view image:=/camera/depth/disparity to see depth image; and also rosrun openni_tracker success; but when i roslaunch kinect_laser.launch following,can't open laser <launch> <include file="$(find openni_camera)/launch/openni_node.launch"/>

<node pkg="nodelet" type="nodelet" name="openni_manager" output="screen" respawn="true" args="manager"/>

<node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/CloudToScan openni_camera"> <remap from="cloud" to="cloud_throttled"/> </node>

<node pkg="nodelet" type="nodelet" name="pointcloud_throttle" args="load pointcloud_to_laserscan/CloudThrottle openni_camera"> <remap from="cloud_in" to="/camera/depth/points"/> <remap from="cloud_out" to="cloud_throttled"/> </node> </launch>

i don't know why?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-23 04:13:03 -0600

jiemao0125 gravatar image

updated 2013-07-23 04:16:06 -0600

<launch>

<include file="$(find openni_camera)/launch/openni_node.launch"/>

<node pkg="nodelet" type="nodelet" name="openni_manager" output="screen" respawn="true" args="manager"/>

<node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/CloudToScan openni_camera"> <remap from="cloud" to="cloud_throttled"/> </node>

<node pkg="nodelet" type="nodelet" name="pointcloud_throttle" args="load pointcloud_to_laserscan/CloudThrottle openni_camera"> <remap from="cloud_in" to="/camera/depth/points"/> <remap from="cloud_out" to="cloud_throttled"/>

</node>

</launch>

i have run this success on ubuntu10.04,i don't if 10.04 and 12.04 have some different in kinect with fuerte

edit flag offensive delete link more

Comments

now ,i have run it ok; just install pointcloud_to_laser. www.ros.org/wiki/pointcloud_to_laserscan

jiemao0125 gravatar image jiemao0125  ( 2013-07-23 16:33:43 -0600 )edit

Question Tools

Stats

Asked: 2013-07-23 04:08:26 -0600

Seen: 261 times

Last updated: Jul 23 '13