×

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

Bi-monthly release with minor bug fixes and improvements

Driver OnStep (LX200 like) for INDI

  • Posts: 452
  • Thank you received: 71
I am happy to annouce version 1.4 has passed the pull request this morning.
Don't expect a lot of new features, rather I tried to fix some errors and provide a better integration with Ekos.
Many thanks to those that helped to test, debug and propose changes.

Majors things that changed:
Alignment:
everything is now on a dedicated tab, up to 9 stars align, works with Ekos plate solving
Focuser
The First focuser is now recognized by Ekos and autofocus is working
Telescope Status
switch between Tracking, Parked, Slewing ... is now synchron with Ekos

ToDo:
For sure many cosmetic fixes like buttons / status lights
Library Tab is not working and could be removed in my opinion
Input / Outputs for custom functions like heaters ...

Now it is time for testing and bug collecting :)
The following user(s) said Thank You: Ray Wells
5 years 3 months ago #33407

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

  • Posts: 257
  • Thank you received: 22
Woot! (brandishes bug net) :D
I agree about the library. Since we're usually tied to planetarium software(kstars, ccdiel) it does seem unneeded.
It will be a while before I can test outside again. I have a long list of chores delayed by all the rain and snow we've had. Also waiting for parts as usual. I'll certainly put it on my schedule though. I may try to have it running as a secondary project in time for the lunar eclipse in a few weeks, which will be sure to uncover any bugs ten minutes before the good bit.
5 years 3 months ago #33412

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

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

no hurry, Rome didn't built in one day :-)
Lucky you, you have snow, we have just fog. Even no real rain so that it is not good for astronomy, nor fo agronomy :-)
5 years 3 months ago #33416

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

  • Posts: 322
  • Thank you received: 31
Thanks Alain for this work (and all previous and future work too, there will be lots ...)

Yes, the Library stuff should go away. No need for the clutter.
5 years 3 months ago #33428

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

  • Posts: 107
  • Thank you received: 4
Alain


Thanks for your answers


Chris
5 years 3 months ago #33436

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

  • Posts: 174
  • Thank you received: 27
Thank you so much Alain and everyone else for all the work on this release!
I built the latest code from the master repository and did some testing with real equipment.
Basic things are working. I am getting some messages in the log which do not seem to impact anything:
*******
Align Updated
Align Error Updated
*******
Not sure they are errors or just regular messages. Keep in mind that my controller has about 4 months old stable firmware.

I tested focuser with Kstars (works) and CCDCiel (does not work).
I contacted Patrick from CCDCiel and he identified issue with INDI driver: the driver does not advertise its focuser capability. He suggested a patch and I implemented it and now both Kstars and CCDCiel can use the focuser.

Here is the patch:

diff --git a/libindi/drivers/telescope/lx200_OnStep.cpp b/libindi/drivers/telescope/lx200_OnStep.cpp
index 0312a9da..0dc8d52d 100644
--- a/libindi/drivers/telescope/lx200_OnStep.cpp
+++ b/libindi/drivers/telescope/lx200_OnStep.cpp
@@ -276,6 +276,8 @@ bool LX200_OnStep::initProperties()
IUFillText(&OnstepStat[7], "Error", "", "");
IUFillTextVector(&OnstepStatTP, OnstepStat, 8, getDeviceName(), "OnStep Status", "", STATUS_TAB, IP_RO, 0, IPS_OK);

+ setDriverInterface(getDriverInterface() | FOCUSER_INTERFACE);
+
return true;
}


Based on my successful testing, he will be submitting a PR. Please let me know if anyone has concerns with this change.

Alex
5 years 3 months ago #33478

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

FYI, I fixed something I missed in the recent patch. LX200Generic should not have HIGH_FREQ_TRACK that was defined. so it was removed from there. Please check the updated code for any issues.
5 years 3 months ago #33479

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

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

First all Happy new Year and good Health to you.

Thank you for the fix. No issue noted. I runs as expected.

Regards
5 years 3 months ago #33505

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

  • Posts: 452
  • Thank you received: 71
Thanks avarakin,

Patrick's patch is allready merged and I tested it. Not complains at a first glance.
I simply wonder why it was recognized by KStars and not by CDC.
Which platform / Version are you using?
Would be interesting how you use Focuser with CDC

Thanks
5 years 3 months ago #33509

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

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

A new version (1.5) of the Onstep driver has been merged today.
- Cosmetic changes in some messages and labels
- changes in Alignment
- removed Library tab (if somebody would like to work on this, help is wellcome)

Many thanks to all of you that made tests and reported bugs / typos ...
The following user(s) said Thank You: james_lan
5 years 3 months ago #33735

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

  • Posts: 211
  • Thank you received: 104
CDC and CCDciel do not use a static list of driver, drivers.xml or other, but instead they connect to a already running indiserver to retrieve the list of devices currently loaded and use this DRIVER_INTERFACE property to know the capability of the driver. Then the selection box for each device type is filled with only the matching devices.
I don't know why it worked in Ekos without that, maybe Ekos directly watch some other properties like FOCUS_ABSOLUTE_POSITION ?

Patrick
The following user(s) said Thank You: Alain Zwingelstein
5 years 3 months ago #33739

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

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

As soon I will have some time I will try to use CDC (Need to compile, Debian packages are always a bit outdated) to be in position to see how it works.

Encore Merci
5 years 3 months ago #33740

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

Time to create page: 1.094 seconds