m-tartari / realsense_gazebo_description

Gazebo models for Intel RealSense D435, D435i and T265 cameras
Apache License 2.0
33 stars 15 forks source link

pointcloud without color #2

Open dantenoguera opened 2 years ago

dantenoguera commented 2 years ago

Hi, thanks for the work! Is there a reason i get a flat black color when i visualize the point cloud in Rviz? I am using the RGB8 color transformer and adding the camera like this:

  <xacro:include filename="$(find realsense_gazebo_description)/urdf/_d435i.urdf.xacro"/>
  <xacro:sensor_d435i parent="chassis_link" name="camera" topics_ns="camera" align_depth="true" visualize="true" enable_pointCloud="true"> 
    <origin xyz="1.1 0 0.5" rpy="0 0.16 0"/>
  </xacro:sensor_d435i>
dantenoguera commented 2 years ago

I think this comes from pal-robotics/realsense_gazebo_plugin#37