×

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

Bi-monthly release with minor bug fixes and improvements

[Kstars 3.6.9][INDI][Sesto Senso 2] AF Overscan not working correctly

  • Posts: 32
  • Thank you received: 10
Hi,
I'm having a problem with the "AF Overscan" option inside the focus module; when I set it at a value different than 0, I cannot make outwards movement.
I use a Sesto Senso 2 attached to my newly installed and configured Stellarmate with the latest version.

Explained better:
  1. Set AF Oversan to a value 0 [set it to 10]
  2. Make an outward movement using the Focus Out button; the same happens if I set a bigger absolute value and use the Go To button
  3. The kstars' log says the focuser is moving out by X + 10 and the focuser moves out by X + 10
  4. The kstars' log says the focuser is moving in by 10 but the focuser moves in by X + ( 10 * 2 )

So, if I start with an absolute position of 1000 with a step size of 100 asnd an AF Overscan of 10, when i try to move out I get an absolute position of 990.

Here the relevant logs, first movement using Move Out, the second using Go To.
The values are 88 for the step and 50 for the overscan:
[2024-02-13T18:48:26.888 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:26.907 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3194}}}} "
[2024-02-13T18:48:27.003 CET DEBG ][     org.kde.kstars.ekos.focus] - "Linear: extending outward movement by overscan 50"
[2024-02-13T18:48:27.003 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing outward by 138 steps..."
[2024-02-13T18:48:27.051 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"cmd\":{\"MOT1\":{\"MOVE_ABS\":{\"STEP\":3332}}}}} "
[2024-02-13T18:48:27.079 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"cmd\":{\"MOT1\":{\"STEP\":\"done\"}}}} "
[2024-02-13T18:48:27.079 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser is moving to position 3332 "
[2024-02-13T18:48:27.079 CET DEBG ][     org.kde.kstars.ekos.focus] - "autoFocusProcessPositionChange called with state 2 (Busy), focuserAdditionalMovement=50, inAutoFocus=0, captureInProgress=0, currentPosition=3194"
[2024-02-13T18:48:27.089 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:27.137 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"Out\",\"MST\":\"acc\"}}}}} "
[2024-02-13T18:48:27.137 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3194  and state: Busy  unchanged
[2024-02-13T18:48:27.637 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:27.658 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"Out\",\"MST\":\"dec\"}}}}} "
[2024-02-13T18:48:27.659 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3194  and state: Busy  unchanged
[2024-02-13T18:48:28.159 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:28.180 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":0,\"DIR\":\"Out\",\"MST\":\"stop\"}}}}} "
[2024-02-13T18:48:28.180 CET DEBG ][     org.kde.kstars.ekos.focus] - "Undoing overscan extension. Moving back in by 50"
[2024-02-13T18:48:28.181 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing inward by 50 steps..."
[2024-02-13T18:48:28.182 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser reached requested position. "
[2024-02-13T18:48:28.267 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"cmd\":{\"MOT1\":{\"MOVE_ABS\":{\"STEP\":3144}}}}} "
[2024-02-13T18:48:28.267 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"cmd\":{\"MOT1\":{\"STEP\":\"done\"}}}} "
[2024-02-13T18:48:28.267 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser is moving to position 3144 "
[2024-02-13T18:48:28.267 CET DEBG ][     org.kde.kstars.ekos.focus] - "autoFocusProcessPositionChange called with state 2 (Busy), focuserAdditionalMovement=0, inAutoFocus=0, captureInProgress=0, currentPosition=3194"
[2024-02-13T18:48:28.269 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:28.304 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"In\",\"MST\":\"acc\"}}}}} "
[2024-02-13T18:48:28.304 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3194  and state: Busy  unchanged
[2024-02-13T18:48:28.804 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:28.825 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"In\",\"MST\":\"dec\"}}}}} "
[2024-02-13T18:48:28.825 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3194  and state: Busy  unchanged
[2024-02-13T18:48:29.326 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:29.347 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":0,\"DIR\":\"In\",\"MST\":\"stop\"}}}}} "
[2024-02-13T18:48:29.348 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser reached requested position. "
[2024-02-13T18:48:29.407 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:29.425 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:29.426 CET DEBG ][     org.kde.kstars.ekos.focus] - Abs Focuser position changed to  3144 State: Ok
[2024-02-13T18:48:29.926 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:29.944 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:30.445 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:30.479 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:30.479 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"NTC_T\":\"\"}}}} "
[2024-02-13T18:48:30.513 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"NTC_T\":\"35.66\"}}}} "
[2024-02-13T18:48:30.513 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"EXT_T\":\"\"}}} "
[2024-02-13T18:48:30.546 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"EXT_T\":\"19.25\"}}} "
[2024-02-13T18:48:30.546 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"VIN_12V\":\"\"}}} "
[2024-02-13T18:48:30.580 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"VIN_12V\":\"13.08\"}}} "
[2024-02-13T18:48:31.081 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:31.099 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:31.599 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:31.618 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:32.118 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:32.137 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:32.637 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:32.656 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:33.156 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:33.175 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3144}}}} "
[2024-02-13T18:48:33.273 CET DEBG ][     org.kde.kstars.ekos.focus] - "Linear: extending outward movement by overscan 50"
[2024-02-13T18:48:33.274 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing outward by 106 steps..."
[2024-02-13T18:48:33.327 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"cmd\":{\"MOT1\":{\"MOVE_ABS\":{\"STEP\":3250}}}}} "
[2024-02-13T18:48:33.327 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"cmd\":{\"MOT1\":{\"STEP\":\"done\"}}}} "
[2024-02-13T18:48:33.328 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser is moving to position 3250 "
[2024-02-13T18:48:33.328 CET DEBG ][     org.kde.kstars.ekos.focus] - "autoFocusProcessPositionChange called with state 2 (Busy), focuserAdditionalMovement=50, inAutoFocus=0, captureInProgress=0, currentPosition=3144"
[2024-02-13T18:48:33.328 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:33.356 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"Out\",\"MST\":\"acc\"}}}}} "
[2024-02-13T18:48:33.356 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3144  and state: Busy  unchanged
[2024-02-13T18:48:33.856 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:33.877 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":0,\"DIR\":\"Out\",\"MST\":\"dec\"}}}}} "
[2024-02-13T18:48:33.878 CET DEBG ][     org.kde.kstars.ekos.focus] - "Undoing overscan extension. Moving back in by 50"
[2024-02-13T18:48:33.878 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing inward by 50 steps..."
[2024-02-13T18:48:33.880 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser reached requested position. "
[2024-02-13T18:48:33.967 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"cmd\":{\"MOT1\":{\"MOVE_ABS\":{\"STEP\":3094}}}}} "
[2024-02-13T18:48:33.967 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"cmd\":{\"MOT1\":{\"STEP\":\"done\"}}}} "
[2024-02-13T18:48:33.967 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser is moving to position 3094 "
[2024-02-13T18:48:33.968 CET DEBG ][     org.kde.kstars.ekos.focus] - "autoFocusProcessPositionChange called with state 2 (Busy), focuserAdditionalMovement=0, inAutoFocus=0, captureInProgress=0, currentPosition=3144"
[2024-02-13T18:48:33.968 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:33.996 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"In\",\"MST\":\"acc\"}}}}} "
[2024-02-13T18:48:33.996 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3144  and state: Busy  unchanged
[2024-02-13T18:48:34.496 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:34.517 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":1,\"DIR\":\"In\",\"MST\":\"dec\"}}}}} "
[2024-02-13T18:48:34.518 CET DEBG ][     org.kde.kstars.ekos.focus] - Focuser position  3144  and state: Busy  unchanged
[2024-02-13T18:48:35.018 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"STATUS\":\"\"}}}} "
[2024-02-13T18:48:35.040 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"STATUS\":{\"HIZ\":0,\"UVLO\":0,\"TH_SD\":0,\"TH_WRN\":0,\"OCD\":0,\"WCMD\":0,\"NOPCMD\":0,\"BUSY\":0,\"DIR\":\"In\",\"MST\":\"stop\"}}}}} "
[2024-02-13T18:48:35.041 CET INFO ][           org.kde.kstars.indi] - Sesto Senso 2 :  "[INFO] Focuser reached requested position. "
[2024-02-13T18:48:35.176 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:35.194 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3094}}}} "
[2024-02-13T18:48:35.194 CET DEBG ][     org.kde.kstars.ekos.focus] - Abs Focuser position changed to  3094 State: Ok
[2024-02-13T18:48:35.694 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [REQ] {\"req\":{\"get\":{\"MOT1\":{\"ABS_POS\":\"\"}}}} "
[2024-02-13T18:48:35.713 CET DEBG ][           org.kde.kstars.indi] - Sesto Senso 2 : "[DEBUG] [RES] {\"res\":{\"get\":{\"MOT1\":{\"ABS_POS\":3094}}}} "
Last edit: 2 months 1 week ago by Edoardo.
2 months 2 weeks ago #99023

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

  • Posts: 602
  • Thank you received: 281
Hi Edoardo,

I can't read your attached log unfortunately but other folks have had issues with the Senso Sesto and AF Overscan (you can search this forum for those threads). From memory they are similar / the same as what you describe.

The only thing I can say is not to use AF Overscan with this focuser.

If you have a relationship with Sesto Senso we may be able to make progress on finding a solution but without their technical department helping I doubt there's much I can do.
The following user(s) said Thank You: Edoardo
2 months 2 weeks ago #99031

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

  • Posts: 32
  • Thank you received: 10
Hi John,
thank you for the response and all your help for the community (just finished your series on autofocus on youtube).
I've moved the logs out of the "spoiler" section.

I would like to help with this problem.
  1. I can expose my indi server on the web
  2. I can try to contact Primaluce Lab (I'm italian so the communication could be smoother) - but would like to leave this one as a last resort

The thing that leave me confused is that AF Overscan should be a "function" that call 2 "sub-functions":
AFOverscan(move, of)
  • FocusOut(move + of)
  • FocusIn(of)

Calling the 2 "sub-functions" from their respective buttons works as intended, that's why I'm confused; is the Overscan function working like I've said or there is some underlying, different set of instructions?

Is there a way to add a delay between the Out and the In during the Overscan to test if it's a problem with the timing of the istructions?

Cheers,
Edoardo

EDIT: ok, looks like a problem of timing. If I try to do a simple Out/In very fast, I get a "double" move in:
  1. Start: 3200 Step: 88
  2. Move Out: 3288
  3. Move In: 3112

looks like the focuser, i nthe second command issued, is getting the same quantity of movement you set in the first movement plus the new movement you asked. So In my case were:
  • Start 1st input - Move Out [Position: 3200]
  • 88 out
  • Start 2nd input - Move In [Position: 3288]
  • 88 in (the step out value)
  • 88 in (the amount of movement asked by the move in)
  • Final position: 3112
In the case of the overscan (50) you get:
  • Start 1st input - Move Out [Position: 3200]
  • Move out of 138 (step of 88 + 50 of Overscan)
  • Start 2nd input - Move In [Position: 3338]
  • Move in of 138 (the step out value)
  • Move in of 50 (the amount of movement asked by the move in)
  • Final position: 3150
Seems like that for the Sesto Senso 2 a delay between the 2 actions is needed, just 0,1 seconds seems enough to issue the correct move.
The problem arise for both types of movement: Out/in and In/out
Last edit: 2 months 2 weeks ago by Edoardo.
2 months 2 weeks ago #99040

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

  • Posts: 602
  • Thank you received: 281
Hi Edoardo,

Thanks very much for the detailed insight.

Are you able to build kstars from source code? If so, I can create a "special" version of focus with extra debug that would hopefully pinpoint the issue. I can add a configurable delay between the 2 overscan movements as well.

If you are able to build from source I can create an MR that you can apply to your code copy. If you are unsure how to do this I can just email you updated code files (there won't be many) and you could replace your code files with the "special" ones, recompile and build kstars and then try it with your Sesto Senso.
2 months 2 weeks ago #99054

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

  • Posts: 32
  • Thank you received: 10
Hi John,
I could do it, never looked at kstars code base, will look into it right now.

I've never collaborated on github, when you talk about MR, you mean:
  1. I fork the code
  2. You create an MR and send it over my fork

If so, I've already forked the code, here it is: github.com/Ryther/kstars

In the meantime I check what I need to build the code.
EDIT: I've prepared an Ubuntu VM and tried to compile kstars from sources.
I've also reproduced the problem from the compiled code.

Cheers,
Edoardo
Last edit: 2 months 1 week ago by Edoardo.
2 months 2 weeks ago #99065

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

  • Posts: 602
  • Thank you received: 281
Hi Edoardo,Great progress!

I've made some code changes to 2 files:
focus.cpp
opsfocusmechanics.ui

They are in this unmerged MR:
invent.kde.org/education/kstars/-/merge_requests/1140

The code changes do a bit of extra logging and introduce a new parameter AF Overscan Delay which introduces a delay between the outward movement completing and the inward movement starting during an outward AF Overscan...

In order to take these changes probably the easiest way would be to download a patch...


You will get a download called something like 1140.patch

Go into the KStars directory where you installed KStars and type
git apply --check <path to file>/1140.patch

This will check for errors. It should not detect any. If so...
git apply <path to file>/1140.patch

This will apply the patch. You can then rebuild KStars with the changes. When KStars runs you should see the new parameter. If so, all is good; if not something went wrong.
The following user(s) said Thank You: Edoardo
2 months 1 week ago #99073
Attachments:

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

  • Posts: 32
  • Thank you received: 10
Hi John!
Thank you for the MR. Tomorrow morning (around 10 hours from now) I will report back with the results.

I've tried myself to introduce some delay, but I'm not an expert in C++ so I got nothing other than a log saying "waiting X" ahaha

Cannot wait to try the real deal.

Thank you again.

Cheers,
Edoardo

Inviato dal mio Pixel 8 Pro utilizzando Tapatalk
2 months 1 week ago #99075

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

  • Posts: 32
  • Thank you received: 10
Hi John,
reporting back.

I've had problems applying the patch. Downloaded again the repo directly from invent.kde.org but found the same errors, so I downloaded directly your fork of the project.

I've compiled the code and tried it out:
  • With "AF Overscan Delay" < 0,2 seconds I get the problem.
  • With "AF Overscan Delay" >= 0,4 seconds I don't get the problem
  • With "AF Overscan Delay" >= 0,2 && < 0,4 seconds it's not consistent

Maybe it could be beneficial to introduce a configuration to add a generic delay to all focuser movements, since you can replicate the same problem using the In/Out buttons. Like the "Focuser Settle" configuration but for movements instead of taking images.

If there is anything I can do to improve my tests, let me know.

Cheers,
Edoardo
EDIT: I've tried to replicate the problem on Windows using the ASCOM drivers, but without success.
I've also tried to attach the focuser directly to the pc instead of through the camera, but the problem is the same
Could be a problem in the INDI driver?
Last edit: 2 months 1 week ago by Edoardo.
2 months 1 week ago #99091

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

  • Posts: 602
  • Thank you received: 281
Great, so seems like its a timing issue somewhere then.

Could you please run 2 tests... 1 that fails with delay=0 and 1 that works with delay>0.2

If you put verbose logging on before running the tests and post the log file that would be great. Here's how to set the logging...
[attachment=17033]Screenshot 2024-02-16 at 11.33.15.png[/attachment

Obviously you could just continue with the delay set > 0.2 but it would be better if we can find the bug and fix it properly.
2 months 1 week ago #99092
Attachments:

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

  • Posts: 32
  • Thank you received: 10
Sure, getting on it

I cannot see your screenshot, tho, but if you mean to set on verbose + file for the focus section, I've already set that
Last edit: 2 months 1 week ago by Edoardo.
2 months 1 week ago #99093

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

  • Posts: 602
  • Thank you received: 281
Not sure what happened to the screenshot last time...
The following user(s) said Thank You: Edoardo
2 months 1 week ago #99094
Attachments:

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

  • Posts: 32
  • Thank you received: 10
Thanks, I've already set it like that to make my tests, so here the results:
  1. Test 1: no delay, all the movements have the problem
  2. Test 2: 0.2 delay, most of the movements have the problem, the last one succeded
  3. Test 3: 0.4 delay, first movement failed, all the other succeded

I've deleted and recreated the log file each time so it should be "clean". Tell me if you need anything else!

Cheers,
Edoardo

File Attachment:

File Name: test_sesto...elay.zip
File Size:9 KB
2 months 1 week ago #99095
Attachments:

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

Time to create page: 1.051 seconds