<div dir="ltr">On 10 March 2017 at 19:34, Anton Lundin <span dir="ltr"><<a href="mailto:glance@acc.umu.se" target="_blank">glance@acc.umu.se</a>></span> wrote:<br><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10 March, 2017 - Anton Lundin wrote:<br>
<br>
> On 09 March, 2017 - John Smith wrote:<br>
><br>
> > I am playing with the planner and have a few questions, hopefully showing my lack of knowledge rather than bugs [😊]<br>
> ><br>
> ><br>
> > I have 4.6.3.36 running on W10.<br>
> ><br>
> ><br>
> > Firstly, although i have all the ascent rates set to 10m/min, the ascent rate in the profile window shows 9m/min.<br>
> ><br>
><br>
> After some testing, i think this is due to that all the spinboxes<br>
> doesn't trigger update on the plan. Try to change the depth or duration<br>
> up and down and the plan will be re-calculated with the right values.<br>
<br>
</span>Nope. It wasn't. I was just a bad tester.<br>
<br>
Its just a artifact of which depths and time steps that the planner<br>
works with. Ex, if you change all the Ascent speeds to 15m/min, the<br>
profile for that dive will be 15m/min.<br>
<br>
The planner tries to match the configured Ascent speeds, but if they<br>
don't align with the depth/time, it errors to the side of caution, and<br>
accents a bit slower.<br>
<div class="HOEnZb"><div class="h5"><br>
<br></div></div></blockquote>Yes, it is a pretty minor rounding error, but it's worse than it needs to be.  The planner works in 2s increments, so ascending at 10m/min means each 3m stop interval should take exactly 18s, but we take 18s to ascend 2.998m (166.66667 mm/s is truncated to 166mm/s rather than rounded to 167mm/s), so add an extra 2s increment, resulting in 10m/min.  I just submitted a patch to round the ascent and descent rates when setting the preference.<br><br></div><div class="gmail_quote">Cheers,<br><br></div><div class="gmail_quote">Rick<br></div></div></div></div>