Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointcloud without color #6

Open
9woods123 opened this issue Jun 18, 2022 · 3 comments
Open

Pointcloud without color #6

9woods123 opened this issue Jun 18, 2022 · 3 comments

Comments

@9woods123
Copy link

Hello! Great work. I used it with MAV simulator.
and when I adjust the depthcam.xacro to use the realsense d435 for color pointcloud:
<pointCloud>true</pointCloud>
<pointCloudTopicName>depth/color/points</pointCloudTopicName>
<pointCloudCutoff>0.25</pointCloudCutoff>
<pointCloudCutoffMax>9.0</pointCloudCutoffMax>
but what i get is pointcloud without color
realsense
with situation in gazebo is:
gazebo

Does it work well for you?I have seen some issues mentioned this problem, but there is not a solution till now. For example,
https://github.com/pal-robotics/realsense_gazebo_plugin/issues/37#issue-916293171.
Looking forward your kind reply and helps! Thanks a lot!!

@felixobenaus
Copy link

Is there any solution?

@felixobenaus
Copy link

@9woods123 did i solve it somehow? I also have to problem and i urgently need a solution

@9woods123
Copy link
Author

9woods123 commented May 17, 2023

@9woods123 did i solve it somehow? I also have to problem and i urgently need a solution

@kingingo

hello, you can refer to my repositories:

https://github.com/9woods123/mav_with_rgbd_camera

I use a kinect plugin to replace the depth camera plugin in this repositories:

<plugin name="${sensor_name}" filename="libgazebo_ros_openni_kinect.so">

and, you can add the camera on your robot, using the following xml code:

  <xacro:include filename="$(find realsense_ros_gazebo)/xacro/woods_depthcam.xacro"/>
    <xacro:realsense_d435 sensor_name="${namespace}/vi_sensor" parent_link="${namespace}/base_link" rate="30">
          <origin xyz="0.1 0.0 -0.03" rpy="0.0 0.1 0.0" />
      </xacro:realsense_d435>

which can be found in rotors_simulator/rotors_description/urdf/mav_with_realsense.gazebo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants