ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.24k stars 759 forks source link

Controlling a single payload with multiple drones? #633

Closed maxcapobianco closed 4 years ago

maxcapobianco commented 4 years ago

Hi,

I am trying to control a hanging payload with multiple drones. I currently spawn two drones in separate namespaces, each being controlled independently. I have created a URDF for the payload and can easily have it slung under a single drone, is it possible to link the two separate drones to the one payload although they are in separate namespaces? If so how would you recommend achieving this?

I have seen something similar done in this paper https://journals.sagepub.com/doi/abs/10.1177/0278364919854131

Thanks!

gsilano commented 4 years ago

I don't think they made available as open-source this simulation scenario. I think that the best way is to send an email to the authors asking for this. Of course, if you got a positive answer, do not forget to upload this issue.

maxcapobianco commented 4 years ago

Thanks for the quick response, I'll try to get in contact with the authors. Would you recommend any other search terms that I could use to find a workaround for linking two separate robots in Gazebo?

gsilano commented 4 years ago

If you are referring to Tagliabue's paper, I think the only way to deal with the problem is to build your own model in Gazebo. This should not be that difficult. If you are familiar with joints, e.g., revolute, fixed, (see this link), in a few steps you should succeed in this task. I suggest taking a look at RotorS, maybe there is something already available with the Voliro platform. See the branches.

maxcapobianco commented 4 years ago

I have pretty much got a working model with two drones flying cooperatively with individual payloads. The main issue I am having is defining a payload that is joined between the two drones. The two drones are setup in separate namespaces, where would I define the payload?

gsilano commented 4 years ago

You have to build your own xacro or sdf file to model the whole scenario. Take a look at this folder to somehow understand how to deal with the task.

maxcapobianco commented 4 years ago

Found a guide on setting up a collaborative lift situation here.