diff options
-rw-r--r-- | facetracknoir/tracker.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index e86e095d..eb6348ca 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -128,12 +128,9 @@ void Tracker::run() { if (compensate)
{
- const double yi = mainApp->axis(Yaw).invert * mainApp->axis(TX).invert;
- const double pi = mainApp->axis(Pitch).invert * mainApp->axis(TY).invert;
- const double ri = mainApp->axis(Roll).invert * mainApp->axis(TZ).invert;
- const auto H = output_camera.axes[Yaw] * M_PI / 180 * yi;
- const auto P = output_camera.axes[Pitch] * M_PI / 180 * pi;
- const auto B = output_camera.axes[Roll] * M_PI / 180 * ri;
+ const auto H = output_camera.axes[Yaw] * M_PI / 180;
+ const auto P = output_camera.axes[Pitch] * M_PI / 180;
+ const auto B = output_camera.axes[Roll] * M_PI / 180;
const auto cosH = cos(H);
const auto sinH = sin(H);
|