Coder Social home page Coder Social logo

rqt_image_view's People

Contributors

130s avatar ablasdel avatar arne48 avatar audrow avatar contradict avatar cottsay avatar cubimon avatar dirk-thomas avatar fruchtzwerg94 avatar jensenb avatar lucasw avatar mabelzhang avatar martonmiklos avatar matthijsburgh avatar meyerj avatar mikepurvis avatar mrdanbrooks avatar pgorczak avatar samuelba avatar trainman419 avatar vrabaud avatar wjwwood avatar xqms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rqt_image_view's Issues

rqt_image_view as a converter?

Hi there,

Is there a way to run rqt_image_view as a converter? meaning, simultaneously running and publishing jpeg/png to a topic?

thx

ROS2 Rolling Broken Packaging? Could not import "pyqt" bindings of qt_gui_cpp library

Ubuntu 20.04, Rolling.

After installing image view like this:
sudo apt-get install ros-rolling-rqt-image-view

And attempting to run it like this:
ros2 run rqt_image_view rqt_image_view

Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
  File "/opt/ros/rolling/lib/python3.8/site-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in <module>
    from . import libqt_gui_cpp_sip
ImportError: /home/vinny/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /opt/ros/rolling/lib/python3.8/site-packages/qt_gui_cpp/libqt_gui_cpp_sip.so)

I believe that this is a packaging error, but I am not sure.

ROS1 Cannot allocate memory in static TLS block

OS: Ubuntu 20.04
Build type: Debian and from source
ROS1 Noetic

I realized yesterday that I could not open rqt_image_view anymore on my normal Ros install. When starting just a roscore and rqt_image_view, I get the following error:

[ERROR] [1596246588.597161607]: Failed to load nodelet [rqt_image_view/ImageView_0] of type [rqt_image_view/ImageView]: Failed to load library /home/senft/ros_catkin_ws/install_isolated/lib//librqt_image_view.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block)
RosPluginlibPluginProvider::load_explicit_type(rqt_image_view/ImageView) failed creating instance
PluginManager._load_plugin() could not load plugin "rqt_image_view/ImageView": RosPluginlibPluginProvider.load() could not load plugin "rqt_image_view/ImageView"
terminate called after throwing an instance of 'boost::wrapexceptboost::lock_error'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Aborted (core dumped)

The only solution I found to resolve this issue is setting:
export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6
But it does not seem like a good fix.

I tried it on a fresh install on Ubuntu 20.04 with only ros-noetic-desktop-full (or built from sources from sources) and I get the same issue in both cases.

[BUG] humble-devel branch

There is a branch named humble-devel, however, it is obviously a ros1 branch.

I would assume that the humble-devel would branch from rolling-devel at one point, instead, it is almost at master which is also ros1, if I see things correctly.

Please reset humble-devel to any working rolling-devel.

Problems attaching over X11 and Xming (kinetic)

Having trouble, despite this working yesterday

$ rqt_image_view
failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
      after 349 requests (349 known processed) with 0 events remaining.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument
[2]    18492 abort      rqt_image_view

Compare to

$ rqt_console
failed to get the current screen resources
QXcbConnection: XCB error: 170 (Unknown), sequence: 163, resource id: 90, major code: 146 (Unknown), minor code: 20
<proceeds to work fine anyway>

which is how rqt_image_view used to behave.

I've attempted to debug, but all I've found is that mutex_.m.__kind == -1, and that pthread_mutex_lock is returning EINVAL. This happened after building from source too.

missing file librqt_image_view.so

Hi

if I want to start rqt_image_view via rosrun rqt_image_view rqt_image_view or just rqt_image_view then I get the following error:

[ERROR] [1592863606.174353422]: Failed to load nodelet [rqt_image_view/ImageView_0] of type [rqt_image_view/ImageView]: Failed to load library /opt/ros/melodic/lib//librqt_image_view.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core.so.3.2: cannot open shared object file: No such file or directory)
RosPluginlibPluginProvider::load_explicit_type(rqt_image_view/ImageView) failed creating instance
PluginManager._load_plugin() could not load plugin "rqt_image_view/ImageView": RosPluginlibPluginProvider.load() could not load plugin "rqt_image_view/ImageView"
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
pure virtual method called
terminate called recursively
Aborted (core dumped)

the same happens for rosrun image_view image_view

[ INFO] [1592863868.679032143]: Initializing nodelet with 12 worker threads.
[ERROR] [1592863868.692291840]: Failed to load nodelet [/image_view] of type [image_view/image] even after refreshing the cache: Failed to load library /opt/ros/melodic/lib//libimage_view.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core.so.3.2: cannot open shared object file: No such file or directory)
[ERROR] [1592863868.692331964]: The error before refreshing the cache was: Failed to load library /opt/ros/melodic/lib//libimage_view.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core.so.3.2: cannot open shared object file: No such file or directory)

The problem is that this file /libimage_view.so does not exist. The ros installation works fine for all other things (rviz, rqt_plot, ...). The only problem is the image data.

I also tried to this:

sudo apt-get install ros-melodic-rqt-image-view
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-melodic-rqt-image-view is already the newest version (0.4.14-1bionic.20200530.125139).
ros-melodic-rqt-image-view set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

sudo apt-get install ros-melodic-image-view
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-melodic-image-view is already the newest version (1.15.0-1bionic.20200530.133102).
ros-melodic-image-view set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

Does someone have a solution to this problem?

Thanks

failed to load rqt_image_view plugin

Package:
ros-foxy-rqt-image-view version 1.0.4-1focal.20200722.054203

Running:
ros2 run rqt_image_view rqt_image_view

Results in:
RosPluginlibPluginProvider::load_explicit_type(rqt_image_view/ImageView) could not load library (Failed to load library /opt/ros/foxy/lib/rqt_image_view/librqt_image_view.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library LoadLibrary error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: Kein Speicher im statischen TLS-Block verfügbar, at /tmp/binarydeb/ros-foxy-rcutils-1.0.1/src/shared_library.c:68) PluginManager._load_plugin() could not load plugin "rqt_image_view/ImageView": RosPluginlibPluginProvider.load() could not load plugin "rqt_image_view/ImageView"

broken GUI

The gui appears to be broken on foxy running 20.04. I am not able to use the refresh button or to select an image topic from the drop down menu.

rqt

rqt_image_view does not load librqt_image_view.so on Ubuntu 18.04

I am having issue running rqt_image_view on Ubuntu 18.04 with ROS Melodic. I got the following error while library librqt_image_view.so is present. Appreciate any suggestions.

$ rqt_image_view /rgb_camera/image_raw

[ERROR] [1609309685.178914800]: Failed to load nodelet [rqt_image_view/ImageView_0] of type [rqt_image_view/ImageView]: Failed to load library /opt/ros/melodic/lib//librqt_image_view.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libpng12.so.0: cannot open shared object file: No such file or directory)
RosPluginlibPluginProvider::load_explicit_type(rqt_image_view/ImageView) failed creating instance
PluginManager._load_plugin() could not load plugin "rqt_image_view/ImageView": RosPluginlibPluginProvider.load() could not load plugin "rqt_image_view/ImageView"
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error >'
pure virtual method called
terminate called recursively
Aborted (core dumped)

rqt_image_view failing to build on ROS 2 build farm

ROS distro: Rolling
Version: 1.1.1-1
Platforms:

This package version was building previously it is probable that this build failure is the result of changes in dependencies.

[ 50%] Building CXX object CMakeFiles/rqt_image_view.dir/src/rqt_image_view/image_view.cpp.o
/usr/lib/ccache/c++  -DDEFAULT_RMW_IMPLEMENTATION=rmw_cyclonedds_cpp -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DRCUTILS_ENABLE_FAULT_INJECTION -Drqt_image_view_EXPORTS -I/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/obj-x86_64-linux-gnu -I/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1 -I/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/include -isystem /opt/ros/rolling/include -isystem /opt/ros/rolling/include/pluginlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/opencv4 -isystem /opt/ros/rolling/include/class_loader  -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -Wall -Wextra -Wpedantic -fPIC -std=gnu++17 -o CMakeFiles/rqt_image_view.dir/src/rqt_image_view/image_view.cpp.o -c /tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/src/rqt_image_view/image_view.cpp
In file included from /tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/src/rqt_image_view/image_view.cpp:33:
/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/include/rqt_image_view/image_view.h:40:10: fatal error: image_transport/image_transport.hpp: No such file or directory
   40 | #include <image_transport/image_transport.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [CMakeFiles/rqt_image_view.dir/build.make:78: CMakeFiles/rqt_image_view.dir/src/rqt_image_view/image_view.cpp.o] Error 1
make[4]: Leaving directory '/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:81: CMakeFiles/rqt_image_view.dir/all] Error 2
make[3]: Leaving directory '/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:144: all] Error 2
make[2]: Leaving directory '/tmp/binarydeb/ros-rolling-rqt-image-view-1.1.1/obj-x86_64-linux-gnu'

Cannot show compressed image of which topic is not advertised when selected

When an image topic is selected and the topic is still not advertised by its publisher, rqt_image_view subscribes the topic as raw transport ( the type of message is sensor_msgs/Image).
If the topic is advertised as transport other than raw after the subscription, image of the topic never shows up due to message type mismatch ( sensor_msgs/CompressedImage != sensor_msgs/Image ).

To reproduce the issue:

  1. Run image publisher ( i.e. it publishes publisher/image, publisher/image/compressed)

  2. Run rqt_image_view and select publisher/image/compressed (Image shows up)

  3. Kill image publisher, then press refresh button on rqt_image_view (it clear images and turns to grey screen)

  4. Run image publisher again

  5. Image never shows up
    (From the image publisher, the error message is displayed:

    Client [/rqt_gui_cpp_node_4001128] wants topic /publisher/image/compressed to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f]. Dropping connection.
    

IDE used for development

I have worked with ROS packages earlier which uses catkin environment.
I have also worked on Qt projects developed in Qt Creator which does not use catkin environment.
Now I m trying to use this kind of integrated (ROS and Qt) project for the first time.
Qt has different build folder and the items inside it whereas catkin has different directory structure. My query is how to use Qt in ROS environment?

rqt_image_view: image shrinks when resolution changes, or has wrong aspect if '1' is enabled

From @lucasw on February 28, 2017 19:55

When the '1' button is disabled, the first image received will fill the available widget space properly, and a following image with a different resolution may work properly (I think depending on if the vertical resolution fills the widget or not), but a third image will be the same width or height as the previous image, and therefore be far smaller than available space, and each following image which changes resolution will also choose the wrong width or height to match which continues to shrink the image.

This continues until some minimal size has been reached, after that the aspect ratio no longer changes, the image is updated in the aspect ratio of that minimal size.

#!/usr/bin/env python

import cv2
import numpy as np
import rospy

from sensor_msgs.msg import Image


class AlternateImage:
    def __init__(self):
        self.pub = rospy.Publisher("image", Image, queue_size=4)

        self.height = 1024
        self.width = 768
        self.channels = 3

        image1 = np.zeros((self.height, self.width, self.channels), np.uint8)
        msg1 = Image()
        msg1.encoding = "bgr8"
        msg1.height = self.height
        msg1.width = self.width
        msg1.step = self.width * self.channels
        msg1.data = image1.tostring()

        image2 = np.ones((self.width, self.height, self.channels), np.uint8) * 255
        msg2 = Image()
        msg2.encoding = "bgr8"
        msg2.height = self.width
        msg2.width = self.height
        msg2.step = self.height * self.channels
        msg2.data = image2.tostring()

        while not rospy.is_shutdown():
            msg1.header.stamp = rospy.Time.now()
            self.pub.publish(msg1)
            rospy.sleep(1.0)
            msg2.header.stamp = rospy.Time.now()
            self.pub.publish(msg2)
            rospy.sleep(1.0)

if __name__ == '__main__':
    rospy.init_node("alternate_image")
    alternate_image = AlternateImage()

Resizing the rqt window causes the image to be properly sized.

If the '1' button is enabled, then the first image received will define the aspect ratio, then following images will conform to that aspect ratio wrongly, but the images continue to fill the widget.

I tried this with the latest master branch code, looks to behave the same as the Jade release version.

Copied from original issue: ros-visualization/rqt_common_plugins#437

Under win10-ros-melodic, "rqt_image_view" shows nothing, but "ros topic list" can see "/image_raw" topic.

When I try to use rqt_iamge_view to get image under win10-ros-melodic environment, I close the firewall and with "rostopic list", I can see all topic correctly, however, when I try "rostopic echo /image_raw", nothing appeared, and "rqt_image_view" shows nothing, at the same time, another PC with Ubuntu18.04 can echo "/image_raw" and "rqt_image_view" can show image correctly. On the win10 PC, it can echo other topic and show correctly, except "/image_raw"topic. I wonder why and how to solve this problem.

Cannot display IR stream

I ran rosrun rqt_image_view rqt_image_view.
only depth stream displays but the IR does not. this is not happening in rviz.
appreciate your help.

editing the plugin

Hi, I am new to using rqt. I did sudo apt-get install ros-melodic-rqt-image-view and also git cloned the repo. When I try to rosrun after the install it runs perfectly fine. But I want to edit the plugin according to my application.

How do I run it after editing the repo files? When I do rosrun again it doesn't reflect the changes.

Also I tried to sudo apt-get remove and tried running it in the repo folder and I am getting no package found.

[ros2] link image_transport

the ros2 feature branch of the image_transport package now creates a modern CMake target instead of setting _INCLUDE_DIRS and _LIBRARIES variables.
Thus, the include of image_transport/image_transport.h fails during the build.

I would suggest creating a new branch, something like rolling-devel or similar, since changes like this might come for other dependency packages.
The respective CMake fix is rather small. (link against new target image_transport::image_transport, or ${image_transport}_TARGETS)

[ros2] segfault during shutdown

In Foxy (though it looks like it's been in the code forever):

rqt_image_view segfaults during shutdown if there is an active subscription.

I'm using printf debugging and saw that ImageView::callbackImage is often called after ImageView::shutdownPlugin. There might be a better way to fix this, but it was easy to fix by adding bool shutting_down_ to guard the callback. Happy to provide a PR.

[ros2] missing color_scheme_combo_box

with PR #64 the state of ui_.color_scheme_combo_box is saved.
Unfortunately, the respective entry in the UI file is missing...
in src/rqt_image_view/image_view.ui the respective item must be added.

I'm currently testing the fix on my machine, PR follows asap.

Image view does not allow for non default image transport QOS.

The use of image transport for subscribing only allows rqt_image_view to display 1 type of QoSProfile, default.

https://github.com/ros-visualization/rqt_image_view/blob/foxy-devel/src/rqt_image_view/image_view.cpp#L316

image_transport::ImageTransport it(node_);

const image_transport::TransportHints hints(node_.get(), transport.toStdString());

subscriber_ = it.<span class="pl-c1">subscribe</span>(topic.<span class="pl-c1">toStdString</span>(), <span class="pl-c1">1</span>, &amp;ImageView::callbackImage, <span class="pl-c1">this</span>, &amp;hints);

Unfortunately, ImageTransport->subscribe automatically assigns the subscriber a default QoS implementation here.

https://github.com/ros-perception/image_common/blob/ros2/image_transport/src/image_transport.cpp#L161

But a workaround is to use image_transport::create_subscriber() and pass it default qos profile if one is not found for the publisher of that topic, or dynamically get it from the rclcpp/rcl interface. I have implemented this workaround here.

#53

This is an important issue because some networks can not handle the increased traffic of a reliable QoS policy for image streaming. I have submitted a PR that dynamically configures the subscriber to the QoS policy advertised by the publisher.

Unable to run `rqt_image_view`

Hi, Thank you for the great project!

When I try to run rqt_image_view under the following environment, I was unable to run rqt_iamge_view with following message.
How can I deal with this issue?

environment

  • Ubuntu 20.04
  • ROS2 Foxy
$ sudo apt show ros-foxy-desktop
Package: ros-foxy-desktop
Version: 0.9.2-1focal.20221021.151608
Priority: optional
Section: misc
Maintainer: Steven! Ragnarök <[email protected]>
Installed-Size: 44.0 kB
Depends: ros-foxy-action-tutorials-cpp, ros-foxy-action-tutorials-interfaces, ros-foxy-action-tutorials-py, ros-foxy-angles, ros-foxy-composition, ros-foxy-demo-nodes-cpp, ros-foxy-demo-nodes-cpp-native, ros-foxy-demo-nodes-py, ros-foxy-depthimage-to-laserscan, ros-foxy-dummy-map-server, ros-foxy-dummy-robot-bringup, ros-foxy-dummy-sensors, ros-foxy-examples-rclcpp-minimal-action-client, ros-foxy-examples-rclcpp-minimal-action-server, ros-foxy-examples-rclcpp-minimal-client, ros-foxy-examples-rclcpp-minimal-composition, ros-foxy-examples-rclcpp-minimal-publisher, ros-foxy-examples-rclcpp-minimal-service, ros-foxy-examples-rclcpp-minimal-subscriber, ros-foxy-examples-rclcpp-minimal-timer, ros-foxy-examples-rclcpp-multithreaded-executor, ros-foxy-examples-rclpy-executors, ros-foxy-examples-rclpy-minimal-action-client, ros-foxy-examples-rclpy-minimal-action-server, ros-foxy-examples-rclpy-minimal-client, ros-foxy-examples-rclpy-minimal-publisher, ros-foxy-examples-rclpy-minimal-service, ros-foxy-examples-rclpy-minimal-subscriber, ros-foxy-image-tools, ros-foxy-intra-process-demo, ros-foxy-joy, ros-foxy-lifecycle, ros-foxy-logging-demo, ros-foxy-pcl-conversions, ros-foxy-pendulum-control, ros-foxy-pendulum-msgs, ros-foxy-quality-of-service-demo-cpp, ros-foxy-quality-of-service-demo-py, ros-foxy-ros-base, ros-foxy-rqt-common-plugins, ros-foxy-rviz-default-plugins, ros-foxy-rviz2, ros-foxy-teleop-twist-joy, ros-foxy-teleop-twist-keyboard, ros-foxy-tlsf, ros-foxy-tlsf-cpp, ros-foxy-topic-monitor, ros-foxy-turtlesim, ros-foxy-ros-workspace
Download-Size: 6,200 B
APT-Sources: http://packages.ros.org/ros2/ubuntu focal/main amd64 Packages
Description: A package which extends 'ros_base' and includes high level packages like vizualization tools and demos.
  • rqt_image_view
$ sudo apt show ros-foxy-rqt-image-view
Package: ros-foxy-rqt-image-view
Version: 1.1.1-1focal.20221021.150913
Priority: optional
Section: misc
Maintainer: Mabel Zhang <[email protected]>
Installed-Size: 416 kB
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libqt5core5a (>= 5.12.2), libqt5gui5 (>= 5.11.0~rc1) | libqt5gui5-gles (>= 5.11.0~rc1), libqt5widgets5 (>= 5.0.2), libstdc++6 (>= 9), ros-foxy-console-bridge-vendor, ros-foxy-cv-bridge, ros-foxy-geometry-msgs, ros-foxy-image-transport, ros-foxy-qt-gui-cpp, ros-foxy-rclcpp, ros-foxy-rqt-gui, ros-foxy-rqt-gui-cpp, ros-foxy-sensor-msgs, ros-foxy-ros-workspace
Homepage: http://wiki.ros.org/rqt_image_view
Download-Size: 164 kB
APT-Manual-Installed: yes
APT-Sources: http://packages.ros.org/ros2/ubuntu focal/main amd64 Packages
Description: rqt_image_view provides a GUI plugin for displaying images using image_transport.

error

$ ros2 run rqt_image_view rqt_image_view
PluginManager._discover() using cached plugin discovery information

solution

I have tried the following as related error solutions, but with no improvement.
#38 (comment)

Thank you.

Does not subscribe saved topic if it does not exist yet.

From @cyborg-x1 on February 10, 2017 9:59

When starting rqt with an image view, the image view does not subscribe its previously saved topic, if it does not exist already.

Example:
You start your rqt with Gazebo in a launchfile and another node outputing a video stream in a separate launchfile. You select the topic of this node and save the perspective to launch it later with the first launchfile. You start the launchfile for Gazebo, then the outputing node -> topic is not subscribed by image view. You have to click reload and select the topic again.

Copied from original issue: ros-visualization/rqt_common_plugins#430

Project executable

This project is in C++, why it has created a py file as executable?
Can a normal executable file be created for this project?

Error when switching between topics

When switching between image topics (in my case especially when switching from a topic with rgb images to a topic with depth images) sometimes a segmentation fault occurs. I think this is the problematic line and the error occurs when something goes out of scope here. Maybe a destructor is called on something that should not be destructed?

Allowing an input field to change the Quality of Service parameter.

Hi all, thanks for maintaining this package.

I was wondering with ROS2 and the introduction of QoS, if it makes sense to allow for an input field that allows the user to change the QoS of the subscriber in order to meet the QoS compatibility requirements.

If this is something that is worth considering, I can try and work on a PR.

qt_gui_main() found no plugin matching "rqt_image_view/ImageView"

Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in
from . import libqt_gui_cpp_sip
ImportError: /home/usc-cam/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /opt/ros/noetic/lib/python3/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so)

qt_gui_main() found no plugin matching "rqt_image_view/ImageView"
try passing the option "--force-discover"

Also, rqt --list-plugin does not show image_view even though its installed

ROS2 Foxy rqt_image_viewer does not show any image

OS: Ubuntu 20.04
Build Type: Debian and from source (commit: 510fe20)

I have tested the rqt_image_viewer using ros2 run rqt_image_view rqt_image_view and the versions listed above with both simulated (using the ros2 navigation turtlebot3 simulation and my own robot sim) and real cameras which all had proper output of both camera_info and image_raw or equivalent topics. The rqt_image_viewer never shows any image or outputs any error although topics are correctly detected and filtered in the selection utility. The nested image viewer in rviz2 appears to have the same issues so not sure exactly if the problem originates here or with another dependency.

Dynamically redefine the image topic

I'm interested in programmatically defining the image topic so I can switch between multiple cameras. Please advise if you would welcome a PR to do that, and if you would prefer it to be accomplished via ROS service or a dynamically configurable parameter (or maybe some other way)...

I think I would prefer to do it via ROS service.

Release into Melodic

All of the dependencies for this package are available in Melodic, so it would be great to get this released there. Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.