porblem with kinect.launch file in turtlebot bringup
hi,
I want to run gmapping on turtlebot so i started with the basic turtlebot tutorials when i bringup the turtlebot and run the kincet.launch file the data published by kinect on /camera/depth/points is wrong also when i try to see the depth image using image view it's all black but when i run openni.launch file form the openni_launch package the kinect is publishing correct point cloud, ss there any problem with kinect.launch file in turtlebot_bringup I am using fuerte on ubuntu 12.04. this is my kinect.launch file
<launch> <node pkg="turtlebot_node" type="kinect_breaker_enabler.py" name="kinect_breaker_enabler"/>
<node pkg="nodelet" type="nodelet" name="pointcloud_throttle" args="load pointcloud_to_laserscan/CloudThrottle openni_manager" respawn="true"> <remap from="cloud_in" to="/camera/depth/points"/> <remap from="cloud_out" to="cloud_throttled"/> </node>
<node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/CloudToScan openni_manager" respawn="true"> <remap from="cloud" to="/cloud_throttled"/> </node>
<node pkg="nodelet" type="nodelet" name="kinect_laser_narrow" args="load pointcloud_to_laserscan/CloudToScan openni_manager" respawn="true"> <remap from="cloud" to="/cloud_throttled"/> <remap from="scan" to="/narrow_scan"/> </node>
</launch>
akhil@ubuntu:~/fuerte_workspace/sandbox/turtlebot/turtlebot_bringup$ cat 2_kinect.launch <launch>
<node pkg="turtlebot_node" type="kinect_breaker_enabler.py" name="kinect_breaker_enabler"/>
<node pkg="nodelet" type="nodelet" name="openni_manager" output="screen" respawn="true" args="manager"/>
<node pkg="nodelet" type="nodelet" name="openni_launch" args="load openni_camera/OpenNINodelet openni_manager" respawn="true">
<rosparam command="load" />
</node>
<node pkg="nodelet" type="nodelet" name="pointcloud_throttle" args="load pointcloud_to_laserscan/CloudThrottle openni_manager" respawn="true"> <remap from="cloud_in" to="/camera/depth/points"/> <remap from="cloud_out" to="cloud_throttled"/> </node>
<node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/CloudToScan openni_manager" respawn="true"> <remap from="cloud" to="/cloud_throttled"/> </node>
<node pkg="nodelet" type="nodelet" name="kinect_laser_narrow" args="load pointcloud_to_laserscan/CloudToScan openni_manager" respawn="true"> <remap from="cloud" to="/cloud_throttled"/> <remap from="scan" to="/narrow_scan"/> </node>
</launch>
i just changed the value of <param depth_registration value="true" /> to false in kinect.laucnh file and it worked but i don't know if this is the right way to solve this problem, any suggestions ??