paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Lisa M v2 Barometer (MS5611) on pprz 4.2


From: ustuav
Subject: Re: [Paparazzi-devel] Lisa M v2 Barometer (MS5611) on pprz 4.2
Date: Sun, 10 Mar 2013 21:39:37 -0500

Hi Martin.  Thanks for the reply! Also, thank you for committing the new changes to the ms5611 driver.  I will be in the lab tomorrow to verify that it works.  Thanks again!

On Sat, Mar 9, 2013 at 4:27 PM, Martin Mueller <address@hidden> wrote:
Hi,


I'm trying to get the Barometer (MS5611) from the Aspirin 2.1 to work
with Paparazzi 4.2.

What I've tried:
* Adding the module "baro_ms5611_i2c.xml" to my airframe file.
     -- this gave me errors such as 'i2c0' undeclared and 'ground_alt'
undeclared.
* After getting that error I added <define name="I2C0" /> to my airframe
file.
     -- that got rid of the first error but I still get the ground_alt
undeclared error.
* I also tried adding the I2C sub-module but that didn't do anything.

Has anyone been able to get the Aspirin 2.1 onboard barometer to work?
I really don't want to upgrade to the master branch.

The nav.h was missing for ground_alt in the ms5611 driver, added that to v4.2. Also changed the default I2C address to match a low CSB\ as most boards (Aspirin2.1, FreeIMU 0.4.3, ...) have that pin low.

You add i2c0 by having USE_I2C0 in your airframe file.

<target name="ap" board="<your_board_type>">
      <define name="USE_I2C0"/>
      ...

Martin

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]