# Modeling a robot using complex shape

Hi everybody, I am currently modeling a robot in the Model Editor. It's the model of a real robot which has a quite complex structure made by several metal bars. I have managed to successfully reproduce the structure by using the "box" shape in order to make the bars, and then I have assembled and aligned them by using fixed joints.

However, every single bar is obviously an independent link: i can not move the whole structure or assign the mass to it, but I have to work on every single bar. Is there a way to treat the structure as if all the bars were a unique body?

I have already read all the tutorials, but I stil haven't figured out how to do it.

Thank you very much for the support.

edit retag close merge delete

Sort by » oldest newest most voted

It sounds like you want all the bars to be separate visuals and collisions within a single link.

On the model editor, you can create and edit the visuals and collisions from the link inspector, but unfortunately there isn't very good support for manipulating them on the 3D scene at the moment.

Another option, since it sounds like you already have your model with separate links, would be to manually edit the SDF file to leave a single <link> tag and move all <visual> and <collision> into it. You'll also need to adjust the <pose> of all visuals and collisions; depending on the case, just copying their parent's <link><pose> should be enough.

more