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

Gazebo world link #230

Open
mhubii opened this issue Nov 27, 2024 · 2 comments
Open

Gazebo world link #230

mhubii opened this issue Nov 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mhubii
Copy link
Member

mhubii commented Nov 27, 2024

The recent updates to the links (for dual arm support #189):

cause a missing connection to Gazebo world, see below:

iiwa_gazebo_tipple_1.mp4

Whilst quite interesting, it should be fixed.

@mhubii mhubii added the bug Something isn't working label Nov 27, 2024
@Hydran00
Copy link
Contributor

Hydran00 commented Dec 27, 2024

Hi @mhubii, I had the same problem. I solved it by adding the world link and a joint from world to to the floating link.
I just added the following code here in the .xacro definition.

  <link name="world" />
  <joint name="$world_to_base" type="fixed">
      <parent link="world" />
      <child link="$(arg robot_name)_floating_link" />
  </joint>

I think gazebo need a world link in the urdf to understand how the robot is connected to the world. Maybe the world_robot_tf in gazebo.launch.py were ignored since world did not exist?

@mhubii
Copy link
Member Author

mhubii commented Jan 4, 2025

hi @Hydran00 and thank you for the hint there. Happy new year!

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
None yet
Development

No branches or pull requests

2 participants