Giter Site home page Giter Site logo

rqt_console's People

Contributors

130s avatar ablasdel avatar arne48 avatar cottsay avatar dirk-thomas avatar dorianscholz avatar h-wata avatar leroyr avatar matthijsburgh avatar mbuijs avatar mlautman avatar mosfet80 avatar mrdanbrooks avatar sloretz avatar

Stargazers

 avatar

Watchers

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

rqt_console's Issues

Problem of rqt_gui

I am using ROS Kinetic.

I tried to use arni but when i launch rqt_gui it is completely empty, not able to load arni plugins.

Please help me to solve this problem.

requesting foxy release

The last release in foxy is 1.1.1

PRs #21 and #28 were landed into the foxy branch after that but there has not been a release which includes the solutions which are in foxy-devel.

Note that in the index foxy is indexed to dashing-devel

UnicodeDecodeError when parsing strings containing Japanese characters

What happens

rqt_console dies when double clicking a message with Japanese characters:

Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 799, in _handle_mouse_double_click
    self._show_browsers()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 588, in _show_browsers
    browsetext = self._model.get_selected_text(rowlist)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_console/message_data_model.py", line 219, in get_selected_text
    text += self._messages[row].pretty_print()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_console/message.py", line 129, in pretty_print
    text += '\n' + self.message + '\n'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 6: ordinal not in range(128)

How to reproduce it

On a terminal execute roscore. On a second terminal run rqt_console. On a third terminal execute the following command:

rostopic pub /rosout rosgraph_msgs/Log "header:
  seq: 0
  stamp: {secs: 0, nsecs: 0}
  frame_id: ''
level: 2
name: 'test_name'
msg: 'test もしもし'
file: 'test_file'
function: 'test_function'
line: 69
topics: ['']" 

On the rqt_console window a line containing the message 'test もしもし' will appear. Double click on it and observe rqt_console implode

Lost messages

During high message loads (multiple messages within a few ms) RQT console will drop / miss messages and not show them in the listing. Echoing /rosout confirms the messages are actually being sent, but not being picked up by RQT. I am not exactly certain what might be the issue here, but the QOS difference shown in the topic info gist, might be a good start. Default nodes seem to use TRANSIENT_LOCAL durability, whereas RQT is using VOLATILE.

Gist of the /rosout echo: https://gist.github.com/coalman321/afd12e1a6a9fa28bc0de6d294b14f20b
Gist of /rosout topic info: https://gist.github.com/coalman321/aabac832117ff9d8397d8f9471481a91
Screenshot of the application:
image

Version: Ros 2 Galactic (apt installation)
OS: Ubuntu 20.04
DDS: Cyclone DDS

(This issue also seems to apply on foxy as well, but I have not 100% verified that claim)

Enhancement: Filtering

Hi, would like to make a suggested enhancement and not sure if this is the best place. I like using this UI however we have a lot of noise on the log files and team finds using rqt_console to be cumbersome to use when we need to filter (select/deselect) topics, etc.

Is there a way to have a multi-selection listbox (listing the topics vertically) instead of the horizontal checkbox list to select the nodes? Also could you also have the option to include specific topics/messages using dropdown list?

Thank you for your help!

"Fit Columns" button cannot be easily undone / has a counter-intuitive name

From @jbohren on November 4, 2013 14:23

In rqt_console, there is a "Fit Columns" button, which expands all the columns so that their contents isn't truncated. I propose that "Fit Columns" should be renamed to a toggle button "Expand Columns" and an additional, mutually-exclusive toggle button should be added which causes the columns to fit within the window as it gets resized.

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

KeyError when using unknown severity levels (ros1_bridge)

Hi!

When using the ROS1 bridge, the log messages get passed to ROS2 with different severity levels (1 instead of 10, 2 instead of 20, etc...). This causes a KeyError and an AssertionError in rqt_console/message_data_model.py:

KeyError:

data = Message.SEVERITY_LABELS[data]

AssertionError:

assert msg.severity in MessageDataModel.severity_colors, \

I fixed it locally for me - should I create pull request? Otherwise, rqt_console is basically not usable with a ROS1 bridge. Probably there are also other failure cases, as the gaps between severity levels in ROS2 were probably on purpose to let space for custom levels.

Thanks!
Karl

PS: Where is rqt_console for Foxy maintained?

rename this tool from "rqt_console" to "rqt_log" / something else

rqt_console is basically a tool to view ros logs (in the UI, it's called "message" at the column header).

the current name of rqt_console is very mis-leading especially for Windows users, "console" is commonly used for other tools (cmd terminal), it's more like a word which every user has already gotten used to.

btw, I don't suggest to call this tool as "rqt_message", since the word of "message" is more related to node/topic msgs in ros world.

Message column not resizable

The change in ros-visualization/rqt_common_plugins#398 made it so the message column is not resizable by the user (Stretch mode documentation says "The size cannot be changed by the user or programmatically.").

This is a problem when rqt starts as a small window, e.g. on small screens. Here's a screenshot from a 1366 x 768 monitor:
screenshot from 2017-05-11 17-44-27

As you could imagine, I was annoyed that I couldn't resize the small message column (and surprised that it behaved differently to the other columns).

Perhaps it's sufficient to just change the default column width to something larger than the other columns?

rqt_console does not work after adding QoS profiles to RMW

The recent changes in rclpy make rqt_console fail where a positional qos_profile argument is now required.

Running

ros2 run rqt_console rqt_console
results in the following stack trace
RosPluginProvider.load(qt_gui_cpp/CppPluginProvider) exception raised in __builtin__.__import__(qt_gui_cpp.cpp_plugin_provider, [CppPluginProvider]):
Traceback (most recent call last):
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_gui/lib/python3.6/site-packages/rqt_gui/ros_plugin_provider.py", line 81, in load
    attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
ModuleNotFoundError: No module named 'qt_gui_cpp'

RecursivePluginProvider.discover() loading plugin "qt_gui_cpp/CppPluginProvider" failed:
Traceback (most recent call last):
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/qt_gui/lib/python3.6/site-packages/qt_gui/recursive_plugin_provider.py", line 60, in discover
    instance = self._plugin_provider.load(plugin_descriptor.plugin_id(), None)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_gui/lib/python3.6/site-packages/rqt_gui/ros_plugin_provider.py", line 91, in load
    raise e
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_gui/lib/python3.6/site-packages/rqt_gui/ros_plugin_provider.py", line 81, in load
    attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
ModuleNotFoundError: No module named 'qt_gui_cpp'

PluginManager._load_plugin() could not load plugin "rqt_console/Console":
Traceback (most recent call last):
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/qt_gui/lib/python3.6/site-packages/qt_gui/plugin_handler.py", line 102, in load
    self._load()
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/qt_gui/lib/python3.6/site-packages/qt_gui/plugin_handler_direct.py", line 55, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/qt_gui/lib/python3.6/site-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/qt_gui/lib/python3.6/site-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_gui_py/lib/python3.6/site-packages/rqt_gui_py/ros_py_plugin_provider.py", line 64, in load
    return super(RosPyPluginProvider, self).load(plugin_id, ros_plugin_context)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/qt_gui/lib/python3.6/site-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_gui/lib/python3.6/site-packages/rqt_gui/ros_plugin_provider.py", line 107, in load
    return class_ref(plugin_context)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_console/lib/python3.6/site-packages/rqt_console/console.py", line 84, in __init__
    self._subscribe(self._topic)
  File "/home/ANT.AMAZON.COM/allabana/roswss/ros2_master_ws/install/rqt_console/lib/python3.6/site-packages/rqt_console/console.py", line 145, in _subscribe
    self._subscriber = self._context.node.create_subscription(Log, topic, self.queue_message)
TypeError: create_subscription() missing 1 required positional argument: 'qos_profile'

(nice-to-have) move filtering classes to common pkgs

From @130s on February 7, 2013 2:26

I know it wasn't intended when rqt_console was initially written to make all those filter classes to be generic. But it would be very beneficial to have a set of filtering components that provide multiple types of filters and users can select / de-select them on GUI while system aggregates the result from all selected filters (like rqt_console does).

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

shell container addition returns a syntax error warning

when I add a shell container to an empty rqt environment, I get the following error:

`PluginManager._load_plugin() could not load plugin "rqt_shell/Shell":
Traceback (most recent call last):
  File "/opt/clearpath/2.6pre/sdk/lib/python2.7/dist-packages/qt_gui/plugin_handler.py", line 99, in load
    self._load()
  File "/opt/clearpath/2.6pre/sdk/lib/python2.7/dist-packages/qt_gui/plugin_handler_direct.py", line 54, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/opt/clearpath/2.6pre/sdk/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/clearpath/2.6pre/sdk/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 83, in load
    raise e
  File "/opt/clearpath/2.6pre/sdk/lib/python2.7/dist-packages/rqt_shell/spyder_shell_widget.py", line 109
    "-c 'source %s; /bin/bash -i'" % os.path.abspath(script_path)])
                                                                  ^
SyntaxError: invalid syntax`

system info
ubuntu 14.04
ros indigo
Utilized libraries:: Python 2.7.6, rospkg 1.1.2, PyQt 4.10.4 (QtCore, QtDeclarative, QtGui, QtNetwork, QtOpenGL, QtScript, QtSvg, QtWebKit, QtWidgets, QtXml, QtXmlPatterns, Qwt), Qt 4.8.6, SIP C++ bindings available.

repeatable on multiple physical computers running the same OS

"OSError: [WinError 193] %1" When Running "ros2 run rqt_console rqt_console"

Hi guys,
I am learning the ROS2 on Windows by the tutorials.
I meet an error "OSError: [WinError 193] %1" when running "ros2 run rqt_console rqt_console", and the detail output is:

Traceback (most recent call last):

File "E:\dev\ros2-eloquent\ros2-windows\Scripts\ros2-script.py", line 11, in
load_entry_point('ros2cli==0.8.7', 'console_scripts', 'ros2')()

File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2cli\cli.py", line 69, in main
rc = extension.main(parser=parser, args=args)

File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2run\command\run.py", line 72, in main
return run_executable(path=path, argv=args.argv, prefix=prefix)

File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2run\api_init_.py", line 61, in run_executable
process = subprocess.Popen(cmd)

File "c:\python37\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)

File "c:\python37\lib\subprocess.py", line 1207, in _execute_child
startupinfo)

OSError: [WinError 193] %1 is not a valid Win32 application.

I want to know how to solve this.
Any answer and idea will be appreciated!

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.