Gazebo | Ignition | Community
Ask Your Question

how the geometry, co-ordinate system defined in modeling?

asked 2015-06-14 08:26:13 -0600

baiju gravatar image

hi, i'm newbie to gazebo. right now, i'm stuck at tutorial(build a simple robot). the problem is, i just cant figure out how the co-ordinate system taken for caster-sphere?where does the exact universal co-ordinate system centre lie?(to define the pose co-ordinates of caster sphere). please help...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-14 19:36:37 -0600

chapulina gravatar image

In that tutorial, you're making a model which can be placed anywhere in the world, so you don't need to worry about the world coordinates there.

Each pose is described with respect to the parent element. The hierarchy goes: model > link > visual/collision. That is, link poses are expressed with respect to the model, visual and collision poses are expressed with respect to the link.

The caster wheel is composed of a caster_collision and caster_visual, both under the chassis link. The chassis origin (the center of the box) is 0.1 m on the Z axis with respect to the model origin. The caster collision and visual are exactly on top of each other. The sphere origin (its center) is -0.15 m in the X axis and -0.05 m in the Z axis from the link origin. If you want to know the caster's pose with respect to the model, just add this to the link's pose and you get [-0.15 0 -0.95 0 0 0].

See this question for a bit more information about coordinate conventions in Gazebo.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2015-06-14 08:26:13 -0600

Seen: 407 times

Last updated: Jun 14 '15