# Connect pixhawk 2 with gazebo mavros

**URL:** <https://discuss.px4.io/t/connect-pixhawk-2-with-gazebo-mavros/5849>\
**Category:** Uncategorized\
**Created:** [February 26, 2018, 11:41pm UTC](https://discuss.px4.io/t/connect-pixhawk-2-with-gazebo-mavros/5849 "2018-02-26T23:41:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murtaza\_Abdulali](https://discuss.px4.io/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@Murtaza\_Abdulali](https://discuss.px4.io/u/Murtaza_Abdulali)\
**Post date:** [February 26, 2018, 11:41pm UTC](https://discuss.px4.io/t/connect-pixhawk-2-with-gazebo-mavros/5849/1 "2018-02-26T23:41:32Z")

</div>

hello,  
I am using ros kinetic, mavros (ubuntu) and i am able to connect mavros with pixhawk 2 and able to get gps location.  
I am installed gazebo fallowing this [https://dev.px4.io/en/simulation/ros\_interface.html](https://dev.px4.io/en/simulation/ros_interface.html), when i launch gazebo empyt file it does work. But i don’t know how to connect gazeboo with pixhawk 2 ?
