paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] airframe.xml parameters not taken into account with na


From: Mitchell SLOWER
Subject: [Paparazzi-devel] airframe.xml parameters not taken into account with nav_catapult module
Date: Wed, 7 Nov 2012 23:10:16 +0100

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

  </section>

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: https://github.com/paparazzi/paparazzi/blob/v4.0/sw/airborne/modules/nav/nav_catapult.c


Regards,
Mitchell


reply via email to

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