Hello,
I want to model a rope with a changing length .I used a prismatic joint but i cant find a remote api function to change joint range during simulation.
Is there a way to model such kind of rope? or is there any way to change the range of a prismatic joint using python?
modeling a rope with a changing length
Re: modeling a rope with a changing length
Hi vreprobot,
why do you want to change the joint range instead of working with joint position?
why do you want to change the joint range instead of working with joint position?
Re: modeling a rope with a changing length
Because the rope is connecting two robots to each other. But when each of them moves the joint position changes and when it reaches it's max or min a force is applied to robots and they cant move any more. But sometimes after the joint reaches it's max position I want to make the joint range bigger so the robots can move.
Re: modeling a rope with a changing length
Looks like you need to set a larger joint range in the first place.
You can apply forces/torques to a joint, and also define a custom controller with joint callback functions.
You can apply forces/torques to a joint, and also define a custom controller with joint callback functions.