-
Notifications
You must be signed in to change notification settings - Fork 146
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
No RGB data in output pointcloud #37
Comments
TLDR; Your suspicion is correct, you can get a colored pointcloud by doing the following things (quick and dirty solution):
Detailed explanation and proposed long-term solution: |
could you just have separate image_msgs_ objects for the IR cameras and the RGB camera and work? Would that change the code a lot? |
Greating everyone, |
Hey everyone, |
When running with pointcloud enable I can only seem to get mono output from the pointcloud output. I am checking RGB in Rviz and manually inspected the cloud output to verify that indeed it is only publishing mono data.
I can see that the plugin is always dropping into this else if:
realsense_gazebo_plugin/src/gazebo_ros_realsense.cpp
Lines 185 to 190 in 49ab134
Since we are filling the
this->image_msg_
data with both RGB colour images and MONO IR images here:realsense_gazebo_plugin/src/gazebo_ros_realsense.cpp
Lines 90 to 92 in 49ab134
I'm suspecting that somehow only the MONO images are actually being used exclusively for:
realsense_gazebo_plugin/src/gazebo_ros_realsense.cpp
Line 167 in 49ab134
It seems at least one other user may have experienced this issue too: #3
Any ideas or fixes would be much appreciated! Happy to contribute back if I figure something out too.
Cheers
The text was updated successfully, but these errors were encountered: