|
From: | GARCIA ALVAREZ, ANA |
Subject: | [Paparazzi-devel] airspeed sensor |
Date: | Mon, 13 Dec 2010 08:45:30 +0100 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |