paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] airspeed sensor


From: Martin Mueller
Subject: Re: [Paparazzi-devel] airspeed sensor
Date: Mon, 13 Dec 2010 09:11:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Hi Ana,

seems the 'transparent' telemetry needs DOWNLINK_DEVICE to be defined in the modules sending telemetry directly whereas 'xbee_api' does not. Added that. Getting the recent git and setting SENSOR_SYNC_SEND should work for you.

Martin

On 13.12.2010 08:45, GARCIA ALVAREZ, ANA wrote:
Hello, I have an Eagle Tree sensor and I’m trying to get the measured
values in the message airspeed without activating the airspeed control
chain. I have moved now to the new “firmware” definitions and have in
the airframe file:

<firmware name="fixedwing">

<target name="sim" board="pc" />

<target name="ap" board="tiny_2.11">

<param name="FLASH_MODE" value="IAP" />

<define name="AGR_CLIMB" />

<define name="LOITER_TRIM" />

<define name="ALT_KALMAN" />

<define name="USE_I2C0"/>

<define name="MEASURE_AIRSPEED"/>

</target>

…

…

…

<subsystem name="i2c"/>

</firmware>

<modules>

<load name="airspeed_ets.xml"/>

</modules>

When I compile I get the warning:

CC /home/autopiloto/paparazzi/var/LASSv2/ap/arch/lpc21/i2c_hw.o

CC /home/autopiloto/paparazzi/var/LASSv2/ap/modules/sensors/airspeed_ets.o

modules/sensors/airspeed_ets.c:47:2: warning: #warning either set
USE_AIRSPEED or SENSOR_SYNC_SEND to use ets_airspeed

If I run anyway, the airspeed message is fix: 15

If I activate the flag in the module like this:

<modules>

<load name="airspeed_ets.xml">

<flag name="SENSOR_SYNC_SEND"/>

</load>

</modules>

I get the next when compiling:

CC /home/autopiloto/paparazzi/var/LASSv2/ap/arch/lpc21/i2c_hw.o

CC /home/autopiloto/paparazzi/var/LASSv2/ap/modules/sensors/airspeed_ets.o

modules/sensors/airspeed_ets.c: In function `airspeed_ets_read_event':

modules/sensors/airspeed_ets.c:164: warning: implicit declaration of
function `DOWNLINK_DEVICECheckFreeSpace'

modules/sensors/a

I don’t know if I’m missing something or doing something wrong. Any idea?

Thanks



_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel




reply via email to

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