I have simulated a gazebo kinect camera on the end-effector of a manipulator. Here is the plugin for the camera:true 20.0 ${60.0*M_PI/180.0} B8G8R8 640 480 camera true 10 rgb/image_raw depth/image_raw depth/points rgb/camera_info depth/camera_info camera_depth_optical_frame 0.1 0.0 0.0 0.0 0.0 0.0 0.4
But when I visualize the point cloud in RViz, the object is visible only partially.

Another kinect camera simulated which is stationary, generates a proper point cloud. I am using the kinect.xacro for this stationary camera:

Why is one plugin able to generate point cloud for entire object, while the other only partially?
↧