set the mechanical properties
set the mechanical properties
I want to design a cuboid located in the middle of two cylinders, by being squeezed by the two cylinders to make the cuboid bend into a circular shape, how do I set the mechanical properties of the cylinder and the cuboid? I am using version 4.6.0.
Re: set the mechanical properties
Currently, only the MuJoCo engine can perform simulation of deformable bodies.
See the example scene in scenes/mujoco/stringsRopesClothsAndSoftBodies.ttt.
See the example scene in scenes/mujoco/stringsRopesClothsAndSoftBodies.ttt.
Re: set the mechanical properties
I have seen the example, but I still don't know how to set the force, I want to set a cylinder to exert a certain amount of force on other objects, what tool should be used to set it
Re: set the mechanical properties
Apply the force to the cylinder object (sim.addForce / sim.addForceAndTorque) or mount the cylinder onto a joint and apply force to the joint (sim.setJointTargetForce with the joint set in force/torque control mode, or design your own force controller which could be as simple as apply a constant force).