Use asus xtion pro (0601) and fovis_ros for visual odometry [closed]
Hello everyone,
I run ROS indigo in ubuntu 64bit. I want to use asus xtion pro live (0601),which could not be identified by openni_launch, with fovis_ros. As openni2_launch didn't release gray image but fovis_ros need it, so I change camera/rgb/image_raw
to camera/rgb/image_rect_mono
with another node which is wrote by myself.
But I couldn't get the odometry topic
, I don't know where the problem is?
Thanks first!
Here is my launch file.
<launch>
<include file="$(find openni2_launch)/launch/openni2.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/sw_registered/image_rect_raw"/>
<remap from="image" to="$(arg camera)/depth_registered/image_rect"/>
</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/image_rect" />
<param name="approximate_sync" type="bool" value="True" />
</node>
</launch>