apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Problems displayed by the cyber_visualizer tool

Open lhh0916 opened this issue 6 years ago • 14 comments

For the cyber_visualizer tool, I have the following three questions:

1.The cyber_visualizer tool can display point clouds normally, but the topic name can only be "/apollo/sensor/velodyne64/compensator/PointCloud2". My topic "lidar_points_2" (which has been converted to apollo.drivers.PointCloud) is not supported. Can I understand that the cyber_visualizer tool only supports specific topic names?

2.According to the results of displaying images with cyber_visualizer tool , it only supports "yuyv" format data, does not support "bgr8", but when I play "/apollo/sensor/camera/traffic/image_long" or "/apollo/sensor/camera /traffic/image_short", no error is indicated, but the image is not visible, only the black screen is displayed. Why? a

  1. Apollo 3.5 cyber tools should be able to add custom topic names and display them on the cyber_visualizer tool. How to do?

Thanks!

lhh0916 avatar Apr 23 '19 10:04 lhh0916

Thank you. Fixing is in progress.

ZeusJupiter avatar Apr 24 '19 10:04 ZeusJupiter

#8044 should resolve this issue.

Currently closing it as a fix is in progress. Feel free to reopen this issue if you have any additional questions. Thanks!

natashadsouza avatar Apr 25 '19 23:04 natashadsouza

@lhh0916 Hi, the problem is solved. Please pull new code and try it. Thank you that much.

ZeusJupiter avatar Apr 26 '19 05:04 ZeusJupiter

I use the apollo tag v7.0.0.0 . When I play "/apollo/sensor/camera/traffic/image_long" or "/apollo/sensor/camera /traffic/image_short" fetched by the data sensor_rgb.record , no error is indicated, but the image is not visible, only the black screen is displayed. Is this problem is solved?

debut-feihui avatar Mar 22 '22 02:03 debut-feihui

i also encounter the same question. i add the camera imge, it not show the default_image ( no_image) and i click the play, it only show the black screen all. 2024-08-11

briandbl avatar Aug 11 '24 04:08 briandbl

which Apollo version do you use?

daohu527 avatar Aug 11 '24 23:08 daohu527

i use the opengl version is opengl version 4.5. the pointcloud data can show normallly. but the image data can't show. contain the first default(no_default.img) image.

briandbl avatar Aug 12 '24 10:08 briandbl

i use the apollo 3.5 version.

briandbl avatar Aug 12 '24 14:08 briandbl

Apollo 3.5 is no longer maintained. You can migrate to a newer version, such as 9.0

daohu527 avatar Aug 13 '24 01:08 daohu527

I use the apollo tag v7.0.0.0 . When I play "/apollo/sensor/camera/traffic/image_long" or "/apollo/sensor/camera /traffic/image_short" fetched by the data sensor_rgb.record , no error is indicated, but the image is not visible, only the black screen is displayed. Is this problem is solved?

do you solve the question?

briandbl avatar Aug 18 '24 04:08 briandbl

i found the root cause. because in the renderable_object.h virtual void Draw(void) using the GL_QUADS, in the higher opengl it is removed. so it cause the black frame. can you fix it using the gl_triangle for the compatibilty for different OPENGL VERSION? i modify it. it work for me.

briandbl avatar Aug 20 '24 10:08 briandbl

i mainly modify the plane.cc and plane.h.

briandbl avatar Aug 20 '24 10:08 briandbl

or i can push one mr to fix it.

briandbl avatar Aug 20 '24 10:08 briandbl

@briandbl Yes, we welcome contributions. You can describe your changes and submit a PR.

daohu527 avatar Aug 21 '24 01:08 daohu527