Yes, remember the coordinates of the last pointing update for this plan, compare with the current target coordinates, do the pointing update if it's "too far away" (Prefs.PointingUpdates.MaximumSlew).
The reason for limiting it to this plan is to prevent old stale coordinates from being used. The idea is that this optimization is effective within a plan. But wait! A Plan can have widely spaced Observations (in time) with other Plans' Observations in between. If other plans' observations run, then they will do pointing updates and write out to the cache file, so that's OK. Later Observations for the original plan will not find cache info. But what if you have only one Plan with two Observations spaces 4 hours apart? Even if the equ. coordinates are the same, there's a huge slew to the new horiz. coordinates. Needs more thought -- tomorrow!
|