There was an error while loading. Please reload this page.
1 parent bb11ff9 commit 9b9a6ceCopy full SHA for 9b9a6ce
nav2_behaviors/include/nav2_behaviors/plugins/drive_on_heading.hpp
@@ -184,7 +184,11 @@ class DriveOnHeading : public TimedBehavior<ActionT>
184
185
void onCleanup() override {last_vel_ = std::numeric_limits<double>::max();}
186
187
- void onActionCompletion() override {last_vel_ = std::numeric_limits<double>::max();}
+ void onActionCompletion(std::shared_ptr<typename ActionT::Result>/*result*/)
188
+ override
189
+ {
190
+ last_vel_ = std::numeric_limits<double>::max();
191
+ }
192
193
protected:
194
/**
0 commit comments