27template <
typename AsyncCB,
typename Orthogonal>
36 std::string goalWaypointName,
37 std::optional<NavigateNextWaypointOptions> options = std::nullopt);
41 template <
typename TOrthogonal,
typename TSourceObject>
68 getLogger(),
"[%s] Propagating success event from action server",
getName().c_str());
78 "[CbNavigateNextWaypointUntilReached] GoalReached current iteration waypoint i: %ld with "
88 "[CbNavigateNextWaypointUntilReached] goal:'%s' current:'%s'. keep navigating.",
rclcpp_action::ResultCode navigationResult_
void onNavigationActionSuccess(const components::CpNav2ActionInterface::WrappedResult &r) override
std::function< void()> postEvGoalWaypointReached_
std::string goalWaypointName_
virtual ~CbNavigateNextWaypointUntilReached()
void onStateOrthogonalAllocation()
CbNavigateNextWaypointUntilReached(std::string goalWaypointName, std::optional< NavigateNextWaypointOptions > options=std::nullopt)
CpWaypointNavigator * waypointsNavigator_
std::optional< std::string > getCurrentWaypointName() const
long getCurrentWaypointIndex() const
typename GoalHandle::WrappedResult WrappedResult
std::string getName() const
virtual rclcpp::Logger getLogger() const
void requiresComponent(SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT)
void onStateOrthogonalAllocation()