jhu-lcsr / lcsr_camera_models

URDF, Gazebo, and optical models for various monocular and stereo cameras.
2 stars 2 forks source link

SDF Format #1

Open l0g1x opened 10 years ago

l0g1x commented 10 years ago

Hi i was wondering if there would be any way you could release a SDF formatted version for the BB2. I would much appreciate it since i dont believe you can convert from xacro to sdf with the gzsdf print command.

jbohren commented 10 years ago

You should be able to do it like this (using the test instantiation in the root of this repo):

rosrun xacro xacro test.urdf.xacro > bb.urdf
gzsdf print bb.urdf > bb.sdf
l0g1x commented 10 years ago

Will it actually take care of the xacro properties being distributed everywhere?

Sent from my iPhone

On Oct 2, 2014, at 4:24 PM, Jonathan Bohren notifications@github.com wrote:

You should be able to do it like this (using the test instantiation in the root of this repo):

rosrun xacro xacro test.urdf.xacro > bb.urdf gzsdf print bb.urdf > bb.sdf — Reply to this email directly or view it on GitHub.

jbohren commented 10 years ago

Ends up looking like this: https://gist.github.com/jbohren/eb9fc0694ef53282ccc9