Ask Your Question
0

urdf from solidworks

asked 2013-11-17 13:47:06 -0600

tttbarros gravatar image

updated 2014-01-28 17:18:33 -0600

ngrennan gravatar image

Hi, I've exported an urdf model from solidworks, but actually when I spawn my model on gazebo it is not at origin! I need some clue of how to place my model at gazebo's world origin!

Thanx

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-11-17 14:06:14 -0600

brawner gravatar image

updated 2013-11-17 14:08:16 -0600

It's not explicitly stated, but it sounds like you are using the SolidWorks to URDF plugin. Assuming this, when your model is configured in SolidWorks the plugin will place reference coordinate systems at the global origin of the assembly and at the joint origins of each link. When spawned in Gazebo, this global origin is what aligns with the coordinates specified in the launch file. The global origin is taken to be the origin of the assembly in SW, which generally isn't located anywhere meaningful. In SolidWorks, you should either move the model to align with the global_origin reference coordinate system or create a new reference coordinate system closer to where you want the global origin to be.

edit flag offensive delete link more
0

answered 2013-11-19 17:02:35 -0600

tttbarros gravatar image

Hi! Yes I've used SolidWorks to URDF plugin!!!

About your tip to locate solidworks model in the global origin at solidworks I've already done that! Every part that I've designed was located at origin, and when I've started the assembly of my robot model I've located 1st part at origin of the assembly! Is there such way to manipulate my urdf/xacro file to correct its position related to the gazebo world origin?

I forget to say it before ...I'm using fuerte!!!

Thank you!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-11-17 13:47:06 -0600

Seen: 700 times

Last updated: Nov 19 '13