paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Re: airspeed/baro modules


From: Christian Behrens
Subject: [Paparazzi-devel] Re: airspeed/baro modules
Date: Tue, 02 Nov 2010 12:58:38 +0100

Hi Martin,
our airframe file contains the following:
<subsystem name="i2c"/>
 <modules>
    <load name="baro_scp.xml">
        <flag name="SENSOR_SYNC_SEND"/>
    </load>
    <load name="airspeed_ets.xml"/>
    <load name="baro_ets.xml"/>
 </modules>
we get the Sensor in the Messages, but do not get any Values. 
Did we miss anything?


Greets

Christian

> Send Paparazzi-devel mailing list submissions to
>       address@hidden
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> or, via email, send a message with subject or body 'help' to
>       address@hidden
> 
> You can reach the person managing the list at
>       address@hidden
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Paparazzi-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: airspeed/baro modules (Bart Remes)
>    2. Re: airspeed/baro modules (Martin Mueller)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 27 Oct 2010 19:45:48 +0200
> From: Bart Remes <address@hidden>
> Subject: Re: [Paparazzi-devel] airspeed/baro modules
> To: paparazzi-devel <address@hidden>
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 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?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://lists.nongnu.org/archive/html/paparazzi-devel/attachments/20101027/1cfa5b34/attachment.html
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 27 Oct 2010 23:57:42 +0200
> From: Martin Mueller <address@hidden>
> Subject: Re: [Paparazzi-devel] airspeed/baro modules
> To: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 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
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> 
> 
> End of Paparazzi-devel Digest, Vol 79, Issue 28
> ***********************************************





reply via email to

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