SetCollisionLevel does not work via pythonAPI


I added to the python API a command to set the collision level. Below you can see the communication between PC and robot:

Send to SetCollisionLevel(3)
Receive from 0,{},SetCollisionLevel(3);

It looks like that the “SetCollisionLevel()” command is correctly applied and acknowledged by the robot. However, the collision level is not updated in the Dobot Studio Pro and I think that the collision level is not changed at all.

Could it be that the current firmware ( does not support to use “SetCollisionLevel()” via python or any other API yet?


Yes, the interface used to change CollisionLevel in TCP/IP is different from the interface used in DobotStudio, so it doesn’t change in the input command software, but it actually works. You can run the Python script to try it out


Thanks, I will test it.