paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Changing IR_PITCH_NEUTRAL_DEFAULT in flightplan?


From: Nicholas Wagner
Subject: [Paparazzi-devel] Changing IR_PITCH_NEUTRAL_DEFAULT in flightplan?
Date: Wed, 25 Mar 2009 13:23:45 -0600

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:

Error:
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"/>
      <set var="IR_PITCH_NEUTRAL_DEFAULT" value="IR_PITCH_NEUTRAL_DEFAULT+0.05"/>
 </block>

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

Nick

--
Nick Wagner
Mechanical Engineering
Colorado State University
C: 970.631.2989
E: address@hidden

reply via email to

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