Class Wait

Inheritance Relationships

Base Type

Class Documentation

class Wait : public nav2_behaviors::TimedBehavior<WaitAction>

An action server behavior for waiting a fixed duration.

Public Functions

Wait()

A constructor for nav2_behaviors::Wait.

~Wait()
Status onRun(const std::shared_ptr<const WaitAction::Goal> command) override

Initialization to run behavior.

Parameters:

command – Goal to execute

Returns:

Status of behavior

virtual Status onCycleUpdate() override

Loop function to run behavior.

Returns:

Status of behavior

Protected Attributes

rclcpp::Time wait_end_
WaitAction::Feedback::SharedPtr feedback_