Trunk tutorial: problem in interactions between robot and objects #146
-
Hi everyone, I am starting to make some simulations with the cable-driven trunk-like soft robot (https://github.com/SofaDefrost/SoftRobots/tree/master/docs/sofapython3/tutorials/Trunk). I would like to start from this design a soft manipulator to simulate a whole-arm grasping of an object. I am using the inverse mode in the code, so I set the target position in space that has to be reached by the robot with its end-effector. In this initial phase, I would like to add a simple cube like an obstacle in the achievement of this task: in particular, I added the cube to the simulation with its mechanical, collision and visual models. Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Hi Camilla, It seems to me that you just forgot to add the collision model of the trunk: trunk = Trunk(simulation, inverseMode=inverseMode)
trunk.addVisualModel(color=[1., 1., 1., 0.8])
trunk.addCollisionModel() # <-- forgotten line
trunk.fixExtremity() Eulalie |
Beta Was this translation helpful? Give feedback.
Hi Camilla,
It seems to me that you just forgot to add the collision model of the trunk:
Eulalie