Skip to content

Commit

Permalink
Fix onActionCompletion params
Browse files Browse the repository at this point in the history
Signed-off-by: RBT22 <[email protected]>
  • Loading branch information
RBT22 committed Jan 2, 2025
1 parent 83b4ff4 commit a56b9c8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ class DriveOnHeading : public TimedBehavior<ActionT>

void onCleanup() override {last_vel_ = std::numeric_limits<double>::max();}

void onActionCompletion() override {last_vel_ = std::numeric_limits<double>::max();}
void onActionCompletion(std::shared_ptr<typename ActionT::Result> result)
override
{
last_vel_ = std::numeric_limits<double>::max();
}

protected:
/**
Expand Down

0 comments on commit a56b9c8

Please sign in to comment.