[Top][All Lists]

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

Re: [Paparazzi-devel] barometer ms5611

From: Cédric Marzer
Subject: Re: [Paparazzi-devel] barometer ms5611
Date: Sun, 22 Nov 2015 22:34:37 +0100

Ok, I added that to the airframe file :

    <target name="ap" board="imp_v5">
    <configure name="USE_BARO_BOARD" value="FALSE"/>
    <configure name="USE_BARO_MS5611" value="TRUE"/>

and that :

 <modules main_freq="512">
    <load name="gps_ubx_ucenter.xml">
    <load name="geo_mag.xml"/>
    <load name="imp_osd.xml"/> 
    <load name="baro_ms5611_spi.xml">
        <define name="MS5611_SPI_DEV" value="spi2"/>
        <define name="MS5611_SLAVE_IDX" value="SPI_SLAVE0"/>
        <define name="SENSOR_SYNC_SEND"/>

but it doesn't seem to work :
no BARO_MS5611 message is fired and the baro reading in the vertical loop stays at 0 m.
It is as if either the event function is never called or the barometer cannot be read…
That is a bit frustrating... 

Le 22 nov. 2015 à 18:58, Felix Ruess <address@hidden> a écrit :

Hi Cedric,

I think it would be easier (and cleaner) if you don't use baro_board, but instead load the baro_ms5611_spi module.

Cheers, Felix

reply via email to

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