×

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

Bi-monthly release with minor bug fixes and improvements

[not quite solved] Backlash and focusers

  • Posts: 43
  • Thank you received: 4
Hi,

when using [1] to drive my motorfocuser, the backlash field in EKOS' focuser tab is greyed out. I had a look at the focus_simulator which uses FOCUSER_HAS_BACKLASH and two methods SetFocuserBacklash() SetFocuserBacklashEnabled(). Since with the simulator the field is no longer greyed out, I tried implementing it; it won't compile.
FOCUSER_HAS_BACKLASH and FOCUSER_CAN_REVERSE are not declared anywhere, and don't show up in the documentation [2] anymore. FACUSER_CAN_REVERSE at least used to work. Has this been removed? Also, FocusMAxPosN isn't declared anymore, although it shows up in the docs. Any ideas?

Sven

[1] github.com/astrojuergen/indi-microstepper
[2] www.indilib.org/api/classINDI_1_1FocuserInterface.html
Last edit: 3 years 11 months ago by freiform.
3 years 11 months ago #52734

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

  • Posts: 43
  • Thank you received: 4
I am an idiot. I was trying to build against an ancient version of indi. Sorry for bothering you. ;)

The documentation still seems to miss a few things, though.

Sven
Last edit: 3 years 11 months ago by freiform.
3 years 11 months ago #52737

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

  • Posts: 43
  • Thank you received: 4
One question remains; do I have to implement the actual compensation myself? I.e. get the value entered in the focus module or the device configuration and add it to the steps to move by hand (if the movement direction is reversed)?
3 years 11 months ago #52742

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

  • Posts: 43
  • Thank you received: 4
To add to the monologue:
getting the value using
FocusBacklashN[0].value
and applying it is working.
3 years 11 months ago #52751

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

Time to create page: 0.587 seconds