# Connect QGC to Gazebo

**URL:** <https://discuss.px4.io/t/connect-qgc-to-gazebo/18658>\
**Category:** QGroundControl\
**Created:** [September 20, 2020, 8:57am UTC](https://discuss.px4.io/t/connect-qgc-to-gazebo/18658 "2020-09-20T08:57:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kreace](https://discuss.px4.io/user_avatar/discuss.px4.io/kreace/32/7045_2.png) [@Kreace](https://discuss.px4.io/u/Kreace)\
**Post date:** [September 20, 2020, 8:57am UTC](https://discuss.px4.io/t/connect-qgc-to-gazebo/18658/1 "2020-09-20T08:57:47Z")

</div>

Hello, I’m pretty new to PX4, I would like to understand a bit more about “sitl\_gazebo”.  
I want to connect QGC with the gazebo simulation.  
I have build from source the “sitl\_gazebo” ([GitHub - PX4/PX4-SITL\_gazebo-classic: Set of plugins, models and worlds to use with OSRF Gazebo Simulator in SITL and HITL.](https://github.com/PX4/sitl_gazebo)).  
Then I launch Gazebo with :

> gzserver --verbose -s libgazebo\_ros\_factory.so ~/sitl\_gazebo/worlds/myworld.world

I spawn an typhoon\_h480 with ROS2 command

> ros2 run gazebo\_ros spawn\_entity.py -entity TITI -file ~/sitl\_gazebo/models/typhoon\_h480/typhoon\_h480.sdf

Finally I launch QGC with :

> ./QGroundControl.AppImage

I configure the UDP port to 11345 in order to connect QGC with Gazebo but that’s not working.

I’m wondering what I did wrong or didn’t understand.

I tried to build all the Firmware ([GitHub - PX4/PX4-Autopilot: PX4 Autopilot Software](https://github.com/PX4/Firmware)) and it worked so maybe what I tried (with sitl\_gazebo) was not possible?

Thanks in advance for answering me tell me if you need further information.
