diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-25 06:18:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-25 06:18:44 +0200 |
commit | 08f805cf0f91d1b2c7563cc6ff69b97a9ecb7870 (patch) | |
tree | b065ef7a3153f976dbb7ec40da4014b2adfe5737 | |
parent | 880fa0315b12f6bdb71a6f641ef5d024a22c4e85 (diff) |
logic/pipeline: fix warning, tab to spaces
-rw-r--r-- | logic/pipeline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index f8827b7e..171c7016 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -310,7 +310,7 @@ void pipeline::maybe_set_center_pose(const centering_state mode, const Pose& val Pose pipeline::apply_center(const centering_state mode, Pose value) const { if (mode != center_disabled) - { + { for (unsigned k = TX; k <= TZ; k++) value(k) -= center.P(k); @@ -342,6 +342,7 @@ Pose pipeline::apply_center(const centering_state mode, Pose value) const value[Yaw] = v.y(); value[Roll] = -v.z(); break; + case center_disabled: break; } } |