-
Notifications
You must be signed in to change notification settings - Fork 28
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
Move codes in euscollada-robot.l to irteus #41
Comments
…ollision model from euscollada-robot*.l
Moving collada-body to irteus is good. |
What do you think about |
…lision model codes to irtrobot.l euslisp/jskeus#93
I'm not sure but I feel there are more better solution since 1) if there are class that inherit from body class, then it not works 2) you can check is we should draw using glvertices in draw-objects function I'd like to check how glvertices and collada-body is used and find better integration of existing codes
|
Thank you for your suggestion and
this is quite important point. What do you think about to add glvertices to faceset (body) or bodyset? I think bodyset class is originally defined because of the display problem.
Hence, current specification seems:
If we add glvertices to bodyset, we do not need to change this specification. |
From my understanding, bodyset is set(list) of body and reason for adding bodyset is not only coloring problem but I have no idea for that. Bodyset is displayed not by its own method but by method which bodies(this is slot of bodyset) have.
collada-body is a body which has convex-hull geometry for collision check and is displayed with glvertices (it's loaded from mesh file).
glvertices is set in initializer.
No. glvertices is created for displaying mesh file read by eus-assimp. |
I'm not confident but body class keeps the opengl pointer (opengl list) and that is generated when euslisp displays the body instance in the first time. I think glvertices seems very similar approach but not uses euslisp's edge-vector data structure in order to speed up. is it right? If so, I think there is a way to integrate collada-body into original body class, for example when data is loaded from model file then it runs opengl code and generate opengl pointer and store them, as well as load convexl-hull model and store as edge-vartices. How do you think? |
yes.
It means body class doesn't have glvertices object and only using for generating gl pointer ? |
…-startup Add dependency to pr2 startup
I'd like to move codes in euscollada-robot.l to irteus discussed in[1].
[1] #18
I already moved sensor accessor [2, 3].
[2] euslisp/jskeus#92
[3] #40
@YoheiKakiuchi
Can we move collada-body definition to irteus/xxx.l?
https://github.com/jsk-ros-pkg/jsk_model_tools/blob/master/euscollada/src/euscollada-robot.l#L58
The text was updated successfully, but these errors were encountered: