m2-farzan / ros2-galactic-PKGBUILD

AUR Package for ROS 2 Galactic
11 stars 11 forks source link

RQT does not have the image visualizer plugin #21

Closed zjeffer closed 2 years ago

zjeffer commented 2 years ago

I have a /video topic, but when I open RQT using ros2 run rqt_gui rqt_gui, and go to Plugins > Visualisation, there is no option to show images:

image

The option is there when using the docker image ros:galactic, but not when installing from this package. What am I doing wrong?

m2-farzan commented 2 years ago

I don't have much experience with rqt but you may need to install a plugin (maybe this one?)

Alternatively try rviz for visualizing image topics. Run rviz2 in terminal.

zjeffer commented 2 years ago

How do I install that plugin, though. I can't find any information about installing plugins online.

m2-farzan commented 2 years ago

I too don't have experience with rqt plugins. I'm afraid I can't help with this one.

goekce commented 2 years ago

As Mostafa mentioned rqt_image_view should help.

In my case installing and compiling rqt_common_plugins and image_transport_plugins using rosinstall_generator helped. These are included in the PKGBUILD of mine for Turtlebot3 development.

Much easier approach is to compile them in a workspace and activate the workspace. They should be then visible in the rqt.