Dobot MG400 SetUser() and GetPose()


#1

Dear Community-Members,

I have an issue with two essential command for robot arm MG400: SetUser(user,{x,y,z,r}) and GetPos(user_frame, user_tool).

I tried to execute a simple coordinate transformation in LUA-Script and to get the current position of the robot arm:

print(GetPose(0,0))

SetUser(1,{10,10,10,0})

SetTool(1,{0,0,0,0})

print(GetPose(1,1))

The script delivers the same result for both print-commands. GetPose works well after Update of the firmware to the version 1.5.7.0.

The user coordinate system can be only manual modified via user interface in settings of Dobot Studio Pro. The same command SetUser fails in script.

After execution of SetUser(user,{x,y,z,r}), absolutely nothing happenings. In firmware version 1.5.6.0, SetUser works well, but GetPos only for initial coordinate system.

Does anybody have the same problem with combination of both commands?

Best Thanks for your contribution.


#2

Hi Olek,
Did you found any solution for this.
This is with me on CR5, DobotStudioPr0 2.7.1 version.