Hi,
The InsideXxxx() functions are generated with the flight plan. You
can find them in var/<your AC name>/generated/flight_plan.h
For the fact that it immediately turns towards your CENTER waypoint,
it all depends on how you have defined the sector and how you are
using it, so if you want more help you should provide your flight
plan as well.
Gautier
Le 03/03/2014 23:51, Simon Liebold a
écrit :
Hello,
yesterday, in the last light of the day, I finally managed to get
my plane into the air. Just on AUTO1 so far. I had to navigate it
back by looking at the GCS screen and land before it got
completely dark. Phew!
AUTO2 is next. And here is my question around failsafe features:
Since I have enough space in one direction and not so much in the
other I am thinking of not only using the max_dist_from_home
but also to define a non-circular mission
boundary.
I defined the "Green" sector and the "_CENTER" waypoint within.
Now, the example in the wiki shows a function call InsideGreen()
but I did not find it in the sources. Without it will (and it
does in the simulation) turn towards the "_CENTER" immediately
because the function call evaluates to FALSE.
Has anybody implemented this function yet?
Simon
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
|