<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px"><div id="yui_3_16_0_ym19_1_1466595974981_11072"><span><font size="3">Hi Anthony,</font></span></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><span><font size="3"><br></font></span></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><font size="3" id="yui_3_16_0_ym19_1_1466595974981_11369">Did not try the demo3 branch as yet.. it's a great initiative but unless rtklibexplorer gets approved by Tomoji and they start pushing to the same code base, it will be difficult to do a merge each time code is updated on either side.</font></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><font size="3">Will try and let the community know.</font></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><font size="3"><br></font></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><font size="3">Cheers,</font></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><font size="3">Michele</font></div><div id="yui_3_16_0_ym19_1_1466595974981_11072"><font size="3"><br></font></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 10px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, 22 June 2016, 14:37, anthony wooldridge <arwooldridge@googlemail.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv7807811840"><div>
<div>Hi Michele,</div>
<div>I too have noticed irretrievable recovery after loss of fix eg
base rover communication etc. <br clear="none">
</div>
<div>Possible some ideas from rtklibexplorer may help have you tried
his demo3 branch, and other good ideas re recovering from fix and
hold ?</div>
<div>Regards</div>
<div>Anthony<br clear="none">
</div>
<br clear="none">
<div class="yiv7807811840yqt5739719623" id="yiv7807811840yqt57710"><div class="yiv7807811840moz-cite-prefix">On 22/06/2016 13:06, Michele Bavaro
wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px;">
<div id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">Hello,</div>
<div id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">I am
doing Kinematic between base (LLH = 44.434828231 12.300198659
45.9096) and rover.</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">The
rover has 4Hz.</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">The
base has normally 0.2 Hz rate, but across midnight experiences
a gap of about 90 seconds.</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">So the
age of differential correctly grows and solution goes from 1
(fix) to 5 (single).</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">However
when the base eventually comes back, a perfectly good set of
observations pushes the EKF so far that AR does not recover
anymore.</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3115">So far
I am solving this by adding </div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3440"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3440"><font id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_4075" face="Courier New, courier, monaco, monospace, sans-serif">
memset(rtk->x, 0, rtk->nx*sizeof(double)); /** RESET
FLOAT STATES?? */</font></div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">in <i id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3762">rtkpos.c</i>
after </div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3482"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3482"><font id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_4051" face="Courier New, courier, monaco, monospace, sans-serif">
errmsg(rtk,"age of differential error
(age=%.1f)\n",rtk->sol.age);</font></div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">However,
my fix looks dirty and the problem should not manifest in the
first place?</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">So far
I am guessing the problem is here:</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3710"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3710"><font id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_4050" face="Courier New, courier, monaco, monospace, sans-serif"> if
((nv=ddres(rtk,nav,dt,xp,Pp,sat,y,e,azel,iu,ir,ns,v,H,R,vflg))<1)
{</font></div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3711"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3711">inside
<font face="Courier New, courier, monaco, monospace, sans-serif">relpos() </font>in <i id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_4049">rtkpos.c</i>. </div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3711">My
feeling is that the age of correction when the base wakes up
is said to be 0.2 seconds when in reality more than 90 have
passed and so the partial derivatives go off scale?</div>
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3929">Such
behavior, if confirmed, may impair any real-life situation in
which base and rover talk unreliably between each other...<br clear="none" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3930">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">All
data are here:</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441"><a rel="nofollow" shape="rect" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3556" target="_blank" href="https://www.dropbox.com/s/igwt9jsh8pco1bs/160531n-aann.zip?dl=0"></a><a rel="nofollow" shape="rect" class="yiv7807811840moz-txt-link-freetext" target="_blank" href="https://www.dropbox.com/s/igwt9jsh8pco1bs/160531n-aann.zip?dl=0">https://www.dropbox.com/s/igwt9jsh8pco1bs/160531n-aann.zip?dl=0</a><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">Can
anybody comment on this and propose a cleaner fix?<br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3906"><br clear="none" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3907">
</div>
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">Cheers,</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">Michele</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441"><br clear="none">
</div>
<div dir="ltr" id="yiv7807811840yui_3_16_0_ym19_1_1466595974981_3441">P.S.:
This happens with both 2.4.2b11 and 2.4.3b12</div>
</div>
<br clear="none">
<fieldset class="yiv7807811840mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
This message is sent to you from <a rel="nofollow" shape="rect" class="yiv7807811840moz-txt-link-abbreviated" ymailto="mailto:FOSS-GPS@lists.osgeo.org" target="_blank" href="mailto:FOSS-GPS@lists.osgeo.org">FOSS-GPS@lists.osgeo.org</a> mailing list.
Visit <a rel="nofollow" shape="rect" class="yiv7807811840moz-txt-link-freetext" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/foss-gps">http://lists.osgeo.org/mailman/listinfo/foss-gps</a> to manage your subscription
For more information, check <a rel="nofollow" shape="rect" class="yiv7807811840moz-txt-link-freetext" target="_blank" href="http://wiki.osgeo.org/wiki/FOSS-GPS">http://wiki.osgeo.org/wiki/FOSS-GPS</a></pre>
</blockquote></div>
<br clear="none">
</div></div><br><br></div> </div> </div> </div></div></body></html>