[Top][All Lists]

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

Re: [Paparazzi-devel] airframe.xml parameters not taken into account wit

From: Felix Ruess
Subject: Re: [Paparazzi-devel] airframe.xml parameters not taken into account with nav_catapult module
Date: Wed, 7 Nov 2012 23:28:00 +0100

Hi Mitchell,

hm.. weird... it looks correct.
Can you quickly check if the defines are really present in the generated airframe file? (var/<ac_name>/generated/airframe.h)

Cheers, Felix

On Wed, Nov 7, 2012 at 11:10 PM, Mitchell SLOWER <address@hidden> wrote:
Dear all,

I just noticed that nav_catapult parameters defined in the airframe.xml file are not taken into account and default values are used. Maybe I did something wrong.

First of all, I added the module to the airframe.xml:   <load name="nav_catapult.xml"/>

Then, I add the parameters into the CATAPULT section: 

  <section name="CATAPULT" prefix="NAV_CATAPULT_">

    <define name="MOTOR_DELAY" value="60"/>            <!-- 60 = 1 second (if control loops run at 60Hz) -->

    <define name="HEADING_DELAY" value="(60*15)"/>

    <define name="ACCELERATION_THRESHOLD" value="2"/>

    <define name="INITIAL_PITCH" value="(15.0/57.0)"/>        <!-- 15 degres initial pitch -->

    <define name="INITIAL_THROTTLE" value="1.0"/>        <!-- 100% throttle -->


I did the test with MOTOR_DELAY: with any declared value in the define, it will always use the default value set in nav_catapult.c ).

Does anyone know why default values are used instead of the defined values ?

For reference, nav_catapult.c is here:


Paparazzi-devel mailing list

reply via email to

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