-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add transformation matrix to ColladaExport #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to export a double pendulum model so I think simple shapes are working. Can you add a test in ColladaExporter_TEST
? Something like exporting multiple meshes to a dae file then loading it back with ColladaLoader to make sure they are loaded back as submeshes?
7ae9a63
to
df095ab
Compare
@osrf-jenkins run tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer common::joinPaths
if you can.
std::string boxFilenameIn = std::string(PROJECT_SOURCE_PATH) + | ||
"/test/data/box.dae"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::string boxFilenameIn = std::string(PROJECT_SOURCE_PATH) + | |
"/test/data/box.dae"; | |
std::string boxFilenameIn = common::joinPaths(PROJECT_SOURCE_PATH, | |
"/test/data/box.dae"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this went through unresolved partially resolved. The string needs to be separated on all /
for Windows.
I also noticed this test failing on CI:
[ RUN ] ColladaExporter.ExportCordlessDrill
unknown file: Failure
C++ exception with description "basic_string::_M_construct null not valid" thrown in the test body.
[ FAILED ] ColladaExporter.ExportCordlessDrill (3 ms)
[ RUN ] ColladaExporter.ExportMeshWithSubmeshes
unknown file: Failure
C++ exception with description "basic_string::_M_construct null not valid" thrown in the test body.
[ FAILED ] ColladaExporter.ExportMeshWithSubmeshes (3 ms)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this didn't fail in the action here?
Fix here: #133
0e33ee6
to
2b8d40b
Compare
902c21e
to
99ab80f
Compare
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
99ab80f
to
4809c51
Compare
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few lingering unresolved bits
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for iterating.
Follow up fix to #100 Signed-off-by: Michael Carroll <[email protected]>
Follow up fix to #100 Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Gonzalo de Pedro [email protected]
This adds transformation matrixes to nodes con collada files when exporting
Connects to gazebosim/gz-sim#307