# Dronekit running on PX4

**URL:** <https://discuss.px4.io/t/dronekit-running-on-px4/14533>\
**Category:** PX4 Autopilot\
**Created:** [January 3, 2020, 10:00pm UTC](https://discuss.px4.io/t/dronekit-running-on-px4/14533 "2020-01-03T22:00:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guohao91](https://discuss.px4.io/user_avatar/discuss.px4.io/guohao91/32/5367_2.png) [@Guohao91](https://discuss.px4.io/u/Guohao91)\
**Post date:** [January 3, 2020, 10:00pm UTC](https://discuss.px4.io/t/dronekit-running-on-px4/14533/1 "2020-01-03T22:00:46Z")

</div>

I have a problem with connecting my companion computer (dronekit-python scripts) and Pixhawk 4.  
it shows like:  
 ![image](https://discuss.px4.io/uploads/default/original/2X/3/34eb2abad39aa283890a5d5bb71edb1a5433b163.png)  
I am using the microUSB port on the side.  
When if I turn to use TELEM2 port, another problem like:

 ![image](https://discuss.px4.io/uploads/default/original/2X/2/2ae1b8c474f5b47d3ee86694639fe5a464420896.png)

So would you please find what exactly the problem is?  
Looking forward your reply! Would Appreciate it so much!

---

<div class="post-metadata">

**Author:** ![Jaeyoung-Lim](https://discuss.px4.io/user_avatar/discuss.px4.io/jaeyoung-lim/32/10829_2.png) [@Jaeyoung-Lim](https://discuss.px4.io/u/Jaeyoung-Lim)\
**Post date:** [January 4, 2020, 7:27am UTC](https://discuss.px4.io/t/dronekit-running-on-px4/14533/2 "2020-01-04T07:27:52Z")

</div>

The first image is not readable due to the small size

The second image means that you don’t have connection to the flight controller

---

<div class="post-metadata">

**Author:** ![Guohao91](https://discuss.px4.io/user_avatar/discuss.px4.io/guohao91/32/5367_2.png) [@Guohao91](https://discuss.px4.io/u/Guohao91)\
**Post date:** [January 4, 2020, 5:54pm UTC](https://discuss.px4.io/t/dronekit-running-on-px4/14533/3 "2020-01-04T17:54:48Z")

</div>

HI, Jaeyoung  
sorry for the first pic unclear, i attach it again here:

 ![图片](https://discuss.px4.io/uploads/default/original/2X/b/b6bdfeb6a5c03c2793f147a1b69b07318fbb77a4.png)  
ANd yes, i agree with you the second pic demos TELEM2 can’t connect the controller. So terrible Idk why!  
what i believe is either USB port or TELEM2 can be used by developers, i don’t have perference.  
So please Mr. Jaeyound Lim, can you help me to fix the first question or another?

---

<div class="post-metadata">

**Author:** ![Jaeyoung-Lim](https://discuss.px4.io/user_avatar/discuss.px4.io/jaeyoung-lim/32/10829_2.png) [@Jaeyoung-Lim](https://discuss.px4.io/u/Jaeyoung-Lim)\
**Post date:** [January 5, 2020, 11:45am UTC](https://discuss.px4.io/t/dronekit-running-on-px4/14533/4 "2020-01-05T11:45:31Z")

</div>

@Guohao91 I am not familiar with Dronekit, but you seem to have too many waypoints? Have you tried with mavsdk python?

---

<div class="post-metadata">

**Author:** ![Guohao91](https://discuss.px4.io/user_avatar/discuss.px4.io/guohao91/32/5367_2.png) [@Guohao91](https://discuss.px4.io/u/Guohao91)\
**Post date:** [January 5, 2020, 7:09pm UTC](https://discuss.px4.io/t/dronekit-running-on-px4/14533/5 "2020-01-05T19:09:29Z")

</div>

Yes, I’ll work on mavsdk python since the next week.  
I ain’t have many waypoints in my code. It’s just a simple alarm problem kept showing up pirior to be initialised. And i searched around and found someone did say :"PX4 firmware doesn’t entirely be compatible with dronekit " So i guess it is a small problem hided in the dronekit API, which I hoestly can’t find out 😂 🤒
