[Top][All Lists]

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

Re: [Paparazzi-devel] Lisa/M 2.0 with Aspirin 2.2 MS5611 barometer

From: Felix Ruess
Subject: Re: [Paparazzi-devel] Lisa/M 2.0 with Aspirin 2.2 MS5611 barometer
Date: Fri, 23 Aug 2013 14:10:36 +0200

Hi Alonso,

baro handling is currently still a bit different under fixedwing firmware... we are in the process of cleaning this up, but it's not done yet.

I added the baro_ms5611_spi.xml module in the baro_peripherals branch, would be great if you could test if this works.
To use it:
git remote update
git checkout baro_peripherals

Then in your airframe file:
    <load name="baro_ms5611_spi.xml">
      <define name="MS5611_SPI_DEV" value="spi3"/>
      <define name="MS5611_SLAVE_DEV" value="SPI_SLAVE3"/>
    <load name="baro_board.xml">
      <define name="BARO_ABS_EVENT" value="BaroMs5611UpdatePressure"/>

Cheers, Felix

On Thu, Aug 22, 2013 at 4:53 AM, alonso acuña <address@hidden> wrote:
I am building a fixedwing. I noted that the code for the Barometer which appears in the rotorcraft.makefile is missing from the fixedwing makefile. I added it and now I can see 
CC /usr/datos/prog/uav/paparazzi.master/var/Senior_Alonso/ap/boards/lisa_m/baro_ms5611_spi.o
but still get no messages

On Wed, Aug 21, 2013 at 8:35 PM, alonso acuña <address@hidden> wrote:
Hello. I have a Lisa/M 2.0 with Aspirin 2.2 . Is the barometer usable in any way? For the moment I am just interested in getting readings to see if it is accurate.

I have tried with <configure name="LISA_M_BARO" value="BARO_MS5611_SPI"/>
and commented out the  #ifdef DEBUG  in baro_ms5611_spi.c to make sure that DOWNLINK_SEND_BARO_MS5611 is run but I don't get any messages. 

Thanks for your help

Paparazzi-devel mailing list

reply via email to

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