diff options
Diffstat (limited to 'proto-ft')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 7bc85afa..d1c7bf94 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -62,7 +62,7 @@ void freetrack::pose(const double* headpose) const float tz = float(headpose[TZ] * 10); // HACK: Falcon BMS makes a "bump" if pitch is over the value -sh 20170615 - const bool is_crossing_90 = std::fabs(headpose[Pitch] - 90) < 1e-4; + const bool is_crossing_90 = std::fabs(headpose[Pitch] - 90) < .15; const float pitch = -d2r * (is_crossing_90 ? 89.86 : headpose[Pitch]); FTHeap* const ft = pMemData; |