Fovis_ros using freenect_launch has depth image format error
Hello, I'm running ROS in indigo and use fovis_ros by freenect with a kinect xbox360. But there is an error:
Depth image must be in 32bit floating point format!
I find a similar problem here. But , he use openni and run ROS in Hydro. Here is the launch file.
<launch>
<arg name="camera" default="camera" />
<node pkg="nodelet" type="nodelet" args="manager" name="nodelet_manager" />
<node pkg="nodelet" type="nodelet" name="convert_openni_fovis"
args="load depth_image_proc/convert_metric nodelet_manager">
<remap from="image_raw" to="$(arg camera)/depth_registered/hw_registered/image_rect_raw"/>
<remap from="image" to="$(arg camera)/depth_registered/image_raw"/>
</node>
<node pkg="fovis_ros" type="fovis_mono_depth_odometer" name="kinect_odometer" >
<remap from="/camera/rgb/image_rect"
to="$(arg camera)/rgb/image_rect_mono" />
<remap from="/camera/rgb/camera_info"
to="$(arg camera)/rgb/camera_info" />
<remap from="/camera/depth_registered/camera_info"
to="$(arg camera)/depth_registered/sw_registered/camera_info" />
<remap from="/camera/depth_registered/image_rect"
to="$(arg camera)/depth_registered/sw_registered/image_rect_raw" />
<param name="approximate_sync" type="bool" value="True" />
</node>
</launch>
I wonder if I use openni, I will solve this problem.
Check the example launchfile in fovis_ros at github