RC_REALLY_LOST problem SOLVED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RC_REALLY_LOST problem SOLVED

Chris Efstathiou
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?>>




_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel