osrf / drcsim

Repository for the DRC project.
18 stars 7 forks source link

DAE Model files in Y_UP #34

Closed osrf-migration closed 11 years ago

osrf-migration commented 12 years ago

Original report (archived issue) by Jesper Smith (Bitbucket: jespersmith).

The original report had attachments: Screenshot from 2012-11-13 15:21:39.png, l_clav.dae, texture.png, r_uleg.dae


The updated model files in the latest release of the drc sim define the mesh axis as Y_UP (r_uleg.dae, l_clav.dae, r_clav.dae). While gazebo assumes all files are Z_UP, in order to import the model to our own simulation we need the axis to be defined as Z_UP.

Also, the updated files seem to be without texture.

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


l_clav.dae visualized with axis rendered.

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


l_clav.dae visualized with axis rendered.

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


can you clarify why they are Y_UP? I've attached, for example, l_clav.dae, and the axis system appears to be Z_UP?

osrf-migration commented 12 years ago

Original comment by Jesper Smith (Bitbucket: jespersmith).


Looking in the source of the DAE file itself

https://github.com/osrf/drcsim/blob/526ad192a3927f47a16f66123e34eb728f05e2dc/models/drc_robot/meshes/l_clav.dae

On line 8, the up_axis is defined as Y_UP, while of the other meshes they are defined as Z_UP.

Also, to clarify the texture comment. The previous versions have some material_effects and library_effects defined that seem to be gone now (they looked better with the effects on in our simulation).

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


Must be a side-effect of using meshlab to edit the meshes. The Z_UP flag seems easy enough to recover. We are waiting for texture files to dress up the DRC robot soon.

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


manually updated mesh file for testing

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


I've attache a file that I edited manually, can you verify the material effects works there? thanks.

osrf-migration commented 12 years ago

Original comment by Jesper Smith (Bitbucket: jespersmith).


osrf-migration commented 12 years ago

Original comment by Jesper Smith (Bitbucket: jespersmith).


I attached a screenshot of the two clav links. The material effects look fine on the left clav now (axis as well).

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


pull request #34 for the r_clav mesh

osrf-migration commented 12 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


osrf-migration commented 12 years ago

Original comment by Jesper Smith (Bitbucket: jespersmith).


r_uleg is still defined Y_UP

osrf-migration commented 12 years ago

Original comment by Jesper Smith (Bitbucket: jespersmith).


I've added materials to the r_uleg and set it to Z_UP so it looks prettier in our sim

osrf-migration commented 11 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


pull request #46

osrf-migration commented 11 years ago

Original comment by Jesper Smith (Bitbucket: jespersmith).


All models look fine, thank you