|
From: | alonso acuña |
Subject: | Re: [Paparazzi-devel] Poly Survey Issues |
Date: | Fri, 25 Apr 2014 02:51:08 -0600 |
Hello again,
Haha, yes Tobias I did mix up those waypoints and that was causing some of
the problems. However, after I fixed that it has only been working some of
the time. Let me give some examples.
The first picture surveyed perfectly near the location of our test field
with the code:
<waypoint name="S1" x="-742.8" y="1260.5"/>
<waypoint name="S2" x="387.1" y="1520.0"/>
<waypoint name="S3" x="2087.3" y="392.6"/>
<waypoint name="S4" x="794.5" y="-32.0"/>
...
<block name="Initialize Poly Survey"><call fun="InitializePolygonSurvey(WP_S1, 5, 100, 90)"/>
</block>
The second picture was copied from the wiki and put it in the location of
the competition field:
<waypoint alt="1453.0" name="S1" x="-1025.2" y="-57.5"/>
<waypoint alt="1453.0" name="S3" x="571.2" y="-89.4"/>
<waypoint alt="1453.0" name="S2" x="-274.5" y="282.1"/>
<waypoint alt="1453.0" name="S4" x="94.7" y="-574.3"/>
<waypoint alt="1453.0" name="S5" x="-633.9" y="-592.5"/>
...
<block name="Initialize Poly Survey"><call fun="InitializePolygonSurvey(WP_S1, 5, 100, 90)"/>
</block>
The third picture was something I wrote trying to replicate the wiki on the
competition field (which didn't work because it sort of ignores S2):
<waypoint alt="1453.0" name="S1" x="-546.2" y="297.4"/>
<waypoint alt="1453.0" name="S2" x="-129.8" y="744.1"/>
<waypoint alt="1553.0" name="S3" x="1030.5" y="535.5"/>
<waypoint alt="1453.0" name="S4" x="523.0" y="-236.7"/>
<waypoint alt="1453.0" name="S5" x="-285.9" y="-255.7"/>
...
<block name="Initialize Poly Survey"><call fun="InitializePolygonSurvey(WP_S1, 5, 100, 90)"/>
</block>
The code I show you are the only parts that I changed. I'm especially
confused as to why the last two pieces of code gives me two difference
results. Thanks.
Matthew
Poly_Survey_4.png
<http://lists.paparazziuav.org/file/n15192/Poly_Survey_4.png>
Poly_Survey_5.png
<http://lists.paparazziuav.org/file/n15192/Poly_Survey_5.png>
Poly_Survey_6.png
<http://lists.paparazziuav.org/file/n15192/Poly_Survey_6.png>
--
View this message in context: http://lists.paparazziuav.org/Poly-Survey-Issues-tp15174p15192.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |