|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] barometer ms5611 |
Date: | Mon, 23 Nov 2015 00:06:14 +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"/></target>and that :<modules main_freq="512"><load name="gps_ubx_ucenter.xml"></load><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"/></load></modules>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 :Cheers, FelixHi Cedric,I think it would be easier (and cleaner) if you don't use baro_board, but instead load the baro_ms5611_spi module.
http://docs.paparazziuav.org/latest/module__baro_ms5611_spi.html
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |