<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[BAR30 on Flight Core]]></title><description><![CDATA[<p dir="auto">Does the Flight Core firmware support the BAR30 pressure sensor?  I plugged one into J13 after changing out the connector, but the sensor didn't register in QGroundControl.  Then it donned on me that ArduSub supports the BAR30, but not the others.  I'm using the Flight Core on a submersible and I will be using the BAR30 for depth.</p>
<p dir="auto">If this isn't already supported then I will need to manually pull it in from ArduSub I suppose.  I can write my own app to access the I2C bus and publish the information as a node.</p>
]]></description><link>https://forum.modalai.com/topic/42/bar30-on-flight-core</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 18:51:22 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/42.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Nov 2020 16:07:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BAR30 on Flight Core on Wed, 26 May 2021 18:40:46 GMT]]></title><description><![CDATA[<p dir="auto">I know this is kinda an old post but I have created a driver for px4 that can use both flavors of the MS5837 the bar2 and bar30. I will create a pull request with px4 so it will be available.</p>
]]></description><link>https://forum.modalai.com/post/1211</link><guid isPermaLink="true">https://forum.modalai.com/post/1211</guid><dc:creator><![CDATA[ryan_meagher]]></dc:creator><pubDate>Wed, 26 May 2021 18:40:46 GMT</pubDate></item><item><title><![CDATA[Reply to BAR30 on Flight Core on Fri, 20 Nov 2020 18:34:45 GMT]]></title><description><![CDATA[<p dir="auto">If it's a good addition, and you're up for it, I'd suggest going for it and adding the driver to the 'standard' PX4 code base!  If it's in the master branch we could pull it in pretty easily.<br />
Thanks!</p>
]]></description><link>https://forum.modalai.com/post/133</link><guid isPermaLink="true">https://forum.modalai.com/post/133</guid><dc:creator><![CDATA[modaltb]]></dc:creator><pubDate>Fri, 20 Nov 2020 18:34:45 GMT</pubDate></item><item><title><![CDATA[Reply to BAR30 on Flight Core on Thu, 19 Nov 2020 21:50:38 GMT]]></title><description><![CDATA[<p dir="auto">It looks like ArduSub modified the ms5611 driver to accommodate the ms5837 and calls the driver AP_Baro_MS5611.  The init() has a switch case on _ms56xx_type and includes a "BARO_MS5837" case.</p>
<p dir="auto"><a href="https://github.com/ArduPilot/ardupilot/blob/ArduSub-4.0.0/libraries/AP_Baro/AP_Baro_MS5611.cpp" rel="nofollow ugc">https://github.com/ArduPilot/ardupilot/blob/ArduSub-4.0.0/libraries/AP_Baro/AP_Baro_MS5611.cpp</a></p>
<p dir="auto">It also includes a function for calculating the temperature and compensated pressure for the 5837.</p>
<p dir="auto">The Flight Core firmware incudes a different version of the MS5611 driver that doesn't support the ms5837.  This would be a good update to pull in.</p>
]]></description><link>https://forum.modalai.com/post/132</link><guid isPermaLink="true">https://forum.modalai.com/post/132</guid><dc:creator><![CDATA[Andrew Keefe]]></dc:creator><pubDate>Thu, 19 Nov 2020 21:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to BAR30 on Flight Core on Mon, 16 Nov 2020 16:24:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi Andrew,</p>
<p dir="auto">We've not tried using this sensor, but getting I2C drivers up and going is pretty easy normally.  I found this in the Nuttx code base that might help:</p>
<p dir="auto"><a href="https://github.com/PX4/NuttX/blob/904a602c74dc08a100b5c2bd490807de19e73e10/drivers/sensors/ms58xx.c" rel="nofollow ugc">https://github.com/PX4/NuttX/blob/904a602c74dc08a100b5c2bd490807de19e73e10/drivers/sensors/ms58xx.c</a></p>
<p dir="auto">You'd need to enable the driver to build in here:<br />
<a href="https://github.com/PX4/PX4-Autopilot/blob/master/boards/modalai/fc-v1/default.cmake#L17" rel="nofollow ugc">https://github.com/PX4/PX4-Autopilot/blob/master/boards/modalai/fc-v1/default.cmake#L17</a></p>
<p dir="auto">And to run on startup here:<br />
<a href="https://github.com/PX4/PX4-Autopilot/blob/master/boards/modalai/fc-v1/init/rc.board_sensors" rel="nofollow ugc">https://github.com/PX4/PX4-Autopilot/blob/master/boards/modalai/fc-v1/init/rc.board_sensors</a></p>
]]></description><link>https://forum.modalai.com/post/123</link><guid isPermaLink="true">https://forum.modalai.com/post/123</guid><dc:creator><![CDATA[modaltb]]></dc:creator><pubDate>Mon, 16 Nov 2020 16:24:42 GMT</pubDate></item></channel></rss>