×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

[not quite solved] Backlash and focusers

2 months 2 weeks ago 2 months 2 weeks ago by freiform.
freiform
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
[not quite solved] Backlash and focusers #52734
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

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

2 months 2 weeks ago 2 months 2 weeks ago by freiform.
freiform
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
[not quite solved] Backlash and focusers #52737
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

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

2 months 2 weeks ago
freiform
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
[not quite solved] Backlash and focusers #52742
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)?

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

2 months 2 weeks ago
freiform
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
[not quite solved] Backlash and focusers #52751
To add to the monologue:
getting the value using
FocusBacklashN[0].value
and applying it is working.

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

Time to create page: 0.535 seconds