Skip to content

Two Dobots cooperation. Used Dobot studio and PyDobot

Notifications You must be signed in to change notification settings

OlegSirenko/DobotCooperation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

DobotCooperation

Two Dobots cooperation. Used Dobot studio and PyDobot

How does it works?

Please note that Padobot does not have access to sensors, thats why we use two scripts.

First script - NewGrippingCubeFromRail. This script for IDE Dobot Studio. Second script - main_function. This script for Python IDE.

If you don't need sensors in your project

Just use pyDobot. There is example of code:

from pydobot import Dobot

dobot1 = Dobot(port="COM4")  # init DOBOT (always check COM port)
dobot2 = Dobot(port="COM5")  # init DOBOT (always check COM port)

x, y, z, r = dobot1.get_pose().position  # getting pose of dobot, to have x, y, z
dobot1.move_to(x, y, z - 15)

x, y, z, r = dobot2.get_pose().position  # getting pose of dobot, to have x, y, z
dobot2.move_to(x, y, z - 15)

dobot1.conveyor_belt_distance(speed=26.5, distance=10000, direction=1) # use 1 if you need to forward conveyor belt to wires of connection 

About

Two Dobots cooperation. Used Dobot studio and PyDobot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages