I'm currently developing a mount driver for INDI and encountering an unexpected behavior with KStars. When using the 'Slew telescope to the focused object' button in the main KStars planetarium view, my mount correctly performs a GoTo operation but always switches to "Track" mode regardless of the chosen ON_COORD_SET option (Track/Slew/Sync).

This behavior differs from manually entering coordinates in Ekos's RA/Dec field, where the mount performs as expected (GoTo and then either tracks or stops based on the selected ON_COORD_SET option).

After thoroughly reviewing my code and ensuring my implementation of the INDI::Telescope class doesn't inadvertently alter the ON_COORD_SET / CoordSP state, I suspect that KStars might be influencing this behavior. However, tracing the logic within the KStars codebase hasn't led me to a clear conclusion.

Questions:

  1. Is this the expected behavior when using the 'Slew telescope to focused object' button in KStars?
  2. How can I achieve a scenario where I select an object in the KStars planetarium view, command the mount to slew to it, but without automatically engaging the tracking mode?
Any insights or pointers towards what might be causing this behavior or how to control it would be greatly appreciated.

Read More...