From ff8e76fb61276dca03b220ce8d7130e91c956274 Mon Sep 17 00:00:00 2001 From: THERocky <101498190+Rocky14683@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:28:31 -0400 Subject: [PATCH] fix typo (#94) --- src/VOSS/exit_conditions/ToleranceExitCondition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VOSS/exit_conditions/ToleranceExitCondition.cpp b/src/VOSS/exit_conditions/ToleranceExitCondition.cpp index c04d826..3614cca 100644 --- a/src/VOSS/exit_conditions/ToleranceExitCondition.cpp +++ b/src/VOSS/exit_conditions/ToleranceExitCondition.cpp @@ -5,7 +5,7 @@ namespace voss::controller { bool ToleranceExitCondition::is_met(Pose pose, bool thru) { if (this->target_has_coordinate() && this->target_has_heading()) { - return ang_exit->is_met(pose, thru) && ang_exit->is_met(pose, thru); + return ang_exit->is_met(pose, thru) && lin_exit->is_met(pose, thru); } else if (this->target_has_coordinate()) { return lin_exit->is_met(pose, thru); } else if (this->target_has_heading()) {