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

Is there a way to draw Joints #154

Open
RWLinno opened this issue Mar 31, 2024 · 1 comment
Open

Is there a way to draw Joints #154

RWLinno opened this issue Mar 31, 2024 · 1 comment

Comments

@RWLinno
Copy link

RWLinno commented Mar 31, 2024

I read sapien's documents and then saw a lot of complicated methods, but I'm wondering if there is a simple way to draw the joints out of the data. Specifically is it possible to remap the parts of the rendered image that are joints to a certain color? I hope I can get your help.

@fbxiang
Copy link
Collaborator

fbxiang commented Apr 1, 2024

Do you mean you want to draw a line segment at the joints? Or do you want to color the links that are connected to an active joint? Here is some code that we created previously to color robot links in contact red. Maybe you will find this helpful.
https://github.com/haosulab/cvpr-tutorial-2022/blob/master/debug/check_urdf.py

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

2 participants