×

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: 115
  • Thank you received: 17
To reproduce focuser motor hang you have to move it several times in second. It takes about 2..10 seconds and motor stop to rotating. This is reproduced in 100% of cases
I discovered this when adjusting the motor belt tension on my telescope and moving the focuser motor in both directions from my program manually.
1 year 4 weeks ago #91506
Attachments:

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

  • Posts: 115
  • Thank you received: 17
Found another bug with slew rate. To reproduce simply start driver and enable it (set CONNECTION.CONNECT = true)
How this bug is looks like:
After enabling the device driver sends information about property TELESCOPE_SLEW_RATE twice. First time with 0..9 element names:
<defSwitchVector device="LX200 OnStep" name="TELESCOPE_SLEW_RATE" label="Slew Rate" group="Motion Control" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2023-03-26T19:25:03">
    <defSwitch name="0" label="0.25x">
Off
    </defSwitch>
    <defSwitch name="1" label="0.5x">
Off
    </defSwitch>
    <defSwitch name="2" label="1x">
Off
    </defSwitch>
    <defSwitch name="3" label="2x">
Off
    </defSwitch>
    <defSwitch name="4" label="4x">
Off
    </defSwitch>
    <defSwitch name="5" label="8x">
On
    </defSwitch>
    <defSwitch name="6" label="24x">
Off
    </defSwitch>
    <defSwitch name="7" label="48x">
Off
    </defSwitch>
    <defSwitch name="8" label="Half-Max">
Off
    </defSwitch>
    <defSwitch name="9" label="Max">
Off
    </defSwitch>
</defSwitchVector>
and second time with different element names (1x..10x):
<defSwitchVector device="LX200 OnStep" name="TELESCOPE_SLEW_RATE" label="Slew Rate" group="Motion Control" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2023-03-26T19:25:04">
    <defSwitch name="1x" label="1x">
Off
    </defSwitch>
    <defSwitch name="2x" label="2x">
Off
    </defSwitch>
    <defSwitch name="3x" label="3x">
Off
    </defSwitch>
    <defSwitch name="4x" label="4x">
Off
    </defSwitch>
    <defSwitch name="5x" label="5x">
Off
    </defSwitch>
    <defSwitch name="6x" label="6x">
On
    </defSwitch>
    <defSwitch name="7x" label="7x">
Off
    </defSwitch>
    <defSwitch name="8x" label="8x">
Off
    </defSwitch>
    <defSwitch name="9x" label="9x">
Off
    </defSwitch>
    <defSwitch name="10x" label="10x">
Off
    </defSwitch>
</defSwitchVector>
I don't know is this good or bad but my program stores first list for user selection and fails then trying to change this property
1 year 4 weeks ago #91507

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

  • Posts: 452
  • Thank you received: 71
Which program are you speaking about?
Slew rate has slightly changed in OnStep and SWS and has not been catched by Indi for the time being, it is noted and will be investigated.
What is the effect on telescope control?

For the time being I am working on
'Degrees pas meridian' fixed and testing
'Meridian Autoflip' Fixed and testing
'Overhead Limits' Fixed and testing

Done and ready for testing
It is on my github github.com/azwing/indi
Last edit: 1 year 4 weeks ago by Alain Zwingelstein. Reason: Finished fixing issues
1 year 4 weeks ago #91508

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

  • Posts: 115
  • Thank you received: 17
I'm talking about my new INDI clent: www.indilib.org/forum/clients/13006-astr...strophotography.html
It's in active development now so I notice all sorts of oddities in the work of INDI ))
What property name should be used:
LX200 OnStep.TELESCOPE_SLEW_RATE.0
or
LX200 OnStep.TELESCOPE_SLEW_RATE.1x
?
Last edit: 1 year 4 weeks ago by Denis.
1 year 4 weeks ago #91509

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

  • Posts: 115
  • Thank you received: 17
It looks like warkaround is to use data from first defSwitchVector and ignore second defSwitchVector. I will fix my client
1 year 4 weeks ago #91512

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

  • Posts: 452
  • Thank you received: 71
I found why it was defined twice and should be solved in the version on my github.com/azwing/indi/tree/master

it was a race between OnStep overides for sleaw rates and indi default ....
Nice you discovered it.
1 year 4 weeks ago #91513

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

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

I tried many times with different methods to run in and out the focuser but I could not find motor stopping working.

I did it like that:
Open control panel and entering different values in absolute position for moving
and after I tryed using relative position and also no hang-up

I must admit I use OnStep 4.24m

Last update:
Fixed Slew Rates updates
Last edit: 1 year 4 weeks ago by Alain Zwingelstein.
1 year 4 weeks ago #91519

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

  • Posts: 115
  • Thank you received: 17
Alain, It is possible that this is just a feature of my OnStep device.
1 year 4 weeks ago #91528

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

  • Posts: 452
  • Thank you received: 71
Yes it is possible, but this is the annoying side of the issue.

I tested it on a "real" bench OnStep.
A piece of wood with two stepper (RA and DEC) and another stepper for the focuser.
Additionally one BME280 and a DS18S20.
that's it.
On my Telescope I have Only RA/DEC and Focuser and it works well autofocusing with Ekos.

For some other test I use Khalid's Python Scripts which work really well.

anyhow I will continue to test and try to sort out some discrepancies that are still existing between SmartWebServer and Indi except some "nice to have" optimization features that I would not consider for now.

On the other hand I would be interested in testing your soft if I can install it with package.
1 year 4 weeks ago #91529

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

  • Posts: 115
  • Thank you received: 17
Alain, try packege from x86-64_debian11 folder here drive.google.com/drive/folders/17d49C9Xg...WBjGZ?usp=share_link
The following user(s) said Thank You: Alain Zwingelstein
1 year 4 weeks ago #91530

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

  • Posts: 452
  • Thank you received: 71
Successful installation under Debian 11 (bullseye)
some points:
- I don't see where in installs in the menu, I would expect it under "Applications/Sciences/"
- It looks like OnStep Focuser is not recognized unlike in Ekos

it's amazing and promizing.
1 year 4 weeks ago #91531

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

  • Posts: 452
  • Thank you received: 71
Onstep V 1.19 has been merged into Master today.

Hope this fixes some onnying discrepancies with smartwebserver.
The following user(s) said Thank You: Corrado
1 year 2 weeks ago #91788

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

Time to create page: 1.253 seconds