Skip to content

Commit

Permalink
fix(autoware_mission_planner): fix unusedFunction (autowarefoundation…
Browse files Browse the repository at this point in the history
…#8642)

fix:unusedFunction

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
kobayu858 authored Aug 27, 2024
1 parent 94b5c33 commit 1458bbc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ void ArrivalChecker::set_goal(const PoseWithUuidStamped & goal)
goal_with_uuid_ = goal;
}

void ArrivalChecker::modify_goal(const PoseWithUuidStamped & modified_goal)
{
if (!goal_with_uuid_) {
return;
}
if (goal_with_uuid_.value().uuid.uuid != modified_goal.uuid.uuid) {
return;
}
set_goal(modified_goal);
}

bool ArrivalChecker::is_arrived(const PoseStamped & pose) const
{
if (!goal_with_uuid_) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class ArrivalChecker
explicit ArrivalChecker(rclcpp::Node * node);
void set_goal();
void set_goal(const PoseWithUuidStamped & goal);
void modify_goal(const PoseWithUuidStamped & modified_goal);
bool is_arrived(const PoseStamped & pose) const;

private:
Expand Down

0 comments on commit 1458bbc

Please sign in to comment.