Controlling multiple drones using ROS
Hi all,
I am using ROS Kinetic and I am trying to pilot multiple drones using ardrone_autonomy, I just learned how to use ardrone_autonomy to control a single drone. The way I did it is as follow:
- Create a workspace ....
mkdir –p ~/catkin_ws/src cd ~/catkin_ws/src catkin_init_workspace
…. - Download dependencies ….
git clone https://github.com/AutonomyLab/ardrone_autonomy cd .. rosdep install –from-paths src –ignore-src
…. - Build the workspace and compile the packages ….
catkin_make
…. - Source the environment ….
source devel/setup.bash
…. - Create a package called drone_application ….
cd ~/catkin_ws/src catkin_create_pkg drone_application srd_msgs rospy roscpp cv_bridge
…. - Create a launch file called
dronelaunch.launch
…. - Run
roscore
Launch drone
launch.launch roslaunch dronelaunch.launch
I am not sure how the process would be different for multiple drones! Any help would be really appreciated.
*******************************************Thank you very much! I really appreciated your answer. It seems very straightforward but my only problem is connecting the drones to the same PC. in your tutorial, you created the static IP address on your router. I cannot do that since I am using school's wifi and I do not have a permission to mess with the routers. Any suggestions on how to do that on my personal laptop? You must be busy with your own stuff and I know that this might be taking some of your time, so I am really down for any tutoring sessions with you, of course if you are available.**
So the only difference would be the launch file?
Also how would I connect my PC to the drones? Thank you !!!
Did you manage in the end? if I posted an answer with how you would connect the PC to the multiple drones, and more, if anything needs clarification please don't hesitate to ask
No, I am actually still trying. My problem is the connection and I cannot seem to figure it out. Thank you man!
Hi! I was wondering if you would be available for any paid tutoring sessions! Exchanging emails or even texts back and forth would be good for me if you have the time.
no need to pay, I'm also pretty new to all of this and am happy to help if there is something I know that can be of value. If you want to do it via email, that's good with me. You can email me at ohanoch@gmail.com and let me know what you tried so far and whats giving you problems.
Is there a maximum number of drones you can control? Do you know if ROS can handle a large number?