# DVL integration to Ardupilot (Ardusub)

**URL:** <https://discuss.bluerobotics.com/t/dvl-integration-to-ardupilot-ardusub/13174>\
**Category:** General Discussion\
**Tags:** ardusub\
**Created:** [November 9, 2022, 7:16am UTC](https://discuss.bluerobotics.com/t/dvl-integration-to-ardupilot-ardusub/13174 "2022-11-09T07:16:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elchinaslanli](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/elchinaslanli/32/10461_2.png) [@elchinaslanli](https://discuss.bluerobotics.com/u/elchinaslanli)\
**Post date:** [November 9, 2022, 7:16am UTC](https://discuss.bluerobotics.com/t/dvl-integration-to-ardupilot-ardusub/13174/1 "2022-11-09T07:16:05Z")

</div>

Hi there,

I’m using DVL-A50 on my system for localization of the robot which feeds the mapping algorithm with multibeam sonar.  
But as you suppose, DVL itself drift a lot on long distances due to integration errors.

I started to thinking of integrating DVL into Ardupilot (Ardusub) system to support the DVL data.  
I have a question to be sure at first.

_Will it increase accuracy of localization? Does it take the DVL measurements into extended Kalman Filter(EKF)? How is your results about this integration?_

Thanks for the answers in advance.

---

<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:** [November 10, 2022, 3:37am UTC](https://discuss.bluerobotics.com/t/dvl-integration-to-ardupilot-ardusub/13174/2 "2022-11-10T03:37:39Z")

</div>

Hi @elchinaslanli,

> [@elchinaslanli](#):
>
> I started to thinking of integrating DVL into Ardupilot (Ardusub) system to support the DVL data.

I’m not sure what you mean by this - how are you using your DVL at the moment?

Our existing DVL-A50 integration receives velocity updates from the DVL and reports them to the autopilot using MAVLink messages. ArduSub then includes those measurements as inputs to its EKF, which includes them in its position estimation.

---

<div class="post-metadata">

**Author:** ![elchinaslanli](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/elchinaslanli/32/10461_2.png) [@elchinaslanli](https://discuss.bluerobotics.com/u/elchinaslanli)\
**Post date:** [November 11, 2022, 12:19pm UTC](https://discuss.bluerobotics.com/t/dvl-integration-to-ardupilot-ardusub/13174/3 "2022-11-11T12:19:22Z")

</div>

Thanks very much for answer, I applied the steps for integration.

I will post the results after test.
