Rope simulation #4346
Replies: 2 comments 2 replies
-
We do have a model of rope in the library As for your approach the only way to know for sure would be to try and see what happens :) |
Beta Was this translation helpful? Give feedback.
-
I wanna create basic rocket simulation but I couldnt understand how can I create I couldnt find rocket simulation example |
Beta Was this translation helpful? Give feedback.
-
Hello,
I was wondering how could I simulate a rope in Webot.
Use case: I want to simulate some sort of sailing boat, which indeed feature a lot of them to control the sails.
Model of a rope :
I think that we must not try to simulate the true rope (that would be very computation intensive, if we model that like a chain of element, in term of collision / links between element...)
What I was thinking of was a SliderJoint with a max length, with BallJoint on each extremities. When it reach the max position (ie the length of the rope) it will start to pull on the extremities and apply force to get extremities at the given length. Otherwise, not force would be applied (ie the robe is not in tension). We could even add some sort of "spring" next to/with/instead of the SliderJoint to simulate the elongation of a rope.
I could see an issue with using the max position of the slider joint to monitor the rope, is that, I've been doing some time ago experiment with changing the max position during the simulation, but it's not very convincing to make the length of the rope vary during the simulation. (and that would be very handy to drive sails, for instance). Moreover I had to use the supervisor for that, and I would prefer avoiding that, as long as possible.
That my hot take on that, I'm trying to sum up my ideas, feels free to challenge it :)
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions