Skip to content

Commit 4b511aa

Browse files
committed
gladevcp -speedcontrol: add angular jograte command
forgot to add the command to output the rate whenn \the widget is changed
1 parent 5ce226a commit 4b511aa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/python/gladevcp/speedcontrol.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,11 @@ def get_value(self):
285285
# we are not sync, so
286286
def _on_value_changed(self, widget):
287287
value = widget.get_value()
288+
288289
if self.type_linear_jog:
289290
self._action.SET_JOG_RATE(value)
291+
elif self.type_angular_jog:
292+
self._action.SET_JOG_RATE_ANGULAR(value)
290293

291294
if value != self._value:
292295
self._value = value

0 commit comments

Comments
 (0)