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

how to use a sdf/world created in a gazebo in pybullet? #1251

Closed
k-maheshkumar opened this issue Aug 11, 2017 · 3 comments
Closed

how to use a sdf/world created in a gazebo in pybullet? #1251

k-maheshkumar opened this issue Aug 11, 2017 · 3 comments

Comments

@k-maheshkumar
Copy link

Hi,
Is it possible to use the world/sdf created from the gazebo in pybullet?. If so, can you please give me an example how to use it.

Thanks in advance.

@erwincoumans
Copy link
Member

erwincoumans commented Aug 11, 2017

You can use loadSDF to load a Gazebo created sdf file. Note that only a small subset of SDF files are processed. Make sure to copy the file in the Bullet data folder, and use relative path names (no package:// etc) in the sdf file. See the two_cubes.sdf, this file was exported from Gazebo, with some minor manual changes.

@erwincoumans
Copy link
Member

Do you have a particular gazebo exported SDF file? If so, attach it and re-open the issue. I'll give some hints how to import it.

@k123jack
Copy link

k123jack commented Oct 4, 2017

@erwincoumans
I'm trying to load a gazebo SDF model, like coke_can. It actually worked, but the mesh doesn't get rendered, same for the other models.

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