[Top][All Lists]

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

Re: [Paparazzi-devel] Changing IR_PITCH_NEUTRAL_DEFAULT in flightplan?

From: Pascal Brisset
Subject: Re: [Paparazzi-devel] Changing IR_PITCH_NEUTRAL_DEFAULT in flightplan?
Date: Wed, 25 Mar 2009 20:44:07 +0100
User-agent: Thunderbird (X11/20090318)


the variable is named ir_pitch_neutral (sw/airbrone/infrared.c:142), in radians, so

<set var="ir_pitch_neutral" value="ir_pitch_neutral+0.001"/>

and you probably need the corresponding header:

#include "infrared.h"

Note that in your example the set instruction is never executed since an oval instruction never ends


Nicholas Wagner wrote:
Changing IR_PITCH_NEUTRAL_DEFAULT in flightplan? It was suggested to me by a peer to have this done automatically by use of the set command in the flight plan but I am receiving an error on build:

In file included from nav.c:254:
/home/fcuav/paparazzi/var/TJ1/flight_plan.h: In function ‘auto_nav’:
/home/fcuav/paparazzi/var/TJ1/flight_plan.h:164: error: lvalue required as left operand of assignment

Offending block:
<block name="Oval 1-2" strip_button="Oval (wp 1-2)" strip_icon="oval.png">
      <oval p1="1" p2="2" radius="46"/>

I know this appears dangerous but its easier than doing it every time a loop around the oval is complete... Any suggestions?


Nick Wagner
Mechanical Engineering
Colorado State University
C: 970.631.2989
E: address@hidden <mailto:address@hidden>

Paparazzi-devel mailing list

reply via email to

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