Ask Your Question

Please help me with rqt

asked 2018-12-18 01:45:18 -0500

yach1303 gravatar image

Hi I have a .ui code which was written with PyQt5. But I just realized that ROS rqt only supports PyQt4. Is there any way to integrate all the .ui files with PyQt5 into ROS rqt user interface? Or should I change all the name of methods and modules one by one? thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-18 02:14:18 -0500

pavankumarbn gravatar image

updated 2018-12-24 01:03:20 -0500

  1. $ sudo apt-get install qt-sdk - to install QT
  2. $ sudo apt-get install python-qt4 pyqt4-dev-tools - to install Python bindings for Qt cross-platform

After 1 and 2, Create required UI using QtCreater.

  1. $ pyuic4 -x filename.ui -o

  2. In integrate ROS code to interact with respect to UI Clicks

Follow this Tutorial series

edit flag offensive delete link more



Please don't post link-only answers. If the video disappears then this answer no longer has value. Please update your answer with the relevant information to answer this question.

jayess gravatar imagejayess ( 2018-12-18 05:54:10 -0500 )edit

Thank you @jayess. I have updated the answer.

pavankumarbn gravatar imagepavankumarbn ( 2018-12-24 01:03:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-12-18 01:45:18 -0500

Seen: 54 times

Last updated: Dec 24 '18