Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
Fix randomization problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquelinekay committed Apr 11, 2016
1 parent 983f17b commit 7ebfc18
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -286,7 +286,7 @@ class JointStatePublisherGui(QWidget):
self.joint_map[name] = {'slidervalue': 0, 'display': display,
'slider': slider, 'joint': joint}
# Connect to the signal provided by QSignal
slider.valueChanged.connect(self.sliderUpdate)
slider.sliderMoved.connect(self.sliderUpdate)

# Synchronize slider and displayed value
self.sliderUpdate(None)
Expand Down Expand Up @@ -321,6 +321,7 @@ class JointStatePublisherGui(QWidget):
joint_info['slider'].setValue(joint_info['slidervalue'])
joint_info['display'].setText("%.2f" % joint['position'])


def center_event(self, event):
self.center()

Expand Down

0 comments on commit 7ebfc18

Please sign in to comment.