Replies: 3 comments 5 replies
-
As I mentioned here #149 (reply in thread), we switched to the SDF description of the drone model. My suggestion is:
|
Beta Was this translation helpful? Give feedback.
-
Hi, maybe my question was unclear. I try to summarize a bit. The connection between two drones still works and also on a single drone. The problem is when I want to connect a load to uav1 while there is also a uav2 to which I want to connect nothing at all. Then uav2 goes in eland. So the issue is purely related to the pausing of gazebo. Do you get the same issue when you pause the simulation for sufficient amount of time (e.g., 1-2s)? |
Beta Was this translation helpful? Give feedback.
-
Hi @bconvens, the pause of the simulation should be fixed now. Check it and let me know if you still have some problems :) |
Beta Was this translation helpful? Give feedback.
-
This issue is a follow up of #149.
This issue also related to the simulation changes you have made. A few months ago I made and tested a code that attaches a suspended payload to a single UAV or a beam payload to 2 UAVs, but now this code gives issues. In short, I have xacro files for my loads (point mass with cable or beam with 2 cables) and I rely on your link_attacher_node. In between the load xacro launch and the rosservice call /link_attacher_node/attach_typed I (un)pause the physics via rosservice call gazebo/(un)pause_physics.
I noticed now that if I have 2 UAVs in the air and I attach only a load to a single UAV, the other drone emergency lands. The error in the gazebo tab can be reproduced by just pausing and unpausing gazebo for the time required to launch and call the service (e.g., 1-2s) and then one or both drones will eland. Before updating the code to the newest version, I could pause gazebo very long without issues. However, with the new code I noticed that attaching one beam to 2 UAVs in a single command (pause, launch, service, unpause) still works, but not in separate commands as this takes longer between pause/unpause. Also, attaching in a single command the suspended load to a single UAV, will trigger eland for the other one. So the simulation does not handle the pause like before. Any idea how to solve this? Note: I also tried to without the pause and unpause, but then my load already drops a lot due to gravity directly after I launched it and before it gets attached at the correct place. Thanks for the help!
Originally posted by @bconvens in #149 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions