ros-visualization / rqt

64 stars 72 forks source link

No publisher plugin available for RQT #101

Closed chrisspen closed 9 years ago

chrisspen commented 9 years ago

Under the "Use RQT To Send Commands" section of the ROS control tutorial it says:

Add the 'Publisher' plugin then choose the topic from the drop down box that commands any particular controller that you want to publish to.

However, RQT no longer displays any such menu item. I've installed all the ros-indigo-rqt-* packages on Ubuntu 14.04, and this is a screenshot of the resulting RQT plugins menu. There's no "Topics->Publisher" item available.

I originally reported this as a bug to the gazebo_ros_demos maintainer, but he claims this is a problem with RQT.

dirk-thomas commented 9 years ago

The plugin is called "Message Publisher" in the groups "Topics" in the "Plugins" menu. It should be available when you install ros-indigo-rqt-publisher. I would assume that this is not a bug in rqt itself but a problem with your specific installation because it works well for others.

Can you please post more information about your installation, e.g. the output of the following command:

dpkg -l | grep ros-indigo-rqt
chrisspen commented 9 years ago

I have ros-indigo-rqt-publisher installed as well as every other ros-indigo-rqt-* package.

ii  ros-indigo-rqt                                              0.2.14-1trusty-20150327-0415-+0000                     amd64        rqt is a Qt-based framework for GUI development for ROS. It consists of three parts/metapackages rqt (you're here) rqt_common_plugins - ROS backend tools suite that can be used on/off of robot runtime. rqt_robot_plugins - Tools for interacting with robots during their runtime. rqt metapackage provides a widget rqt_gui that enables multiple `rqt` widgets to be docked in a single window.
ii  ros-indigo-rqt-action                                       0.3.10-0trusty-20150329-1114-+0000                     amd64        rqt_action provides a feature to introspect all available ROS action (from actionlib) types. By utilizing rqt_msg, the output format is unified with it and rqt_srv. Note that the actions shown on this plugin is the ones that are stored on your machine, not on the ROS core your rqt instance connects to.
ii  ros-indigo-rqt-bag                                          0.3.10-0trusty-20150326-1826-+0000                     amd64        rqt_bag provides a GUI plugin for displaying and replaying ROS bag files.
ii  ros-indigo-rqt-bag-plugins                                  0.3.10-0trusty-20150326-1829-+0000                     amd64        rqt_bag provides a GUI plugin for displaying and replaying ROS bag files.
ii  ros-indigo-rqt-capabilities                                 0.1.2-0trusty-20150327-0555-+0000                      amd64        rqt package for visualization and management of capabilities
ii  ros-indigo-rqt-common-plugins                               0.3.10-0trusty-20150329-1117-+0000                     amd64        rqt_common_plugins metapackage provides ROS backend graphical tools suite that can be used on/off of robot runtime. To run any rqt plugins, just type in a single command "rqt", then select any plugins you want from the GUI that launches afterwards. rqt consists of three following metapackages: rqt - core modules of rqt (ROS GUI) framework. rqt plugin developers barely needs to pay attention to this metapackage. rqt_common_plugins (you're here!) rqt_robot_plugins - rqt plugins that are particularly used with robots during their runtime.
ii  ros-indigo-rqt-console                                      0.3.10-0trusty-20150327-0621-+0000                     amd64        rqt_console provides a GUI plugin for displaying and filtering ROS messages.
ii  ros-indigo-rqt-controller-manager                           0.9.1-0trusty-20150328-0536-+0000                      amd64        The rqt_controller_manager package
ii  ros-indigo-rqt-dep                                          0.3.10-0trusty-20150327-0619-+0000                     amd64        rqt_dep provides a GUI plugin for visualizing the ROS dependency graph.
ii  ros-indigo-rqt-ez-publisher                                 0.3.0-0trusty-20150328-2202-+0000                      amd64        The rqt_ez_publisher package
ii  ros-indigo-rqt-graph                                        0.3.10-0trusty-20150327-0553-+0000                     amd64        rqt_graph provides a GUI plugin for visualizing the ROS computation graph. Its components are made generic so that other packages where you want to achieve graph representation can depend upon this pkg (use rqt_dep to find out the pkgs that depend. rqt_dep itself depends on rqt_graph too).
ii  ros-indigo-rqt-graphprofiler                                0.1.2-0trusty-20150328-2119-+0000                      amd64        An experimental visualization system for anonymous publish subscribe architectures.
ii  ros-indigo-rqt-gui                                          0.2.14-1trusty-20150326-1724-+0000                     amd64        rqt_gui provides the main to start an instance of the ROS integrated graphical user interface provided by qt_gui.
ii  ros-indigo-rqt-gui-cpp                                      0.2.14-1trusty-20150326-1722-+0000                     amd64        rqt_gui_cpp enables GUI plugins to use the C++ client library for ROS.
ii  ros-indigo-rqt-gui-py                                       0.2.14-1trusty-20150326-1729-+0000                     amd64        rqt_gui_py enables GUI plugins to use the Python client library for ROS.
ii  ros-indigo-rqt-image-view                                   0.3.10-0trusty-20150326-1825-+0000                     amd64        rqt_image_view provides a GUI plugin for displaying images using image_transport.
ii  ros-indigo-rqt-joint-trajectory-controller                  0.9.1-0trusty-20150326-1743-+0000                      amd64        Graphical frontend for interacting with joint_trajectory_controller instances.
ii  ros-indigo-rqt-launch                                       0.3.10-0trusty-20150328-0652-+0000                     amd64        This rqt plugin ROS package provides easy view of .launch files. User can also start and end node by node that are defined in those files.
ii  ros-indigo-rqt-logger-level                                 0.3.10-0trusty-20150327-0554-+0000                     amd64        rqt_logger_level provides a GUI plugin for configuring the logger level of ROS nodes. rqt_logger_level takes over `wx`-based tool [[rxloggerlevel]].
ii  ros-indigo-rqt-moveit                                       0.4.0-0trusty-20150327-0538-+0000                      amd64        An rqt-based tool that assists monitoring tasks for MoveIt! motion planner developers and users. Currently the following items are monitored if they are either running, existing or published: Node: /move_group Parameter: [/robot_description, /robot_description_semantic] Topic: Following types are monitored. Published "names" are ignored. [sensor_msgs/PointCloud, sensor_msgs/PointCloud2, sensor_msgs/Image, sensor_msgs/CameraInfo] Since this package is not made by the MoveIt! development team (although with assistance from the them), please post issue reports to the designated tracker (not MoveIt!'s main tracker).
ii  ros-indigo-rqt-msg                                          0.3.10-0trusty-20150328-1724-+0000                     amd64        A Python GUI plugin for introspecting available ROS message types. Note that the msgs available through this plugin is the ones that are stored on your machine, not on the ROS core your rqt instance connects to.
ii  ros-indigo-rqt-nav-view                                     0.4.0-0trusty-20150328-2205-+0000                      amd64        rqt_nav_view provides a gui for viewing navigation maps and paths.
ii  ros-indigo-rqt-plot                                         0.3.10-0trusty-20150327-0538-+0000                     amd64        rqt_plot provides a GUI plugin visualizing numeric values in a 2D plot using different plotting backends.
ii  ros-indigo-rqt-pose-view                                    0.4.0-0trusty-20150328-2222-+0000                      amd64        rqt_pose_view provides a GUI plugin for visualizing 3D poses.
ii  ros-indigo-rqt-publisher                                    0.3.10-0trusty-20150327-0549-+0000                     amd64        rqt_publisher provides a GUI plugin for publishing arbitrary messages with fixed or computed field values.
ii  ros-indigo-rqt-py-common                                    0.3.10-0trusty-20150327-0535-+0000                     amd64        rqt_py_common provides common functionality for rqt plugins written in Python. Despite no plugin is provided, this package is part of the rqt_common_plugins repository to keep refactoring generic functionality from these common plugins into this package as easy as possible. Functionality included in this package should cover generic ROS concepts and should not introduce any special dependencies beside "ros_base".
ii  ros-indigo-rqt-py-console                                   0.3.10-0trusty-20150326-1743-+0000                     amd64        rqt_py_console is a Python GUI plugin providing an interactive Python console.
ii  ros-indigo-rqt-reconfigure                                  0.3.10-0trusty-20150328-1726-+0000                     amd64        This rqt plugin succeeds former dynamic_reconfigure's GUI (reconfigure_gui), and provides the way to view and edit the parameters that are accessible via dynamic_reconfigure. (12/27/2012) In the future, arbitrary parameters that are not associated with any nodes (which are not handled by dynamic_reconfigure) might become handled. However, currently as the name indicates, this pkg solely is dependent on dynamic_reconfigure that allows access to only those params latched to nodes.
ii  ros-indigo-rqt-robot-dashboard                              0.4.0-0trusty-20150328-2209-+0000                      amd64        rqt_robot_dashboard provides an infrastructure for building robot dashboard plugins in rqt.
ii  ros-indigo-rqt-robot-monitor                                0.4.0-0trusty-20150327-0538-+0000                      amd64        rqt_robot_monitor displays diagnostics_agg topics messages that are published by diagnostic_aggregator. rqt_robot_monitor is a direct port to rqt of robot_monitor. All diagnostics are fall into one of three tree panes depending on the status of diagnostics (normal, warning, error/stale). Status are shown in trees to represent their hierarchy. Worse status dominates the higher level status. Ex. 'Computer' category has 3 sub devices. 2 are green but 1 is error. Then 'Computer' becomes error. You can look at the detail of each status by double-clicking the tree nodes. Currently re-usable API to other pkgs are not explicitly provided.
ii  ros-indigo-rqt-robot-plugins                                0.4.0-0trusty-20150329-0029-+0000                      amd64        Metapackage of rqt plugins that are particularly used with robots during its operation. To run any rqt plugins, just type in a single command "rqt", then select any plugins you want from the GUI that launches afterwards. rqt consists of three following metapackages: rqt - provides a container window where all rqt tools can be docked at. rqt plugin developers barely needs to pay attention. rqt_common_plugins - ROS backend tools suite that can be used on/off of robot runtime. rqt_robot_plugins (You're here!)
ii  ros-indigo-rqt-robot-steering                               0.4.0-0trusty-20150326-1844-+0000                      amd64        rqt_robot_steering provides a GUI plugin for steering a robot using Twist messages.
ii  ros-indigo-rqt-runtime-monitor                              0.4.0-0trusty-20150326-1739-+0000                      amd64        rqt_runtime_monitor provides a GUI plugin viewing DiagnosticsArray messages.
ii  ros-indigo-rqt-rviz                                         0.4.0-0trusty-20150328-2345-+0000                      amd64        rqt_rviz provides a GUI plugin embedding RViz. Note that this rqt plugin does NOT supersede RViz but depends on it.
ii  ros-indigo-rqt-service-caller                               0.3.10-0trusty-20150328-1727-+0000                     amd64        rqt_service_caller provides a GUI plugin for calling arbitrary services.
ii  ros-indigo-rqt-shell                                        0.3.10-0trusty-20150326-1744-+0000                     amd64        rqt_shell is a Python GUI plugin providing an interactive shell.
ii  ros-indigo-rqt-srv                                          0.3.10-0trusty-20150329-1114-+0000                     amd64        A Python GUI plugin for introspecting available ROS message types. Note that the srvs available through this plugin is the ones that are stored on your machine, not on the ROS core your rqt instance connects to.
ii  ros-indigo-rqt-tf-tree                                      0.4.0-0trusty-20150328-0636-+0000                      amd64        rqt_tf_tree provides a GUI plugin for visualizing the ROS TF frame tree.
ii  ros-indigo-rqt-top                                          0.3.10-0trusty-20150327-0420-+0000                     amd64        RQT plugin for monitoring ROS processes.
ii  ros-indigo-rqt-topic                                        0.3.10-0trusty-20150326-1844-+0000                     amd64        rqt_topic provides a GUI plugin for displaying debug information about ROS topics including publishers, subscribers, publishing rate, and ROS Messages.
ii  ros-indigo-rqt-web                                          0.3.10-0trusty-20150326-1745-+0000                     amd64        rqt_web is a simple web content viewer for rqt. Users can show web content in Qt-based window by specifying its URL.
ablasdel commented 9 years ago

Mine seems fine but it seems to be a newer build of the same release

mine:

ii  ros-indigo-rqt-publisher                              0.3.10-0trusty-20150429-2357-+0000                  amd64        rqt_publisher provides a GUI plugin for publishing arbitrary messages with fixed or computed field values.

chrisspen's:

ii  ros-indigo-rqt-publisher                                    0.3.10-0trusty-20150327-0549-+0000                     amd64        rqt_publisher provides a GUI plugin for publishing arbitrary messages with fixed or computed field values.

@chrisspen try:

sudo apt-get update && sudo apt-get upgrade ros-indigo-* -y
chrisspen commented 9 years ago

This is odd. I just re-ran:

sudo apt-get install ros-indigo-desktop-full

and it ran perfectly, but when I run the upgrade I get the error:

The following packages have unmet dependencies:
  ros-indigo-ipa-canopen : Depends: ros-indigo-ipa-canopen-core but it is not installable
                      Depends: ros-indigo-ipa-canopen-ros but it is not installable

It seems neither of those packages exist in the repo...

dirk-thomas commented 9 years ago

What does the following command output:

rqt --list-plugins

Please also try running and post the output:

rospack profile
chrisspen commented 9 years ago

Ah, thanks. It looks like my reinstall of desktop-full fixed the RQT plugin issue, because I'm now seeing the Topic item. This issue with upgrading and ros-indigo-ipa-canopen seems unrelated, so I'll report that elsewhere.

davetcoleman commented 9 years ago

Glad we got to the bottom of this!

Chrispako990210 commented 1 month ago

On a side note, I had the same problem with ros humble. Ive done sudo apt install ros-humble-rqt-* and reinstalled the desktop-full. When I use the dpkg -l I see the packages downloaded but with rqt --list-plugins they dont show up. What worked for me was to launch rqt --force-discovery. Does anybody know how to work around this?