Multiple times control of Prismatic Joint

Typically: "How do I... ", "How can I... " questions
Post Reply
ZZhang

Multiple times control of Prismatic Joint

Post by ZZhang »

Hello, sorry if I missing something. in the control of prismatic joint, How could I set next Joint Target Position after the previous movement is completely finishing while the interval time is unknown. I am not using API and the Motor and PID control are enabled.

in my scenario, I tried the way as here described. However is not working. is there any way to do that?

Cheers.

coppelia
Site Admin
Posts: 10366
Joined: 14 Dec 2012, 00:25

Re: Multiple times control of Prismatic Joint

Post by coppelia »

Hello,

you will have to use some code and API in some way, otherwise you can't achieve this.
You have several possibilities to feed the movement data to your robot, either blindly, or by checking whether the desired position was yet reached. Then you can feed the next joint positions, etc.
Or you can use the Reflexxes motion library for that. Have a look at this demo scene.

Cheers

Post Reply