Skip to content

Commit 6547c44

Browse files
committed
Remove standard PyQT dependency, and use python_qt_binding instead
1 parent e240880 commit 6547c44

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

coffee_ws/src/dynamixel_test_ui/dynamixel_test_ui/dynamixel_ui_node.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
import rclpy
66
from rclpy.node import Node
77
from rclpy.qos import QoSProfile
8-
from PyQt5.QtWidgets import (QApplication, QMainWindow, QWidget,
8+
from python_qt_binding.QtWidgets import (QApplication, QMainWindow, QWidget,
99
QVBoxLayout, QHBoxLayout, QLabel,
1010
QPushButton, QCheckBox)
11-
from PyQt5.QtGui import QPainter, QColor, QPen, QFont, QBrush
12-
from PyQt5.QtCore import Qt, QPoint, QRect, QTimer
11+
from python_qt_binding.QtGui import QPainter, QColor, QPen, QFont, QBrush
12+
from python_qt_binding.QtCore import Qt, QPoint, QRect, QTimer
1313

1414
# Import Dynamixel SDK interfaces
1515
from dynamixel_sdk_custom_interfaces.msg import SetPosition

coffee_ws/src/dynamixel_test_ui/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<depend>std_msgs</depend>
1414
<depend>dynamixel_sdk</depend>
1515
<depend>dynamixel_sdk_custom_interfaces</depend>
16+
<depend>python_qt_binding</depend>
1617

1718
<test_depend>ament_copyright</test_depend>
1819
<test_depend>ament_flake8</test_depend>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
rclpy>=0.9.0
22
numpy>=1.20.0
3-
PyQt5>=5.15.0 # For the UI elements
4-
pyqtgraph>=0.12.0 # For plotting
3+
# PyQt5 removed - using python_qt_binding (declared in package.xml)
4+
pyqtgraph>=0.12.0 # For plotting (works with python_qt_binding)
55
pyyaml>=5.1.0 # For configuration handling

0 commit comments

Comments
 (0)