Gazebo | Ignition | Community
Ask Your Question
0

I'm trying to connect two models in the world together, how do I do this

asked 2023-05-16 20:45:52 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm trying to connect two models in the world together, how do I do this

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-25 00:18:11 -0500

Veerachart gravatar image

You can try adding a joint (fixed, or other types) to the sdf file, connecting a link from each model by giving the link's name (model1::link and model2::linkfor example). See more about joints http://sdformat.org/spec?ver=1.7&elem.... I'm not sure about any limitation. Maybe the child link of this joint must be the canonical link of the model.

If you want to do this on runtime, you may need to create a joint through a world/model plugin.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2023-05-16 20:45:52 -0500

Seen: 32 times

Last updated: May 25