Python 3 library for Dobot Magician


#1

Hi all,

I have created a library to use the Dobot Magician from Python 3, this first basic version allows to move the dobot on linear movements.

It communicates using the protocol over serial port without the need of compiling the driver for your system.

[edit] github url has changed


#2

library can now be installed using ‘pip install pydobot’


#3

Thanks for creating this! So much better than the software provided by Dobot.

I’ve extended it slightly to allow the gripper to work. I’ll try and make a pull request soon along with any other useful code I might add.


#4

I’m glad you like it. feel free to contribute, thanks :slight_smile:


#5

Hi can you send the code or commands for using the gripper.?


#6

Hi luismesas,
Thanks for this library.
I really like it.
Is there any possiblity to calibrate the DOBOT with this library?


#7

I can extend the functionality of the library, what do you want to use exactly?


#8

Continuing the discussion from Python 3 library for Dobot Magician:

你好,我想使用你的库做一些简单的物体抓取,可是我用device.grip(1)开启这个爪夹,但是device.grip(0)却无法将此抓夹关闭。希望你能够给我提供一些帮助,感激不尽!我的联系方式:QQ:1224680784


#9

I find your code works for Dobot Magician lite as well. However, I ran into a problem using a suction cup. It gets enabled but it won’t get disabled. For example,

  • device.suck(True) # it works
  • device.suck(False) # it does not work

Do you have any suggestions on where I should investigate?