104 lines
2.8 KiB
XML
104 lines
2.8 KiB
XML
<?xml version="1.0" ?>
|
|
<sdf version="1.5">
|
|
<model name="handle_wheel_valve">
|
|
<link name="handle">
|
|
<inertial>
|
|
<pose>0.03 0 0.01 0 0 0</pose>
|
|
<mass>4.6114</mass>
|
|
<inertia>
|
|
<ixx>0.0252</ixx>
|
|
<ixy>-0.0009</ixy>
|
|
<ixz>0.0000</ixz>
|
|
<iyy>0.0129</iyy>
|
|
<iyz>0.0000</iyz>
|
|
<izz>0.0143</izz>
|
|
</inertia>
|
|
</inertial>
|
|
<collision name="collision">
|
|
<geometry>
|
|
<mesh>
|
|
<uri>model://drc_practice_handle_wheel_valve/meshes/handle_wheel_valve.dae</uri>
|
|
</mesh>
|
|
</geometry>
|
|
<surface>
|
|
<bounce>
|
|
<restitution_coefficient>0.01</restitution_coefficient>
|
|
<threshold>5.0</threshold>
|
|
</bounce>
|
|
<friction>
|
|
<ode>
|
|
<mu>5</mu>
|
|
<mu2>5</mu2>
|
|
</ode>
|
|
</friction>
|
|
<contact>
|
|
<ode>
|
|
<soft_cfm>0.01</soft_cfm>
|
|
<kp>1000000.0</kp>
|
|
<kd>100000.0</kd>
|
|
<max_vel>0.01</max_vel>
|
|
<min_depth>0.001</min_depth>
|
|
</ode>
|
|
</contact>
|
|
</surface>
|
|
</collision>
|
|
<visual name="visual">
|
|
<geometry>
|
|
<mesh>
|
|
<uri>model://drc_practice_handle_wheel_valve/meshes/handle_wheel_valve.dae</uri>
|
|
</mesh>
|
|
</geometry>
|
|
</visual>
|
|
</link>
|
|
<!--
|
|
This is just a visual until SDF collide_bitmask is implemented.
|
|
Without collide_bitmask, the "attachment" will collide with a
|
|
wall that separates the handle from the attachment causing jitter
|
|
-->
|
|
<!--
|
|
<link name="attachment">
|
|
<pose>0 0 0.124968 0 0 0</pose>
|
|
<collision name="collision">
|
|
<geometry>
|
|
<mesh>
|
|
<uri>model://drc_practice_ball_valve/meshes/attachment.dae</uri>
|
|
</mesh>
|
|
</geometry>
|
|
</collision>
|
|
|
|
<visual name="visual">
|
|
<geometry>
|
|
<mesh>
|
|
<scale>1.6 1.6 1.6</scale>
|
|
<uri>model://drc_practice_ball_valve/meshes/attachment.dae</uri>
|
|
</mesh>
|
|
</geometry>
|
|
</visual>
|
|
</link>
|
|
-->
|
|
<joint name="joint" type="revolute">
|
|
<parent>world</parent>
|
|
<child>handle</child>
|
|
<axis>
|
|
<xyz>1 0 0</xyz>
|
|
<limit>
|
|
<lower>-12.56</lower>
|
|
<upper>12.56</upper>
|
|
</limit>
|
|
<dynamics>
|
|
<!--velocity dependent viscous damping coefficient of the joint-->
|
|
<damping>0</damping>
|
|
<!--default 0, static friction value of the joint-->
|
|
<friction>0</friction>
|
|
</dynamics>
|
|
<use_parent_model_frame>true</use_parent_model_frame>
|
|
</axis>
|
|
<physics>
|
|
<ode>
|
|
<implicit_spring_damper>1</implicit_spring_damper>
|
|
</ode>
|
|
</physics>
|
|
</joint>
|
|
</model>
|
|
</sdf>
|