|
From: | Simon Liebold |
Subject: | Re: [Paparazzi-devel] InsideGreen() or non-circular mission boundary? |
Date: | Tue, 04 Mar 2014 22:38:18 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hello,
So, I changed the order of the polygon corners (now clockwise) and simplified the flight plan a bit. Still, it did not change the outcome. What puzzles me is that it keeps jumping to the "Center" Block(8) directly after I started the simulator (see attached screenshot) while the simulated airframe is still stationary on HOME. Again, manually switching to any other block will result it jumping back to Block(8) a split-second later. Now I looked at the generated code (flight_plan.h) trying to understand what is happening with the inputs (x=0.4375; y=0.5): static inline bool_t InsideGreen(float _x, float _y) { \ And I don't see why it would not return the line in the middle but jumps to one of the "return FALSE". I have to say, I am not a C expert (yet)... Simon Am 04.03.2014 12:26, schrieb Simon Liebold:
--
Simon Liebold | address@hidden | Key ID: 0xB59D1EC6 | CAcert Assurer Cell +49 151 550 671 53 | Fon +49 69 173 265 300 | sip:address@hidden |
Auswahl_918.png
Description: PNG image
Saarmund.xml
Description: Text Data
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |