Different area on two sides of a double-acting cylinder #417
-
In actuator/cylinder, is the area(gain) of the cylinder considered the same on both sides of the cylinder? If it is a double-acting cylinder with different areas on both sides like in the image below, is there an inherent way we can model this in mujoco? (different gain based on the direction of pressure(ctrl) application) Example XML <!--Considering the same area on both sides-->
<cylinder name="act_sliding_jnt" joint="sliding_jnt" diameter="25" ctrlrange="-1.0 1.0" ctrllimited="true" /> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
By double-acting do you mean two independently controlled valves on either side of the piston? If yes then the answer is simple: connect two actuators to the same transmission target with different areas and opposite gains (one should have negative diameter). Note that the cylinder shortcut is very simple (implementation), you can just implement it with a general actuator. |
Beta Was this translation helpful? Give feedback.
By double-acting do you mean two independently controlled valves on either side of the piston?
If yes then the answer is simple: connect two actuators to the same transmission target with different areas and opposite gains (one should have negative diameter). Note that the cylinder shortcut is very simple (implementation), you can just implement it with a general actuator.