×

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: 161
  • Thank you received: 39

As regards the PEC I/E, I will work on it when I can, but unfortunately, my mount messed up so I don't have one with PEC (Not that it's going to be required for it, but I can't test it.)

As far as the tiny slews, I think I recall that being due to acceleration/deceleration, and a note about that in old config files? I can't seem to find it right now, but you might go browse old git versions. This seems like something that's going to be more an OnStep issue, than the INDI interface. Though if you've got logs those would be good to know. The INDI interface should reflect the state of the driver.

I have had little time lately, (which unfortunately may drop to near 0 again) but did manage to work on two things (incomplete! I haven't even merged them into my master branch yet):
1) Reducing timeouts even more, and general code cleanup.
2) Checksummed commands (which has been working with one of the OnStep Specific things, but trying to convert to a better layout caused a crash that I haven't gotten to look at. Whee!)
The following user(s) said Thank You: Jordi Sesé
2 years 8 months ago #73138

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

  • Posts: 161
  • Thank you received: 39
INDI 1.9.1/OnStep v 1.10 should have all of the things up to this point. (Should show driver version under the Connection tab) 1.9.0 / 1.9 will not

It's possible it isn't being detected (and won't show up if it's not), If it's 1.10, can you enable debuging, and search the log file for :rG#, then paste to see if it's detected (example where it isn't):
[2021-07-03T01:19:31.251 CDT DEBG ][ org.kde.kstars.indi] - LX200 OnStep : "[SCOPE] CMD <:rG#> "
[2021-07-03T01:19:31.251 CDT DEBG ][ org.kde.kstars.indi] - LX200 OnStep : "[SCOPE] RES <0> "
[2021-07-03T01:19:31.252 CDT INFO ][ org.kde.kstars.indi] - LX200 OnStep : "[INFO] No Rotator found. "

If you can figure out, the log on where it's crashing I can take a look at it. (PHD2 seems to just crash randomly sometimes on me, but I'm pretty sure 99% of the time, it's related to my temperamental camera, and when I've dug into logs it's seemed to be that.)
The following user(s) said Thank You: Jordi Sesé
2 years 8 months ago #73139

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

  • Posts: 23
  • Thank you received: 2
I downloaded a new update today on the rPi, and now OnStep driver shows the 'Rotator' tab (thanks again, James).

PHD2 (2.6.9dev5) keeps crashing when connecting to the mount, but it does the very same when connecting to the Telescope Simulator driver, so it's not driver related. Hope to solve it soon to be able to test the whole thing...

Regards,

Jordi.
2 years 8 months ago #73153

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

  • Posts: 60
  • Thank you received: 1
Hello,

I have a problem with the latest driver.
With Kstars, I launch an automated session:
The telescope unparks.
The goto towards the star starts
The shots instantly before the telescope has reached the star.

The state of OnSTep.Status.Tracking:
Telescope parked:
[OK] LX200 OnStep.OnStep Status.Tracking=Idle
Unpark:
[OK] LX200 OnStep.OnStep Status.Tracking=Tracking
Start a goto:
[NOK] LX200 OnStep.OnStep Status.Tracking=Tracking
Start a goto on a second star:
[NOK] LX200 OnStep.OnStep Status.Tracking=Tracking
Start a park:
[OK] LX200 OnStep.OnStep Status.Tracking=Slewing
Telescope parked:
[OK] LX200 OnStep.OnStep Status.Tracking=Idle

 
2 years 8 months ago #73196

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

  • Posts: 60
  • Thank you received: 1
The state of : OnStep.OnStep Status.:GU# return seems OK:
Telescope parked:
nNPRza/ET250
Unpark:
NpRza~ET250
Start a goto:
pRza,ET250
End goto
NpRza~ET250
Start a goto on a second star:
pRza,ET250
End goto
NpRza~ET250
Start a park:
nIRza/ET250
Telescope parked:
nNPRza/ET250

 
2 years 8 months ago #73198

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

  • Posts: 161
  • Thank you received: 39
Argh! Unfortunately that's not new. Sounds like this isn't fixed (I haven't had the chance to test much and it hadn't happened when I did, so the bug got auto-closed):

bugs.kde.org/show_bug.cgi?id=410094

Can you try the branch own-goto from here: github.com/james-lan/indi/tree/own-goto ? Amusingly, I was working on that for checksum based stuff, and remembered that. That particular branch is the current version with that one change (plus version bump) so it doesn't have the checksum stuff yet.

For a mitigation, increase the polling time. That won't prevent it, and it's annoying, but will reduce the chance of it occurring.

Basically, When I looked at (Kstars has had some changes) It boiled down to a lack of a timer in Kstars, plus the driver relying on the lx200 functions, which set the switch to Slewing, even if the mount isn't yet, and when the status update comes which also sets the TrackState. Under bad combinations of timing: Move Issued and sent - Status update before OnStep changes state, OnStep reports Tracking, driver updates TrackState to Tracking - Kstars goes: Done! Start picture - next update, OnStep reports Slewing, driver updates to slewing, but the image is in progress.

On the other hand we could announce it as a new driver feature: Fastest way to do star trails. ;)
2 years 8 months ago #73214

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

  • Posts: 60
  • Thank you received: 1
Hello,
I just tested with the own-goto branch.
I just replaced indi_lx200generic.
The problem looks the same.
I am using Kstars 3.5.3
Goto towards a star, it systematically remains in tracking.
Park he systematically switches to Sleewing.
GU # is different depending on whether you go to a star or park the telescope:
Goto: pRza, ET250
Park: nIRza / ET250
Tracking: NpRza ~ ET250

In the meantime, I'll be doing star trails :-)
2 years 8 months ago #73223

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

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

I have same results
Parked nNPe/EW290
Unparked Npe/EW290
during Goto pe/EW290
Goto Completed Npe/EW290
Parking nIe/EW290

Debian VERSION="10 (buster)"
Kstars Version 3.5.4 Beta
OnStep 4.24.d
2 years 8 months ago #73224

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

  • Posts: 322
  • Thank you received: 31
Alain and Serge

Can I ask what version of INDI you are using?

I am using this on a laptop (64bit Intel CPU), and Jasem's PPA packages.

indi-bin 1.9.1~202106261410~ubuntu18.04.1
libindi-data 1.9.1~202106261410~ubuntu18.04.1

kstars-bleeding 6:3.5.3+202105061458~ubuntu18.04.1

I did not notice anything bad with OnStep 4.24f.

But I don't use Park/Unpark.

On startup: nNpHSzEo150
During Goto pSzET150
Goto complete: NpSzET150
During Return Home: npSzEW150
At home (same as startup above).
2 years 8 months ago #73229

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

  • Posts: 60
  • Thank you received: 1
Hello,

My PC: mini ITX board Intel 64 bits (J1900) 8GB RAM on Lubuntu 20.04
Kstars and indi drivers: "deb ppa.launchpad.net/mutlaqja/ppa/ubuntu focal main"

OnStep version: 4.24e (on ESP32)
Indi LX200 drivers version: 1.11
INDI Library: 1.9.1 Code 1.9.1-tgz. Protocol 1.7.
indi-bin 1.9.1~202106261417~ubuntu20.04.1 amd64
libindi-data 1.9.1~202106261417~ubuntu20.04.1 all
Kstars: 3.5.3 Stable (kstars-bleeding 6:3.5.3+202105061503~ubuntu20.04.1 amd64)
Last edit: 2 years 8 months ago by Serge CLAUS.
2 years 8 months ago #73231

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

  • Posts: 322
  • Thank you received: 31
Same repositories that I use, but I am on 18.04 still.

deb ppa.launchpad.net/mutlaqja/ppa/ubuntu bionic main

My indi-bin package has this timestamp in it:

indi-bin 1.9.1~202106261410~ubuntu18.04.1

So it was built on 2021-06-26.

I don't know what 1.9.1-tgz is in your case.
2 years 8 months ago #73232

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

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

I forgot the indi version which is:
INDI Library: 1.9.1
Code v1.9.1-10-g9045b593. Protocol 1.7.

I am quite sure the current indi version distributed via ppa suffers this bug.
I made some tests even with TrackState = SCOPE_TRACKING disabled in the OnStep driver.
It must for sure be somewhere in indi or kstars, not in the driver itself ...
Still testing
2 years 8 months ago #73240

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

Time to create page: 1.597 seconds