paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Fwd: Getting data from Aspirin onboard baro.


From: Helge Walle
Subject: [Paparazzi-devel] Fwd: Getting data from Aspirin onboard baro.
Date: Wed, 27 Nov 2013 08:52:37 +0100

Hi,

I would like to verify some features of my Lisa/M 2.0 board with onboard Aspirin IMU 2.1 r1. I have made an airframe file for it, please see the attachment.

As for the the Aspirin, R1 and R2 are placed, and JP4 and JP5 are not connected.

I get messages from the gyro and accelerometer all right, and the PFD shows correct movements in GCS when I move the board. However I do not think I get anything from the baro.

These lines are in my firmware section:

<firmware name="fixedwing">
<target name="ap" board="lisa_m_2.0">
<configure name="LISA_M_BARO" value="BARO_MS5611_SPI"/>
<configure name="USE_BARO_BOARD" value="TRUE"/><!-- default if board has baro -->
<define name="USE_BAROMETER" value="TRUE"/><!-- if ins_alt_float is used -->
<configure name="PERIODIC_FREQUENCY" value="120"/>
<configure name="AHRS_PROPAGATE_FREQUENCY" value="100"/>
<configure name="AHRS_CORRECT_FREQUENCY" value="100"/>
<define name="AHRS_TRIGGERED_ATTITUDE_LOOP" />
<configure name="AHRS_ALIGNER_LED" value="3"/>
<configure name="CPU_LED" value="3"/>
<define name="PERIOD_NAVIGATION_0" /><!-- stop NAVIGATION msg in main_ap.c -->
</target>


I commented out the #if DEBUG and #endif lines in sw/airborne/boards/baro_board_ms5611_spi.c to get the BARO_MS5611 message. The message shows only hPa=0. and deg_celsius=20.

The BARO_RAW message shows float abs=0. and float diff=0.

It seems I do not get values from the baro.

I use Paparazzi version v5.1_devel-664-g7c425ae-dirty.

Could anyone please point me in the right direction, how to get the baro values?

Thanks,
Helge.


Attachment: skywalkerhw_lisam20_aspirin21_1.xml
Description: Text Data


reply via email to

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