Skip to content

Commit

Permalink
fix typo (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky14683 authored Apr 16, 2024
1 parent e67b459 commit ff8e76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VOSS/exit_conditions/ToleranceExitCondition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit ff8e76f

Please sign in to comment.