V-REP and XML

Typically: "How do I... ", "How can I... " questions
Post Reply
amattag
Posts: 16
Joined: 05 Mar 2013, 13:06
Location: Madrid, Spain
Contact:

V-REP and XML

Post by amattag » 23 May 2013, 08:41

Hello all,

Does V-REP has support for XML? Can I save and/or load an scene or an object using XML files.

Kind regards,

Antonio Matta.

coppelia
Site Admin
Posts: 7122
Joined: 14 Dec 2012, 00:25

Re: V-REP and XML

Post by coppelia » 23 May 2013, 10:05

Hello Antonia,

V-REP does not directly support XML. Also, scene and model files are not XML, but purely binary, in order to offer very fast loading operations.

You can however easily write XML importers/exporters. Have a look at the source code of the COLLADA importer/exporter, or the URDF importer plugins, which are located in the programming folder (programming/v_repExtCollada and programming/v_repExtUrdf).

Additionally, you can always install Lua extension libraries to have the Lua XML functionality from an embedded script too.

Cheers

amattag
Posts: 16
Joined: 05 Mar 2013, 13:06
Location: Madrid, Spain
Contact:

Re: V-REP and XML

Post by amattag » 24 May 2013, 14:46

Thank you! It sounds good to me.

Antonio.

Post Reply