# I cannot manually set the depth of the ROV

**URL:** <https://discuss.bluerobotics.com/t/i-cannot-manually-set-the-depth-of-the-rov/12065>\
**Category:** ArduSub\
**Tags:** pymavlink\
**Created:** [May 2, 2022, 10:12am UTC](https://discuss.bluerobotics.com/t/i-cannot-manually-set-the-depth-of-the-rov/12065 "2022-05-02T10:12:34Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [June 12, 2025, 10:16am UTC](https://discuss.bluerobotics.com/t/i-cannot-manually-set-the-depth-of-the-rov/12065/8 "2025-06-12T10:16:26Z")

</div>

Hi @shefali, welcome to the forum 🙂

I’ve moved your post here because it’s seemingly on the same topic.  
As specified in the solution above, setting just the Z position bit for depth control should work in ArduSub \>= 4.5 (which is the current stable). If you want to use it with an older version you’ll need to also comment out the X and Y position ignore bits because they’re treated as a group.

If that doesn’t resolve your issue then there may be other issues with your code. In particular I’d suggest making sure you’re

1. [Waiting specifically for an _autopilot_ heartbeat](https://discuss.bluerobotics.com/t/controlling-pwm-values-with-python/12529/5)
2. Avoiding (or disabling) [relevant failsafes](https://discuss.bluerobotics.com/t/pymavlink-send-rc-issue/11302/2)

---

_[View the full topic](https://discuss.bluerobotics.com/t/i-cannot-manually-set-the-depth-of-the-rov/12065)._
