Hi,
I am trying to create paths with tightly controlled TCP velocities. In general movep has been working well for this. However, I have recently realized that movep does not seem to respect the target TCP rotation vector. At least not in the way I would expect.
As an example you can try the following commands one at a time on a UR10 (reproducible in simulator).
movep(p[0.6,-0.1,0.2,0.0,1.6,0.0], a=0.5, v=0.3, r=0.0)
movep(p[0.6,-0.2,0.2,0.0,1.4,0.0], a=0.5, v=0.3, r=0.0)
Try going back and forth a couple times and note that it reaches the end positions correctly but it does not reach the target rotation.
If you call a subsequen movep command with a different position but the same orientation, it then gets closer to the target orientation.
The next plot is the result of these three moves
movep(p[0.6,-0.1,0.2,0.0,1.4,0.0], a=0.5, v=0.3, r=0.0)
movep(p[0.6,-0.2,0.2,0.0,1.6,0.0], a=0.5, v=0.3, r=0.0)
movep(p[0.6,-0.1,0.2,0.0,1.6,0.0], a=0.5, v=0.3, r=0.0)
I find this really strange. I’m hoping someone will have some insights.
Thanks,
Gabe