depth_image_proc not working with custom depth
Hi, I'm trying to modify a depth image from Realsense camera and generate a point cloud with the modified depth.
What I've done is (sorry for the links. I couldn't upload snippets properly):
Launch Realsense camera ros wrapper as
roslaunch realsense2_camera rs_camera.launch align_depth:=true image_fps:=5 depth_fps:=5
Write a python code that modifies depth image from camera; see image_converter.py.
Run a launch file based on depth_image_proc; see point_cloud_xyzrgb_depth_converted.launch
In rviz, I couldn't see any point cloud as shown here.
Note that if I change the topic name of depth image that point_clound_xyzrgb_depth_converted.launch
subscribes, I can see the point cloud.
Anyone has a comment for this?