ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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
0

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 filename.py

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

Follow this Tutorial series https://www.youtube.com/watch?v=CNgfM...

edit flag offensive delete link more

Comments

1

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 image jayess  ( 2018-12-18 05:54:10 -0500 )edit
1

Thank you @jayess. I have updated the answer.

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

Question Tools

2 followers

Stats

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

Seen: 177 times

Last updated: Dec 24 '18