# BAR30 incompitable with Cube Orange Plus

**URL:** <https://discuss.bluerobotics.com/t/bar30-incompitable-with-cube-orange-plus/14912>\
**Category:** Sensors\
**Tags:** ardusub\
**Created:** [August 21, 2023, 3:17pm UTC](https://discuss.bluerobotics.com/t/bar30-incompitable-with-cube-orange-plus/14912 "2023-08-21T15:17:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 21, 2024, 1:29pm UTC](https://discuss.bluerobotics.com/t/bar30-incompitable-with-cube-orange-plus/14912/6 "2024-06-21T13:29:17Z")

</div>

Ahh, I was not aware you are trying to use ArduPlane.

Both the Bar30 and KellerLD [are instantiated](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Baro/AP_Baro_MS5611.cpp#L167) as [water barometers](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Baro/AP_Baro_KellerLD.cpp#L211), so I wouldn’t be surprised if ArduPlane just ignores them because it’s assumed planes are not operating underwater.

> [@Kevin](#):
>
> Maybe the Bar30 appears as an option in Arduplane though is not actually compatible in the Arduplane Firmware?

I did some poking around in the barometer code, and that is indeed the case. In particular:

1. [Only ArduSub includes the relevant sensor backends](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Baro/AP_Baro.cpp#L692-L700)
2. [Only ArduSub allows probing those sensor types](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Baro/AP_Baro.cpp#L807-L814)
3. [Only ArduSub includes the water density parameter](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Baro/AP_Baro.cpp#L135)

If you want to use water barometers with plane firmware then you’ll need to build a custom version of the plane firmware that changes those checks.

---

_[View the full topic](https://discuss.bluerobotics.com/t/bar30-incompitable-with-cube-orange-plus/14912)._
