-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Realsense2 doesn't show image in rviz2 #2112
Comments
Hi @dennyvt I see from your message title that you are using RViz2. Can you confirm please that you launched it using ros2 run rviz2 rviz2 |
Hi @MartyG-RealSense
but when launching it with the command you were advising, i still get the same. received data in the terminal but still no image showing in rviz2.
|
Do you get an image if you set Fixed Frame to camera_link instead of camera_color_optical_frame |
if i set fixed frame to camera_link |
There was another case in #1970 of a RealSense ROS user who could not obain images in RViz2 when using the ROS2 Foxy wrapper and camera_color_optical_frame. In that particular case, they ended up changing to the ROS1 wrapper and Noetic instead. Which librealsense SDK version and ROS2 wrapper version are you uaing, please? |
my bad i did not saw that other case. |
i just fixed it. |
That's excellent news that you found a solution, @dennyvt - thanks very much for the update! |
hello i am running ubuntu20.04 with ROS2 foxy
with Intel RealSense D435
when launching
and running
it shows me that it is receiving data:
a small example of the data:
header:
stamp:
sec: 1633950418
nanosec: 576558848
frame_id: camera_color_optical_frame
height: 480
width: 640
encoding: rgb8
is_bigendian: 0
step: 1920
data:
but when opening rviz it doesn't show me images.
anyone else have this problem or can help me fix that problem?
thanks in advance!
The text was updated successfully, but these errors were encountered: