Hi,
I need the joints in my robot model to follow a sinusoidal reference signal in the joint space. I find a lot of tutorials for motion planning in the cartesian space, but none in the joint space. Is there a way to do that? How do I define a trajectory for the joints to follow?
Thanks
Joint space trajectory planning?
Re: Joint space trajectory planning?
Hello,
you have several possibilities to do so. You could directly apply desired joint positions to your joints via sim.setJointPosition or sim.setJointTargetPosition. Or you could use the Reflexxes Motion Library to drive to a desired joint configuration. For that, take for instance the demo robot Models/robots/non-mobile/UR10.ttm
Cheers
you have several possibilities to do so. You could directly apply desired joint positions to your joints via sim.setJointPosition or sim.setJointTargetPosition. Or you could use the Reflexxes Motion Library to drive to a desired joint configuration. For that, take for instance the demo robot Models/robots/non-mobile/UR10.ttm
Cheers
-
- Posts: 27
- Joined: 25 Apr 2017, 17:26
Re: Joint space trajectory planning?
Hi, thank you as usual for your quick and kind reply.
I understand how you can set a target position and make the joint follow it. However, I was wondering if it was possible to manually design the trajectories in the joint space, as you would with a path in the cartesian space. For example, I want the joints to follow a sinusoidal trajectory. Is there any way to do that? If I have to design it externally, how do I pass the reference signal so that the joints can move accordingly? Thanks in advance, you're the best
I understand how you can set a target position and make the joint follow it. However, I was wondering if it was possible to manually design the trajectories in the joint space, as you would with a path in the cartesian space. For example, I want the joints to follow a sinusoidal trajectory. Is there any way to do that? If I have to design it externally, how do I pass the reference signal so that the joints can move accordingly? Thanks in advance, you're the best
Re: Joint space trajectory planning?
Yes, you can do that programmatically. You will have to create for instance a table that contains the desired joint angles, for a given moment in time. Then you can loop over that table and apply the joint values to your robot.
Cheers
Cheers