We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf3177 commit 181f271Copy full SHA for 181f271
1 file changed
uiflow2/libs/DynamixelDriver.py
@@ -240,10 +240,11 @@ def __init__(self):
240
self._tilt = Dynamixel(2)
241
#print("get current_pos")
242
pan_offset = self._pan.readPresentPosition()
243
- if pan_offset:
244
- tilt_offset = self._tilt.readPresentPosition()
245
- else:
246
- tilt_offset = None
+ tilt_offset = self._tilt.readPresentPosition()
+ #if pan_offset:
+ # tilt_offset = self._tilt.readPresentPosition()
+ #else:
247
+ # tilt_offset = None
248
#print("check")
249
if pan_offset and tilt_offset:
250
self._controls = [
0 commit comments