# Autonomous problem

**URL:** <https://discuss.bluerobotics.com/t/autonomous-problem/10425>\
**Category:** Blue Robotics Software\
**Created:** [August 14, 2021, 7:33pm UTC](https://discuss.bluerobotics.com/t/autonomous-problem/10425 "2021-08-14T19:33:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 16, 2021, 1:49am UTC](https://discuss.bluerobotics.com/t/autonomous-problem/10425/2 "2021-08-16T01:49:18Z")

</div>

Hi @enis.getmez,

Is there a reason this is via private message instead of as a public post? I’ll still see it if it’s public, and that also means others can chime in (possibly before I get to it), and others in the community can benefit from the solution afterwards as well.

I’m unsure what your custom flight mode does, so it’s not possible for me to tell you why the ROV isn’t moving as you expect.

This post is likely relevant:

> [@Question on Signal Sending with Time Intervals by Pymavlinks](https://discuss.bluerobotics.com/t/question-on-signal-sending-with-time-intervals-by-pymavlinks/7562/2):
>
> Hi, Check the safety section of the documentation. The autopilot employs a some failsafe mechanisms to keep you and your equipement safe, as well as to prevent your ROV from running away from you during experiments. All system components that communicate via MAVLink are expected to send a HEARTBEAT message at a constant rate of at least 1 Hz. If the autopilot does not receive a heartbeat from your application after this interval, it will trigger a [failsafe](https://www.ardusub.com/operators-manual/failsafes.html). When the autopilot is being comma…

Given this is a direct serial connection to the autopilot board I assume you’re trying to do this autonomously, and also likely not using our companion computer image - is that correct?

A few side-notes:

- you can use `master.`[`motors_armed_wai`t](https://github.com/ArduPilot/pymavlink/blob/master/mavutil.py#L829)`()` to wait until arming has succeeded (instead of waiting for a fixed period that provides no guarantees about the autopilot state, and could be unnecessarily long)
- you can use `master.arducopter_disarm()` to disarm if you want to
- it may be worth adding a `master.motors_disarmed_wait()` to the end of your program to make sure the disarming was actually successful.

---

_[View the full topic](https://discuss.bluerobotics.com/t/autonomous-problem/10425)._
