# Multiple drone in the AirSim

**URL:** <https://discuss.px4.io/t/multiple-drone-in-the-airsim/19785>\
**Category:** QGroundControl\
**Created:** [November 27, 2020, 7:01am UTC](https://discuss.px4.io/t/multiple-drone-in-the-airsim/19785 "2020-11-27T07:01:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eggbread](https://discuss.px4.io/letter_avatar_proxy/v4/letter/e/ecc23a/32.png) [@eggbread](https://discuss.px4.io/u/eggbread)\
**Post date:** [November 27, 2020, 7:01am UTC](https://discuss.px4.io/t/multiple-drone-in-the-airsim/19785/1 "2020-11-27T07:01:39Z")

</div>

I want to make an environment including Multiple drones + PX4 + QGC.

I am using the Cygwin(v0.8) for PX4(v1.10.1) in windows

I use the `make px4_sitl_default none_iris` command.

But It supports just one drone.

I want to run it like a multiple gazebo simulation.

 ![image](https://discuss.px4.io/uploads/default/original/2X/3/38750512bcb01c46538838636d4be010838c4200.jpeg)

I added one more `px4_task_spawn_cmd()` command in the ‘simulator.cpp’. And then tried with 2 airsim drones.

It can be connected with PX4(port 4560, 4561).  
But I can’t send the command by using command. And It shows error msg like shown below.  
I think px4 cannot send the second drone mavlink msg.

 ![image](https://discuss.px4.io/uploads/default/original/2X/d/dfe70f63185e326eff02bb9c6102e34cc7ff3585.jpeg)  
Is there any way to do this? What should I do?

Thank you.
