15 #ifndef NAV2_BEHAVIORS__PLUGINS__WAIT_HPP_
16 #define NAV2_BEHAVIORS__PLUGINS__WAIT_HPP_
22 #include "nav2_behaviors/timed_behavior.hpp"
23 #include "nav2_msgs/action/wait.hpp"
25 namespace nav2_behaviors
27 using WaitAction = nav2_msgs::action::Wait;
35 using CostmapInfoType = nav2_core::CostmapInfoType;
38 using WaitActionGoal = WaitAction::Goal;
66 rclcpp::Time wait_end_;
67 WaitAction::Feedback::SharedPtr feedback_;
An action server behavior for waiting a fixed duration.
ResultStatus onCycleUpdate() override
Loop function to run behavior.
ResultStatus onRun(const std::shared_ptr< const WaitActionGoal > command) override
Initialization to run behavior.
Wait()
A constructor for nav2_behaviors::Wait.
CostmapInfoType getResourceInfo() override
Method to determine the required costmap info.