Skip to content

Remote slewing and plate-solving target update fix

Philipp Auersperg-Castell requested to merge zworkb/kstars:settarget into master

Fix for remote slewing

Problem addressed

when slewing with remote access there occurred 2 problems:

  • Name of target is not displayed in the Capture view
  • target coords are not forwarded to Align, so plate solving gives not the delta from position to desired position but instead the delta between park position and slew position, so 'slew to target' does not work

this behavior was introduced with Release 3.5.6, whereas 3.5.5 worked well concerning remote slew. To be exact the above-mentioned behavior was introduced by the commit 9c606673 (2021-11-05)

Fix

  • send newTarget and newTargetObject events in Mount::processNumber
  • bind event for newTargetObject to Capture::processNewTarget
  • reintroduced Capture::processNewTarget

Tested

I have tested the fix with Simulator and GSC, slewing/plate-solving works now locally and from remote connections

Merge request reports