summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-10-27 06:58:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-10-27 06:58:54 +0100
commitc65bf0c5c25c554667aebce9f2d3183cd3af4357 (patch)
treea2b1debcb1687faed8c0d32622119f17531a8bb6 /tracker-aruco/ftnoir_tracker_aruco.cpp
parentaaed56e93ddff39159f2d0b08d857a4a01a8184a (diff)
fix clang warnings
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-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);
}
}