paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] For Horizontal Filter users


From: Felix Ruess
Subject: Re: [Paparazzi-devel] For Horizontal Filter users
Date: Fri, 28 Sep 2012 23:39:59 +0200

Hi Walid,

yes, you have to make sure to use the right prefix... maybe we'll have a tool that checks valid defines at some point, that would be nice.
But I wonder where you found this problem (since the B2_ prefix was removed ~2 years ago), at least in none of the airframes in the repository this is used...

Cheers, Felix

On Fri, Sep 28, 2012 at 12:25 PM, Walid Achour <address@hidden> wrote:
Hi everyone,

If you use Horizontal Filter, the ACCEL_Noise tunning, in your airframes (paparazzi/conf/airframes), is not tacking into account because we have  B2_HFF prefix and not HFF prefix. In hf_float.c (ins sybsystem), we have always HFF_ACCEL_NOISE=0.5

For exemple, for this config., HFF_ACCEL_NOISE=20. is not tacking into account:

paparazzi/conf/airframes:


<section name="HORIZONTAL_FILTER" prefix="B2_HFF_">
    <define name="ACCEL_NOISE"  value="20."/>
    <define name="R_POS"        value="8."/>
    <define name="R_POS_MIN"    value="3."/>
    <define name="R_SPEED"      value="2."/>
    <define name="R_SPEED_MIN"  value="1."/>
  </section>

In hf_float.c:


#ifndef HFF_ACCEL_NOISE
#define HFF_ACCEL_NOISE 0.5
#endif


Good Flight

@+

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



reply via email to

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