summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 00340208..0cdf4c2c 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -553,9 +553,9 @@ void aruco_dialog::toggleCalibrate()
auto [ pos, nvals ] = calibrator.get_estimate();
(void) nvals;
- s.headpos_x = -pos(0);
- s.headpos_y = -pos(1);
- s.headpos_z = -pos(2);
+ s.headpos_x = (double)-pos(0);
+ s.headpos_y = (double)-pos(1);
+ s.headpos_z = (double)-pos(2);
}
}