-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems about drones hovering and change formation #31
Comments
@goofyweng I think there is something wrong with your system. Can you try and use the current master of the px4 firmware ? |
@Jaeyoung-Lim Yes, I have tried and used some examples related to multi uavs, Multiple Vehicle with Gazebo (No ROS) and Multiple Vehicles with ROS and Gazebo, on the px4 master page. These simulation works just fine. By following the instructions, I can see three quadrotor in Gazebo UI. |
@goofyweng So the problem is sovled? |
@Jaeyoung-Lim Not really. I can run the example in mavros_swarm, but the drones will takeoff, go straight up and then hover in a very high position. They will not behave like the takeoff.gif you provided. Is there any parameters that I can modify to give the drones predefined position to make them behave like the takeoff.gif or change formation during flight? |
@goofyweng Could you check which altitude they stop at? a log would be helpful |
@Jaeyoung-Lim I just run the launch file again and the drones altitude (coordination in z direction) are as follow:
|
@goofyweng I have made a fix in #33 Could you update to the current master and retry please? |
@Jaeyoung-Lim I have change the global altitude from 488 to 2.0 in formation_control.cpp and it worked! The drones can now hover in a lower altitude. Thanks for your kind help :) |
Hello,
I can run the
sitl_multiuav_swarm.launch
file successfully. However, most of the time, there will be one or more drones that cannot hover in the predefined position. The drones will just go straight up and keep flying upward. I don't know why.The following is what I got after using
roslaunch formation_control sitl_multiuav_swarm.launch
There are some warings in the outcome about offboard, positoin and altitude-trl activation failed.
Also, if I want to change the formation of the drones (like making 3 drones line up), what should I do?
Thanks!
The text was updated successfully, but these errors were encountered: