# Ping Sonar - Use it with QGround Control?

**URL:** <https://discuss.bluerobotics.com/t/ping-sonar-use-it-with-qground-control/10605>\
**Category:** Ping Sonar Devices\
**Created:** [September 15, 2021, 5:46am UTC](https://discuss.bluerobotics.com/t/ping-sonar-use-it-with-qground-control/10605 "2021-09-15T05:46:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ioannis](https://avatars.discourse-cdn.com/v4/letter/i/ad7895/32.png) [@Ioannis](https://discuss.bluerobotics.com/u/Ioannis)\
**Post date:** [September 15, 2021, 5:46am UTC](https://discuss.bluerobotics.com/t/ping-sonar-use-it-with-qground-control/10605/1 "2021-09-15T05:46:51Z")

</div>

Hello everyone,

I successfully managed to connect the Ping Sonar (from BlueRobotics) with our BlueROV2 and use it with the Ping Viewer program. My question is: Is it possible to see the value of the altitude inside the QGround Control?

I am trying to use a python code in order to keep a target attitude while in depth-hold mode but I am not sure that the Ping Sonar is used as an altitude source for the ArduSub. I suspect they are completely independent. That’s why we need the Ping Viewer, am I right?

I appreciate if you confirm this.

Thanks!

---

<div class="post-metadata">

**Author:** ![Ioannis](https://avatars.discourse-cdn.com/v4/letter/i/ad7895/32.png) [@Ioannis](https://discuss.bluerobotics.com/u/Ioannis)\
**Post date:** [September 15, 2021, 9:02am UTC](https://discuss.bluerobotics.com/t/ping-sonar-use-it-with-qground-control/10605/2 "2021-09-15T09:02:23Z")

</div>

[UPDATE]

By opening GQround Control I noticed that in the RNGFND1\_TYPE there is an option for: “BlueRobotics Ping”! Does this mean that is officially supported? I changed to this parameter, reboot the ArduSub but still rangefinder value is still unavailable inside Mission Planner/QGround Control.

---

<div class="post-metadata">

**Author:** ![Ioannis](https://avatars.discourse-cdn.com/v4/letter/i/ad7895/32.png) [@Ioannis](https://discuss.bluerobotics.com/u/Ioannis)\
**Post date:** [September 15, 2021, 9:56am UTC](https://discuss.bluerobotics.com/t/ping-sonar-use-it-with-qground-control/10605/3 "2021-09-15T09:56:57Z")

</div>

[UPDATE 2]

I updated the Companion Computer to Ver. 0.028 and it’s working now!

---

<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:** [September 15, 2021, 11:22am UTC](https://discuss.bluerobotics.com/t/ping-sonar-use-it-with-qground-control/10605/4 "2021-09-15T11:22:46Z")

</div>

> [@Ioannis](#):
>
> I am not sure that the Ping Sonar is used as an altitude source for the ArduSub. I suspect they are completely independent. That’s why we need the Ping Viewer, am I right?

As you found, the Ping Sonar is already set up in companion to send values as a range finder. That’s the fallback option if Ping Viewer doesn’t try to connect to it, as can be seen in our [software components docs](https://www.ardusub.com/developers/software-components.html) 🙂

> [@Ioannis](#):
>
> I updated the Companion Computer to Ver. 0.028 and it’s working now!

Glad you managed to get this sorted out 🙂
