Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinematic tag does not affect model in sim #2780

Open
fnndyl opened this issue Feb 18, 2025 · 0 comments
Open

Kinematic tag does not affect model in sim #2780

fnndyl opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@fnndyl
Copy link

fnndyl commented Feb 18, 2025

Environment

  • OS Version: Ubuntu 22.04
  • Source or binary build? Gazebo Harmonic 8.8.0

Description

  • Expected behavior: The kinematic tag should make an object able to interact (collide) with other physics objects, but be otherwise unaffected by forces/torques/etc.
  • Actual behavior: The kinematic tag seems to do nothing. An object given the kinematic tag still falls with gravity, for example.

Steps to reproduce

Model SDF:

<?xml version="1.0" encoding="UTF-8"?>
<sdf version='1.9'>
  <model name='barge'>
    <!--<static>true</static>-->
    <!-- Move platform slightly away and down, separate starting plane for drone-->
    <pose>1 0 -1 0 0 1.5708</pose>
    <link name='base'>
    
      <kinematic>true</kinematic>

      <visual name='base_visual'>
        <geometry>
          <box>
            <size>0.5 0.5 0.05</size>
          </box>
        </geometry>
        <material>
          <diffuse>1 1 1 1</diffuse>
          <specular>0.4 0.4 0.4 1</specular>
          <pbr>
            <metal>
              <albedo_map>model://arucotag/arucotag.png</albedo_map>
            </metal>
          </pbr>
        </material>
      </visual>

      <collision name='base_collision'>
        <geometry>
          <box>
            <size>0.5 0.5 0.05</size>
          </box>
        </geometry>
        <surface>
          <friction>
            <ode>
              <mu>1.0</mu>
              <mu2>1.0</mu2>
            </ode>
          </friction>
          <bounce>
            <restitution_coefficient>0.1</restitution_coefficient>
            <threshold>1.0</threshold>
          </bounce>
        </surface>
      </collision>
    </link>
  </model>
</sdf>

I can also provide the world's sdf file if that would be helpful.

@fnndyl fnndyl added the bug Something isn't working label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Inbox
Development

No branches or pull requests

1 participant