diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-14 00:03:00 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-14 00:03:00 +0100 |
commit | 0abdc671d5ffe56284b106fd48da2a1abacee6af (patch) | |
tree | 80afb730666d75e6ec32f34a2924389fc23cd837 /facetracknoir/tracker.cpp | |
parent | de354eaca23e275386b3b2365cb4d4e0531377e1 (diff) |
pitch axis needs inverting too for FT protocol
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r-- | facetracknoir/tracker.cpp | 2 |
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);
|