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

MaterialProp not exported into the simmechanics file #56

Open
diegoferigo opened this issue Jul 24, 2017 · 0 comments
Open

MaterialProp not exported into the simmechanics file #56

diegoferigo opened this issue Jul 24, 2017 · 0 comments

Comments

@diegoferigo
Copy link
Member

diegoferigo commented Jul 24, 2017

I'm digging into the python code for adding colors in the generated urdfs. The models at the current stage are all white, and despite the urdf --> sdf conversion for material elements still doesn't work, I realized that in the first place the MaterialProp element of the simmechanics file is never specified. This would mean that 1) it is not exported from the CAD, or 2) It is not handled properly from Simscape Multibody Link.

The following message is displayed:

Material has neither a color nor texture.

Side note: these errors are suppressed during the generation process and imho they should't be.

Check the Heidelberg model as reference.

cc @traversaro @fiorisi

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

1 participant