summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index 1f3257f5..ebc8246d 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -55,7 +55,7 @@ static void get_curve(double pos, double& out, THeadPoseDOF& axis) {
static void t_compensate(double* input, double* output, bool rz)
{
const auto H = input[Yaw] * M_PI / -180;
- const auto P = input[Pitch] * M_PI / 180;
+ const auto P = input[Pitch] * M_PI / -180;
const auto B = input[Roll] * M_PI / 180;
const auto cosH = cos(H);