|
From: | Chris |
Subject: | [Paparazzi-devel] RC_REALLY_LOST problem |
Date: | Sun, 1 Apr 2018 22:53:10 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hi.I 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?
Chris
[Prev in Thread] | Current Thread | [Next in Thread] |