rviz my usb cam don't seen in image topic [closed]

asked 2020-01-01 16:21:16 -0600

KOMODO gravatar image

updated 2022-03-20 10:07:13 -0600

lucasw gravatar image

I am new at RVIZ. I want to display a rviz display with my usb cam.

First thing, I have 2 camera. One is a stereo, second is a simple usb webcam. I have tested on my OS with VLC and both of them are working. Webcam mark is A4tech. Stereo is Elp-3d-stereo-camera-2.

Second thing, I use a Raspberry pi 3 b+. I intalled Ubuntu Mate OS for my raspi 3 b+ . I use ROS1 melidic.

My problem is rviz don't see my cameras. I will try to explain my steps :

  1. I run roscore
  2. I run "rosrun rviz rviz" --> i get a warning "DRI2 failed to authenticate" and i get infos "version 1.13.6, compiled against qt version 5.9.5, compiled against OGRE version 1.9.0(Ghadamon), Forcing OpenGl version 0,Stereo is NOT SUPPORTED, OpenGl version: 3.1(GLSL 1.4)." + sometimes "Segmentation fault".
  3. I get the RViz screen
  4. I click on "Add" button. and i add a camera display.
  5. When i click to image topic it gets nothing. Like in this video It must be show my cams I suppose.

I get this warning "DRI2 failed to authenticate" also when i run roscore.

5th is my problem. Where is the problem?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by KOMODO
close date 2020-07-03 12:54:36.522991