Skip to content

Commit ded1dd9

Browse files
committed
Remove standard PyQT dependency, and use python_qt_binding instead
1 parent 5eee2b7 commit ded1dd9

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

coffee_ws/src/coffee_head_motion_recorder/coffee_head_motion_recorder/recorder_ui.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
# Import custom service types
2323
from coffee_head_motion_recorder_msgs.srv import SaveMotion, LoadMotion, ListMotions
2424

25-
from PyQt5.QtWidgets import (
25+
from python_qt_binding.QtWidgets import (
2626
QApplication, QMainWindow, QWidget, QVBoxLayout, QHBoxLayout,
2727
QPushButton, QLabel, QLineEdit, QFileDialog, QListWidget,
2828
QGroupBox, QProgressBar, QSplitter, QTabWidget, QMessageBox,
2929
QCheckBox, QSlider, QComboBox, QGraphicsView, QGraphicsScene,
3030
QGraphicsItem, QGraphicsRectItem, QGraphicsLineItem
3131
)
32-
from PyQt5.QtGui import QColor, QPen, QBrush, QPainter, QFont
33-
from PyQt5.QtCore import Qt, QTimer, QSize, QRectF, QPointF
32+
from python_qt_binding.QtGui import QColor, QPen, QBrush, QPainter, QFont
33+
from python_qt_binding.QtCore import Qt, QTimer, QSize, QRectF, QPointF
3434

3535
class MotionRecorderUI(QMainWindow):
3636
"""Qt-based user interface for the motion recorder"""

coffee_ws/src/coffee_head_motion_recorder/launch/motion_recorder.launch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def generate_launch_description():
5050

5151
# Configure nodes
5252
recorder_node = Node(
53-
package='motion_recorder',
53+
package='coffee_head_motion_recorder',
5454
executable='recorder_node',
5555
name='motion_recorder',
5656
output='screen',
@@ -64,7 +64,7 @@ def generate_launch_description():
6464
)
6565

6666
ui_node = Node(
67-
package='motion_recorder',
67+
package='coffee_head_motion_recorder',
6868
executable='recorder_ui',
6969
name='motion_recorder_ui',
7070
output='screen',

coffee_ws/src/coffee_head_motion_recorder/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<depend>std_msgs</depend>
1212
<depend>sensor_msgs</depend>
1313
<depend>std_srvs</depend>
14-
<depend>python3-pyqt5</depend>
14+
<depend>python_qt_binding</depend>
1515
<depend>dynamixel_sdk</depend>
1616
<depend>coffee_head_motion_recorder_msgs</depend>
1717

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[develop]
2-
script_dir=$base/lib/motion_recorder
2+
script_dir=$base/lib/coffee_head_motion_recorder
33
[install]
4-
install_scripts=$base/lib/motion_recorder
4+
install_scripts=$base/lib/coffee_head_motion_recorder

0 commit comments

Comments
 (0)