Control multi dobot


#1

hi,
i need to control multi dobot with only one computer at the same time. I’m studyng your api but seems not support multi dobot it’s true? can you help me?
thank’s


#2

I think you can send data to two dobot arms at the same time using communication protocol through serial port, so it will be multi control, right?


#3

ok thank you i’m tryng to communicate with serial.
i can connect to dobot but you can explain me one serial command like this :

Figure 8 The instruction packet of SetDeviceName
Header Len
Payload
Checksum
ID
Ctrl
Params
rw isQueued
0xAA 0xAA 2+0 1 0 0 Empty
Payload
checksum

can you write me an example use of this command in c++


#4

You can refer to the MFC demo or arduino demo on our official website, they are based on communication protocal:


#5

i’m quite shure that mfc demo is based on your sdk and not on communication protocol. can you post me the peace of code
that you refer?


#6

Hi viniciolindo,

We have work a lot on the API, and the latest API that supports controlling multi Dobots will be released next week!


#7

AA AA 13 54 11 05 00 00 00 00 16 80 00 00 16 80 00 00 00 00 00 00 6A

For example you can send the setptp command (decimal 84, hex 54) to dobot as above. When calculating checksum, ignore very first three items(AA AA 13) and sum rest of them and subtract from 100. you get 6A.


#8

The fact about the part where it will be having the part that has the most of the part which will have the [porcess for the control multi dobot where the setup command for it through Microsoft support chat will manage the process.