-
Notifications
You must be signed in to change notification settings - Fork 64
Add files via upload #41
base: master
Are you sure you want to change the base?
Conversation
@@ -23,74 +23,36 @@ | |||
import time | |||
|
|||
# driver = DobotDriver('COM4') | |||
driver = DobotDriver('/dev/tty.usbmodem1421') | |||
driver = DobotDriver('COM4') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please retain interval for demo purposes.
|
||
# exit(0) | ||
|
||
freq = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please name the file to reflect the purpose instead of part of name.
@@ -21,17 +21,15 @@ | |||
import time | |||
|
|||
# The top Z to go to. | |||
up = 50 | |||
up = 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may not be a safe value.
# Maximum speed in mm/s | ||
speed = 400 | ||
# Acceleration in mm/s^2 | ||
acceleration = 300 | ||
|
||
# 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please retain the port statements for demo purposes.
@@ -0,0 +1,35 @@ | |||
import math |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please describe what this module's purpose is.
@@ -0,0 +1,19 @@ | |||
from dobot import DobotDriver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.