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: Martin Mueller
Subject: Re: [Paparazzi-devel] Lisa M v2 Barometer (MS5611) on pprz 4.2
Date: Sat, 09 Mar 2013 23:27:11 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

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



reply via email to

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