[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] RC_REALLY_LOST problem SOLVED
From: |
Chris |
Subject: |
[Paparazzi-devel] RC_REALLY_LOST problem SOLVED |
Date: |
Mon, 2 Apr 2018 18:18:51 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Well it looks like i need some time to remember things.
It was really easy like:
<exception cond="(radio_control.status ==
RC_REALLY_LOST)&&(autopilot.flight_time > 5)" deroute="Return Home"/>
and that reminded me why i like paparazzi so much...
Chris
<< am trying to implement a safeguard like this: <exception
cond="radio_control.status == RC_REALLY_LOST" deroute="Return Home"/> in
the global exceptions tag but it causes the flight plan to go
immediately to the "Return Home" block because during initialization the
default value is "radio_control.status = RC_REALLY_LOST" (in the
radio_control.c file).
Is there any way around it maybe by changing the default initializing
value to RC_OK or delaying the very first check of this value in the
flight plan?>>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] RC_REALLY_LOST problem SOLVED,
Chris <=