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

The color of urdf using common shapes is always black even if a material color specified #594

Open
marantos opened this issue Dec 23, 2022 · 0 comments

Comments

@marantos
Copy link

marantos commented Dec 23, 2022

I am not an expert in Javascript but this assignment to null cause to get always the default color (i.e., black). After version 1.0.1, this function is introduced by splitting the above one.

I think, we can either add the colorMaterial as argument to that function, or re compute it as in the above function by using the visual arg.

var colorMaterial = null;

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