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

Only base_link found in urdf file #78

Open
Omginmrobotics opened this issue May 31, 2024 · 7 comments
Open

Only base_link found in urdf file #78

Omginmrobotics opened this issue May 31, 2024 · 7 comments

Comments

@Omginmrobotics
Copy link

All the meshes are getting exported in meshes folder while the urdf file has only base_link. It only opens base_link in rviz then.

@Infinite-Echo
Copy link

I'm also experiencing this issue. I haven't spent a ton of time trying to figure out why yet. I plan on doing more experiments tomorrow. The example worked for me so I would assume it has something to do with a newer feature not being supported or the model not being set up correctly.

@Infinite-Echo
Copy link

Further experimentation has revealed to me that the issue likely stems from using as-built joints. I'm going to try to modify the script to see if I can get it to work with as-built joints as it would be much easier to use. I'll post my findings here.

@Omginmrobotics
Copy link
Author

Omginmrobotics commented Jun 3, 2024

Yes even i found the same it was a problem with as built joint and normal joints is working fine and urdf was generated perfectly. Thank you!! Do make the changes for as built joints as it makes the process easier.

@KaushalkumarPatel
Copy link

Hi,

Right now It still produces only base_link in URDF file. Is the code still updated ? Did anyone has try and producing whole list of link in URDF ? @Infinite-Echo @Omginmrobotics

@Infinite-Echo
Copy link

I have a fork of the repo that supports as built joints. I haven't finished everything on it. You can try to use it. Switch to the other branch on my repo. Additionally, use this script to install numpy, scipy, and pyyaml. I ended up rewriting almost the entire repo so I don't plan on ever making a pull request to the main branch. Also, I designed it for ROS2 not ROS1 so you may have to change some things manually if you are still on ROS1. (Though ROS1 is out of date so I don't recommend it in the first place).

@Omginmrobotics
Copy link
Author

Omginmrobotics commented Aug 19, 2024

Thank you for your update. I somehow went forward by creating urdf with just the "joints" and not using "as built joints". Here is one more issue I faced with the fusion2urdf plugin i.e. the inertial values above certain decimal places(i think it's around 10^-6) get neglected giving an error in a physics engine like Mujoco. So I had to manually insert the values from fusion properties. See if there is any fix for this issue.Also I will check with the as built joint fix on my fusion when I use it the next time.

@Omginmrobotics
Copy link
Author

Omginmrobotics commented Aug 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants