How does Getpos() work?


#1

How does Getpos() work?

I tried:

P10 = GetPose()

GetPose(P10)

I wrote a point to “point” and wrote it to “var”, but after execution, the values in them do not change.

P10={coordinate = {x = 0.0,y = 0.0,z = 0.0,r = 0.0}, tool = 0, user = 0}

#2

by the method of “scientific poke” I figured out

P10 = GetPose()

P10={coordinate = {0.0, 0.0, 0.0, 0.0}, tool = 0, user = 0}

#4

I confirmed to the developer that this is a bug, in 1.5.6.0 global variables cannot change table type.

I asked the developer for the latest beta version, which fixed the problem. Look forward to the release of 1.5.7.0