summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-18 23:31:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-18 23:31:44 +0100
commit65523fe1304a7e61889abb1e6854192a43c6dcf0 (patch)
treedeb978e2efe59df946c6ab1d52f09065241d034a
parent7e0e330d87aec6b042c430da440aa9bb290cea1e (diff)
logic/pipeline: set limits more sensibly
We must keep a certain leeway here for people aiming in WW2 sims.
-rw-r--r--logic/pipeline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index e6ca3b70..7d737092 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -75,8 +75,8 @@ Pose reltrans::apply_pipeline(reltrans_state state, const Pose& value, const Mat
bool tcomp_in_zone_ = progn(
if (state == reltrans_non_center)
{
- const bool yaw_in_zone = std::fabs(value(Yaw)) < 12;
- const bool pitch_in_zone = std::fabs(value(Pitch)) < 15;
+ const bool yaw_in_zone = std::fabs(value(Yaw)) < 20;
+ const bool pitch_in_zone = std::fabs(value(Pitch)) < 20;
const bool roll_in_zone = std::fabs(value(Roll)) < 7;
return !(yaw_in_zone && pitch_in_zone && roll_in_zone);