KhronosGroup / glTF

glTF – Runtime 3D Asset Delivery
Other
7.18k stars 1.14k forks source link

Robotics Extension #1816

Open wlawler45 opened 4 years ago

wlawler45 commented 4 years ago

Hello, I am a really new user to glTF, I work with a robotics group at Rensselaer Polytechnic Institute and we were hoping to make use of glTF as a robot description format because of all the numerous advantages it has over other 3d object file description methods, we were looking to make an extension modeled after URDF data format and a converter to convert existing URDF data into glTF potentially. We would mainly be concerned with adding parameters for robot links, relevant physics values for different joints and joint motion types. Is this a reasonable extension or does something like this already exist?

dfreiberger commented 4 years ago

This may be related to https://github.com/KhronosGroup/glTF/issues/1135, specifically the discussion around joints.

I am an interested observer to this conversation, it would be nice to have a vendor-neutral format for exporting joint information that is exported directly from CAD software, (e.g. using plugins like http://wiki.ros.org/sw_urdf_exporter, or even intelligently converting assembly mates to joints).

emackey commented 4 years ago

@wlawler45 This sounds pretty exciting! Don't get stuck in the quagmire of #1135, that's for a different purpose (game physics) and it should remain separate from this.

There's not much formal process beyond selecting a name for the extension with a prefix. Let us know if Rensselaer wants an RPI_ prefix added to the list. Ideally any custom binary data would be stored in a typical glTF way, such as with accessors. Take a look at some of the existing extensions for 2.0 to see if there's one that might make a good starting template.

mikedh commented 3 years ago

That would be neat! I wrote an unimplemented draft a while ago for one possible approach.

Fahmina commented 1 year ago

Hey @wlawler45 --

Just curious-- did you end up writing a URDF to GLTF converter? I work at a robotics company (Viam) -- We currently represent kinematics in a format that is very similar to URDF, except that it is written in JSON.