Skip to content

Commit

Permalink
removed unesary var
Browse files Browse the repository at this point in the history
  • Loading branch information
sanatd33 committed Apr 24, 2024
1 parent 7cd87c9 commit 9e36251
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ bool LinePivotPathPlanner::is_done() const {
if (!cached_angle_change_.has_value()) {
return false;
}
bool val = abs(cached_angle_change_.value()) <
return abs(cached_angle_change_.value()) <
degrees_to_radians(static_cast<float>(is_done_angle_change_thresh_));
return val;
}

LinePivotPathPlanner::State LinePivotPathPlanner::next_state(const PlanRequest& plan_request) {
Expand Down

0 comments on commit 9e36251

Please sign in to comment.