Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

Does gazebo_ros_depth_camera with "points" output produce a color point cloud?

$
0
0
I am using gazebo\_ros\_depth\_camera to generate a point cloud with Gazebo 1.9.2, ROS Hydro, and Ubuntu 12.04 LTS. Here is the relevant section of my URDF file:true${mast_cam_frame_rate}${mast_cam_h_fov}${mast_cam_img_width}${mast_cam_img_height}R8G8B8${mast_cam_near_clip}${mast_cam_far_clip}pointsbottom_mast_camerabottom_mast_camera_frame${mast_cam_frame_rate}2.0 Notice that I am using "points" in the <output> element, not "depths". Is such a point cloud supposed to be a *color* point cloud? I found the Gazebo source code that creates the point cloud, and it is producing a color point cloud. However, when I subscribe to the cloud on a ROS topic, the green and blue values are always zero. Red is usually 128 or 160. <output>depths</output> results in a correct color point cloud.

Viewing all articles
Browse latest Browse all 7017

Latest Images

Trending Articles



Latest Images