×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Driver OnStep (LX200 like) for INDI

  • Posts: 322
  • Thank you received: 31
James,

Thanks for looking into this in more detail, and finally solving the crashes.

Just to be clear, does the PR include only the different timeouts for network vs. serial?
Or does it also include checking the presence of the devices we know will cause timeouts if they a not there (specifically the return of :FA (focuser1), :fA (focuser2), and :GX98 (rotator)?

If the PR does not include those, then I really think these should be included.
2 years 4 months ago #78143

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

  • Posts: 452
  • Thank you received: 71
@James,

I am testing your latest PR and so far do not notice any issue.
I am running it on two OnStep configuration:
- Without any Focuser / Rotator
- With a Focuser
Even the strange jump when Parking / Unparking is not there anymore.
I will leave those running some time but it looks like you fixed it.

Thanks you very much for your work
The following user(s) said Thank You: james_lan
2 years 3 months ago #78312

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

  • Posts: 161
  • Thank you received: 39
The PR included that difference in timeouts, as well as a bunch of verification so that if there's a timeout it will warn, and abort the update.

It will probe and detect focusers and rotators, as has always been done. (Which on serial should amount to the 0.1 sec timeout, or 2 sec on network.) So yes, those will cause timeouts on startup.

I did add a little gating based on version to something with rotators. Up to V3 lacks the commands. rI rM rT and has no equivilent (at least in the current version and prior versions I looked at.) That and checking for OnStepX focusers (when version is OnStepX or unknown) are the only gating like that. As for the most part the commands are pretty consistent across versions.
2 years 3 months ago #78348

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

  • Posts: 452
  • Thank you received: 71
@James,
till no issues after one night running of two instances of OnStep on Kstars.

How did you set-up your testing environment?
I am using QTCreator to run OnStep in Debug mode, not allways easy on a single screen machine but helps a lot.
2 years 3 months ago #78353

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

  • Posts: 322
  • Thank you received: 31
Jasem merged the PR from James.

So I updated from Jasem's repo, then compiled it and testing now over WiFi.
There are no timeouts.

One very important and confusing change: there is no way to change the connection at all since all the fields are missing now.

Here is a screenshot to better show what the issue actually is.
 
2 years 3 months ago #78364

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

  • Posts: 452
  • Thank you received: 71
Khalid,

unfortunately this missing fields are not OnStep related. Did you try again after restarting Kstars.
I observe the same using Eqmod.
And it is not reproducible, sometimes yes sometimes no ...
2 years 3 months ago #78366

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

  • Posts: 322
  • Thank you received: 31
Yes, now that I tried a couple of times, the connection info is shown and can be changed.

I guess we need to report this to Jasem, so it is fixed before the next packages are built. Right?
2 years 3 months ago #78369

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

  • Posts: 452
  • Thank you received: 71
I suppose yes.
I noticed this some time before .
The strange thing is I cannot find a rule to reproduce it.
2 years 3 months ago #78371

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

  • Posts: 452
  • Thank you received: 71
Two Onstep Telescope with Kstars.
  
Last edit: 2 years 3 months ago by Alain Zwingelstein.
2 years 3 months ago #78376
Attachments:

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


I believe I found and fixed this issue, please test KStars from GIT or nightly.
The following user(s) said Thank You: Alain Zwingelstein
2 years 3 months ago #78380

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

  • Posts: 322
  • Thank you received: 31
The "telescope connection disappearing" issue is in KStars, not INDI?
2 years 3 months ago #78382

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

  • Posts: 452
  • Thank you received: 71
@Jasem,

Just compiled Kstars from Git and yes, looks klike you fixed it, connection selection is always accessible.

Thanks a lot
2 years 3 months ago #78385

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

Time to create page: 0.776 seconds