diff --git a/combined_robot_hw_tests/package.xml b/combined_robot_hw_tests/package.xml index 20ec0f162..9263915b3 100644 --- a/combined_robot_hw_tests/package.xml +++ b/combined_robot_hw_tests/package.xml @@ -24,6 +24,8 @@ combined_robot_hw controller_manager + controller_manager_msgs + controller_manager_tests hardware_interface roscpp @@ -31,8 +33,6 @@ pluginlib - controller_manager_msgs - controller_manager_tests rostest diff --git a/rqt_controller_manager/src/rqt_controller_manager/controller_manager.py b/rqt_controller_manager/src/rqt_controller_manager/controller_manager.py index f913d731c..97448f7a8 100644 --- a/rqt_controller_manager/src/rqt_controller_manager/controller_manager.py +++ b/rqt_controller_manager/src/rqt_controller_manager/controller_manager.py @@ -120,15 +120,13 @@ def __init__(self, context): # Timer for controller manager updates self._list_cm = ControllerManagerLister() self._update_cm_list_timer = QTimer(self) - self._update_cm_list_timer.setInterval(1000.0 / - self._cm_update_freq) + self._update_cm_list_timer.setInterval(int(1000.0 / self._cm_update_freq)) self._update_cm_list_timer.timeout.connect(self._update_cm_list) self._update_cm_list_timer.start() # Timer for running controller updates self._update_ctrl_list_timer = QTimer(self) - self._update_ctrl_list_timer.setInterval(1000.0 / - self._cm_update_freq) + self._update_ctrl_list_timer.setInterval(int(1000.0 / self._cm_update_freq)) self._update_ctrl_list_timer.timeout.connect(self._update_controllers) self._update_ctrl_list_timer.start()