×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Internal guider log: dither/settling info

  • Posts: 1009
  • Thank you received: 133
Hi,

I just had a look at last night guiding using phdlogview. This is absolutely great that the logfiles are compatible!

But I noticed that, other than when using PHD2 for guiding, the dither sections are not automatically greyed out. Looking in the logfile, for the internal guider a dither looks like this:
74,358.967,"Mount",-0.127,0.266,0.127,0.315,0.008,0.326,2,W,55,S,,,550612,466.92,0
INFO: DITHER by -3.004, -2.641, new lock pos = 154.221, 466.619
75,363.990,"Mount",2.789,2.389,-2.640,2.552,-1.584,2.649,420,E,447,S,,,546090,461.13,0
76,369.300,"Mount",1.058,-0.142,-1.065,-0.078,-0.637,0.000,169,E,0,,,,547444,466.13,0
INFO: SETTLING STATE CHANGE, Settling started
INFO: SETTLING STATE CHANGE, Settling complete
77,381.229,"Mount",0.092,0.175,-0.135,0.194,-0.079,0.000,21,E,0,,,,543011,463.21,0
whereas PHD2 reports the 'settling started' right away after the dither info. As phdlogview only marks the points between the 'started' and 'completed' lines, in the EKOS case nothing gets marked as settle...
Would be great if that could be done the same in EKOS. Marking all the dithers of a night by hand is a bit cumbersome :huh:

(Hmm, should this have gone to 'Wishlist'?)

Edit: Why does the edit command convert square brackets to angled ones, and then doesn't understand them!?
Last edit: 3 years 6 months ago by Peter Sütterlin.
3 years 6 months ago #60975

Please Log in or Create an account to join the conversation.

  • Posts: 1221
  • Thank you received: 565
Pit,

I'd be happy to help, I introduced this log just for people like you who want to use phdlogview, however let me know what you think...

So, are you saying that the moment dithering starts (i.e. it changes its target pixel values, but hasn't even pulsed the mount yet) the 'Settling Started' message should be printed?
If that's the case, then why do they even bother with a 'Settling Started' message. They could just use the "DITHER by" message.
The way I implemented it, was to put the settling started message after the dithering was complete (i.e. it changed the target, pulsed the mount a few times to get 'close enough' to the target). Then, there is a Settle parameter in Guide Options, which means "after the dithering is done, wait N more seconds before starting to capture (defaults to 0)." This (potentially 0-second-long) settling interval is what you're currently seeing.

It seems to me that you're pointing out a bug in phdlogview, more than one in KStars. However, from a practical point of view, it may be easier to fix KStars, as this log is really only useful for phdlogview.

What do you think, should it be changed in KStars?
Hy
3 years 6 months ago #60981

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133

:D

At least this is how it's done in PHD2:
INFO: SET LOCK POSITION, new lock pos = 222.368, 725.819
INFO: DITHER by 1.086, 1.738, new lock pos = 223.256, 727.666
INFO: SETTLING STATE CHANGE, Settling started
523,2270.786,"Mount",-0.889,-1.847,-1.086,-1.738,-1.086,-1.738,122,E,135,N,,,1491138,370.14,0
524,2274.840,"Mount",-1.669,0.828,-1.569,1.133,-0.863,0.906,97,E,70,S,,,1874636,429.01,0
525,2278.868,"Mount",-0.313,-0.817,-0.400,-0.742,-0.220,-0.594,25,E,46,N,,,1486827,280.59,0
526,2282.955,"Mount",0.328,-0.087,0.317,-0.148,0.000,0.000,0,,0,,,,1557053,241.27,0
INFO: SETTLING STATE CHANGE, Settling complete
That is well true...I can well follow there. But what it leads to is that I always get the 'started' message directly followed by the 'settled' message. And as the INFO entries don't have timestamps that effectively is a zero settling. But TBH, I would indeed rather take the new lock point as something that cancels the 'settled' state, taking the settling as the time it needs to reach that new position. So I think both views have an argument...
I'd say yes. As you write, the log was set up in a way to be compatible with PHD2 and especially phdlogview. So it would be more straightforward to take the pragmatic approach and copy it's view of things (even if you'd rather consider it wrong). But unless you can convince Andy to change phdlogview (and probably also PHD2), not doing it would reduce the 'user experience'.

My 2¢
3 years 6 months ago #60984

Please Log in or Create an account to join the conversation.

  • Posts: 1221
  • Thank you received: 565
Merge Request submitted.
invent.kde.org/education/kstars/-/merge_requests/96
It may be merged into KStars after Jasem reviews it.
I tested with the simulator and my dithers were now greyed out by phdlogview.
Thanks!

FWIW, this was my favorite kind of bug report--one where you tell me exactly what I need to do to fix the problem!
The following user(s) said Thank You: Peter Sütterlin
3 years 6 months ago #60993

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226
To get the internal guide logs to exclude dither and settling in PHD Log Viewer, I had to enable 'Exclude Settling Parametrically' in the log viewer settings.
3 years 6 months ago #61031

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133
Whee! Indeed, that works. Didn't even know about that option :o

But Hy's patch already made it to the main repo :D
3 years 6 months ago #61054

Please Log in or Create an account to join the conversation.

Time to create page: 0.702 seconds