summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-14 13:50:45 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-14 13:50:45 (GMT)
commit2c94014423e1b4de66b21ffd40dfc83bd4682820 (patch)
tree99db0cb0b7eb1a9e8ee49e601b7fe0a7c4ef0623
parentba36ebdd43b36cd9da0d76afe54a99a4496cd44a (diff)
Debug tracking box
-rw-r--r--kstars/ekos/guide/gmath.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kstars/ekos/guide/gmath.cpp b/kstars/ekos/guide/gmath.cpp
index a08e981..bdbfac9 100644
--- a/kstars/ekos/guide/gmath.cpp
+++ b/kstars/ekos/guide/gmath.cpp
@@ -614,6 +614,9 @@ Vector cgmath::findLocalStarPosition( void ) const
if (trackingBox.isValid() == false)
return Vector(-1,-1,-1);
+ if (Options::guideLogging())
+ qDebug() << "Guide: Tracking Square " << trackingBox;
+
double square_square = trackingBox.width()*trackingBox.width();
//psrc = porigin = pdata + trackingBox.y()*video_width + trackingBox.x();