Collision issue on gazebo 9 ?

asked 2020-08-18 08:35:09 -0500

Tomlogan gravatar image

updated 2020-08-18 08:38:24 -0500

Hi everyone,

I face some trouble to place a boat on a step to study its motor and steering.

image description

This occurs from both sides of this catamaran-like boat

image description

Seems that the hull is inside the step, is it an issue with the physic engine (default ODE) or the mesh ?

I launch gazebo through a roslaunch file and a test world.

Here is the part of the URDF file describing the hull :

<link name="boat_link">
    <inertial>
        <origin xyz="0 0 0" rpy="0 0 0"/>
        <mass value="38.718"/>
        <inertia ixx="16.283" ixy="0.008" ixz="0.458" iyy="19.728" iyz="0.0" izz="33.013"/>
    </inertial>

    <collision>
        <origin xyz="0 0 0" rpy="0 0 0"/>
        <geometry>
            <mesh filename="package://aquanaute_description/models/meshes/Assambly_aquanaute.stl"/>
        </geometry>
    </collision>

    <visual>
        <origin rpy="0 0 0" xyz="0 0 0"/>
        <geometry>
            <mesh filename="package://aquanaute_description/models/meshes/Assambly_aquanaute.stl"/>
        </geometry>
        <material name="gray"/>
    </visual>
</link>
edit retag flag offensive close merge delete

Comments

hello, what is the value of the min_depth and max_vel parameter ? Explanation about those parameters are here, "constraints parameters" 3 & 4. Are you sure that for the step the visual and collision geometry are the same ?

Clément Rolinat gravatar imageClément Rolinat ( 2020-08-26 03:07:48 -0500 )edit

I didn't configure ODE parameters, it's the default one. I display the collision over the visual as orange overlay.

Tomlogan gravatar imageTomlogan ( 2020-09-04 06:12:00 -0500 )edit