paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] airspeed/baro modules


From: Martin Mueller
Subject: Re: [Paparazzi-devel] airspeed/baro modules
Date: Wed, 27 Oct 2010 23:57:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.14) Gecko/20101006 Thunderbird/3.0.9

Hi Christian,

do you want to use the airspeed sensor for the airspeed control loop or for measuring the speed (or both)?

Both should be available separately. Did some changes and committed them so that these options can be switched. If you want to use the airspeed sensors for the control loop, please set the USE_AIRSPEED define in the airframe file (as it is in the airspeed_adc). If you want to get sensor information as it is acquired without delay through the PERIODIC_SEND_ telemetry mechanism, please set SENSOR_SYNC_SEND. That switch will be there for all sensors that have a dual-use for payload and navigation (currently airspeed and baro). Both switches can be used simultaneously.

control loop:   USE_AIRSPEED
immediate send: SENSOR_SYNC_SEND

Best regards,
Martin

On 27.10.2010 19:45, Bart Remes wrote:
Hi Gautier,

I tested the new airspeed_adc modulle.
If you wnat the code to use the airspeed in the fw_v_ctl.c you have to
add this to you airframe file.
<flag name="USE_AIRSPEED"/>

my airframe file looks like this:

<load name="airspeed_adc.xml">
<define name="ADC_AIRSPEED" value="ADC_5"/>
<flag name=" AIRSPEED_QUADRATIC_SCALE" value="1.2588f"/>
<flag name="AIRSPEED_BIAS" value="230"/>
<flag name="AIRSPEED_NB_SAMPLES" value="32"/>
<flag name="USE_AIRSPEED"/>
</load>

Regards Bart
PS: is there a reason why the code is still in fw_v_ctl.c and not in a
modulle?



_______________________________________________
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]