Conversation
|
|
||
| # driver = DobotDriver('COM4') | ||
| driver = DobotDriver('/dev/tty.usbmodem1421') | ||
| driver = DobotDriver('COM4') |
There was a problem hiding this comment.
Please retain the original com port as an example for windows already exists and is commented out above.
| while not ret[1]: | ||
| ret = driver.Steps(steps1, steps2, steps3, 1, 0, 1, gripper, toolRotation) | ||
|
|
||
| time.sleep(3) |
There was a problem hiding this comment.
Please retain interval for demo purposes.
|
|
||
| # exit(0) | ||
|
|
||
| freq = [ |
There was a problem hiding this comment.
This removal doesn't seem necessary, please retain the example code. If this example is not exactly what you'd like to have, please feel free to create another example or split this one.
| @@ -0,0 +1,243 @@ | |||
| #! /usr/bin/env python | |||
There was a problem hiding this comment.
Please name the file to reflect the purpose instead of part of name.
|
|
||
| # The top Z to go to. | ||
| up = 50 | ||
| up = 100 |
There was a problem hiding this comment.
This may not be a safe value.
|
|
||
| # dobot = Dobot('/dev/tty.usbmodem1421', debug=True, fake=True) | ||
| # dobot = Dobot('COM4', debug=True) | ||
| dobot = Dobot('/dev/tty.usbmodem1421', debug=True) |
There was a problem hiding this comment.
Please retain the port statements for demo purposes.
| @@ -0,0 +1,35 @@ | |||
| import math | |||
There was a problem hiding this comment.
Please describe what this module's purpose is.
| @@ -0,0 +1,19 @@ | |||
| from dobot import DobotDriver | |||
There was a problem hiding this comment.
Please name the file to reflect that it is an example instead of part of your name.
| @@ -0,0 +1,5 @@ | |||
| <RCC> | |||
| <qresource prefix="res"> | |||
| <file>logo.jpg</file> | |||
There was a problem hiding this comment.
I don't see a file named logo.jpg in the PR. Did I miss it?
|
Communication moved from an off-topic issue:
|
No description provided.