# Pymavlink not working properly

**URL:** <https://discuss.bluerobotics.com/t/pymavlink-not-working-properly/9779>\
**Category:** ArduSub\
**Tags:** pymavlink, sitl, simulate\
**Created:** [May 27, 2021, 2:32am UTC](https://discuss.bluerobotics.com/t/pymavlink-not-working-properly/9779 "2021-05-27T02:32:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [May 28, 2021, 12:48am UTC](https://discuss.bluerobotics.com/t/pymavlink-not-working-properly/9779/5 "2021-05-28T00:48:20Z")

</div>

Hi Youssef,

Are you trying to use the ROV with a joystick connected? As per [this post](https://discuss.bluerobotics.com/t/3rd-party-software-control-rc-override-vs-manual-control/5169/2) you likely need to disable joystick input in QGC or disconnect your joystick while you’re trying to use your script-based control, as otherwise the ROV is sent conflicting information from your script and QGC.

It may also be worth trying to use `MANUAL` mode (instead of `STABILISE`) to make sure ArduSub is only doing what you’ve asked it to, and only when you’re asking it to do so.

---

_[View the full topic](https://discuss.bluerobotics.com/t/pymavlink-not-working-properly/9779)._
