ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2016-01-20 17:27:08 -0500 | received badge | ● Good Answer (source) |
2015-06-24 17:06:20 -0500 | received badge | ● Necromancer (source) |
2015-06-24 15:15:37 -0500 | answered a question | Error using rqt with Xming 6.9.0.31 through PuTTY This a quite a specific and unique setup you have there ;-) So I can't easily reproduce this, but searching for your error message brought me to the Qt.AA_X11InitThreads flag, that can be set before the QApplication is constructed: http://doc.qt.io/qt-4.8/qt.html This flag is not being set currently by rqt, so you could try running rqt from source and edit the qt_gui/main.py file at about line 173: https://github.com/ros-visualization/... Directly before the line constructing the QApplication instance add a new line setting the mentioned attribute: If that solves your problem, you can file a pull request with this change, so it gets tested on other setups and can hopefully be added to the code. |
2015-05-29 09:36:05 -0500 | received badge | ● Necromancer (source) |
2014-09-12 08:39:57 -0500 | commented question | Keep axis value in rqt_plot This was not implemented when you asked. But Austin has been working on related issues and it might be working as you want it now. If not please file as feature request. |
2014-09-12 08:38:05 -0500 | commented question | How to run a newly created rqt plugin? Can you change the title of this question to "how to run a newly created rqt plugin". The Answer of "Wolf" is correct, so you can close this afterwards. I also updated the tutorial to avoid this issue. |
2014-09-12 07:34:55 -0500 | answered a question | ImportError for rqt plugin From your directory structure containing the So I would guess your |
2014-09-12 07:28:42 -0500 | commented question | Use rqt plugins as widgets in a "bigger" GUI Not completely sure if I understand your question. rqt_plugins are using the rqt_gui API to add widgets to the main window. You could replicate this API and call the plugins with your own API instance to make them add widgets to your GUI. But why? Rqt allows for arranging multiple plugin widgets... |
2014-09-12 07:13:54 -0500 | answered a question | Running rqt_gui plugins in Fuerte. For me rqt is working fine in fuerte. I don't have hydro installed, only fuerte and groovy and there are no conflicts. It might be a problem in your ROS setup. Can you check your PYTHONPATH environment variable to not contain any hydro paths. It should look similar to this when in a fuerte bash: |
2014-09-12 06:31:43 -0500 | answered a question | RQT Multiple UI files I assume you have read the rqt Python plugin tutorial: http://wiki.ros.org/rqt/Tutorials/Wri... There a UI file is loaded into self._widget which is then added to the main window. What you want to achieve now is to switch the contents of this widget. This is not anymore rqt specific, but a (Py)Qt question. Also there are multiple solutions to this, I think this one found here is what you want: http://stackoverflow.com/questions/46... The accepted answer tells you to use QStackedWidget with multiple widgets (each loaded from its own UI file) and switch between them: http://pyqt.sourceforge.net/Docs/PyQt... In you case that would mean creating a QStackedWidget as self._widget and then adding you UI based widgets to it: And then use the setCurrentIndex or setCurrentWidget methods of QStackedWidget to switch widgets in your callback function: |
2014-07-15 10:42:30 -0500 | received badge | ● Nice Answer (source) |
2014-03-17 14:47:15 -0500 | received badge | ● Necromancer (source) |
2014-03-17 08:05:48 -0500 | answered a question | terminate & launch other node from code I just had the same problem and was stunned to see how difficult it was to find a simple example for this basic task. So I added a minimal code example to the roslaunch wiki page: |
2014-02-16 06:45:37 -0500 | received badge | ● Nice Answer (source) |
2013-11-24 05:02:31 -0500 | received badge | ● Nice Answer (source) |
2013-11-24 03:11:31 -0500 | answered a question | How does rqt_pose_view plugin work? Sorry about the long delay for this answer. I updated the wiki page for this plugin to give a short introduction: http://wiki.ros.org/rqt_pose_view Basically it just displays the orientation part of a geometry_msgs/Pose message. You have to drag and drop the topic onto it... |
2013-11-15 03:17:06 -0500 | answered a question | qt_gui_cpp fails to build on Debian Jessie a workaround to not build PySide bindings has been posted here: https://github.com/ros-visualization/qt_gui_core/issues/35#issuecomment-28527836 |
2013-05-28 07:40:52 -0500 | received badge | ● Good Answer (source) |
2013-05-28 07:40:52 -0500 | received badge | ● Enlightened (source) |
2013-05-26 17:40:25 -0500 | received badge | ● Nice Answer (source) |
2013-04-08 05:28:50 -0500 | answered a question | PyQtGraphDataPlot and MatDataPlot fail to load The messages you saw are not errors, but merely debug messages. They show that you are missing packages for two of the three available ploting backends:
If they are available pre-packaged for your distribution you can simply install them. If not, at least for PyQtGraph it should be enough the download the source code and put it into your Python path. Since these two are missing, the least comfortable backend has to be used: QwtDataPlot. This one does not feature auto-scaling and other nice features, which the other two backends have. So if you want this, I suggest installing PyQtGraph. |
2013-03-22 01:47:24 -0500 | commented answer | Has anyone written a trajectory plotting tool? rqt_plot does not know anything about trajectories, it just plots numeric data over time (like rxplot, but with a choice of multiple plotting backends). Feel free to add a plugin for trajectory plotting, which can reuse the plotting backends. |
2013-03-06 02:46:16 -0500 | received badge | ● Nice Answer (source) |
2013-03-06 00:01:48 -0500 | received badge | ● Necromancer (source) |
2013-03-05 23:47:21 -0500 | received badge | ● Editor (source) |
2013-03-05 23:46:32 -0500 | answered a question | Run Script on Starting rqt_gui Shell Plugin This is currently not supported, but could be implemented. First as background info, rqt_shell offers three different backends for the actual command shell: 1) one doing a simple single command shell call for each command given 2) one based on the Spyder project's shell 3) one using an actual XTerm instance and just embedding its window into rqt_gui For 1) the script would have to be executed every time before the command, since the shell used only lives for the execution time of that single command. For 2) the script has to be run once after the shell is set up. For 3) the script would have to be passed as command line parameter when starting the XTerm instance. Please feel free to supply patches implementing any or preferably all of these. |
2013-02-27 22:24:35 -0500 | commented answer | What does python_qt_binding.loadUi's 3rd arg do in PyQt binding? This was certainly true for PySide 1.0.6, but has anyone checked if it changed in more recent versions? |
2012-11-27 06:13:39 -0500 | commented question | Problems with rqt / groovy / ubuntu As mentioned above the segfault is most likely bug #16. If you are not using C++ Plugins (image_viewer and rviz [broken]) a quick workaround is to delete the C++ extension: sudo rm /opt/ros/groovy/lib/python2.7/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so |
2012-10-19 04:46:04 -0500 | received badge | ● Necromancer (source) |
2012-10-19 04:45:02 -0500 | received badge | ● Supporter (source) |
2012-10-19 04:38:22 -0500 | commented answer | How to change Python Qt binding? This does not work. But I would consider implementing the use of the environment variable "QT_API" as other project already use it to force the binding (i.e. matplotlib). |
2012-10-19 04:37:41 -0500 | answered a question | How to change Python Qt binding? Using To run rqt_gui (and therefore your plugin) with a specific binding use the command line option '--qt-binding' or '-b':
For more command line options see rqt will also choose PySide, if PyQt is not installed on the system. |
2011-05-11 23:51:48 -0500 | received badge | ● Great Answer (source) |
2011-05-04 20:59:40 -0500 | received badge | ● Good Answer (source) |
2011-05-02 06:45:57 -0500 | received badge | ● Nice Answer (source) |
2011-05-02 02:53:29 -0500 | received badge | ● Teacher (source) |
2011-05-02 02:49:01 -0500 | answered a question | ROS packages for Ubuntu 11.04? Hi, I just installed ROS diamondback from the maverick apt sources on Ubuntu 11.04. I'm using only very few stacks, but they seem to work fine. Is there any place where tips about ROS on 11.04 are collected? The fixes I needed to make are the following: 1) The package ros-diamondback-geometry depends on renamed packages sip4 (now python-sip) and python-sip4-dev (now python-sip-dev). To resolve this I created dummy packages with the old names, depending on the new packages. For this I used the tool 'equivs' with minimal config files: sip4.conf: python-sip4-dev.conf: Then create and install these packages: 2) To get rid of some compile time dependency errors I added a local rosdep.yaml in the ROS_HOME (usually ~/.ros): Good luck Dorian |