Gazebo | Ignition | Community
Ask Your Question
0

SDF files and collada dataa

asked 2016-03-29 10:08:30 -0600

XB32Z gravatar image

Hi,

I'd like to know if it is possible to incorporate the collada files directly in the SDF files instead of calling models or files?

If not, would it be interesting to add this functionality, as a pull request?

Thank you,

edit retag flag offensive close merge delete

Comments

You mean pasting the COLLADA's XML directly into an SDF model instead of just referencing the .dae file?

chapulina gravatar imagechapulina ( 2016-03-29 11:19:46 -0600 )edit

Can you describe your use case, and the benefit of directly incorporating collada into SDF? Complexities arise when mixing two different formats into one file.

nkoenig gravatar imagenkoenig ( 2016-03-29 11:39:12 -0600 )edit

Yes I mean to paste the COLLADA's XML directly into the .sdf file instead of referencing the .dae files. My use case would be to send complex shaped models to a server through a message without copying the COLLADA files to the model repo I didn't looked into the code how the COLLADA files are parsed when referenced but I was thinking to just use a new flag like <collada_data> //here is the COLLADA XML </collada_data> and consider things in between as a string.

XB32Z gravatar imageXB32Z ( 2016-03-30 01:20:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-30 16:31:24 -0600

nkoenig gravatar image

Right now you can't send collada files directly in SDF. It probably wouldn't be a good idea because it's mixing two different formats.

I believe you can resolve your issue by sending a message with two strings, or by creating a new custom message.

edit flag offensive delete link more

Comments

Hi, thx for your answer! This solution looks more clean than adding COLLADA to SDF! What do you mean by passing two strings?

XB32Z gravatar imageXB32Z ( 2016-03-31 01:51:31 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-03-29 10:08:30 -0600

Seen: 280 times

Last updated: Mar 30 '16