SMACC2
|
#include <cb_navigate_next_waypoint_until_reached.hpp>
Public Member Functions | |
CbNavigateNextWaypointUntilReached (std::string goalWaypointName, std::optional< NavigateNextWaypointOptions > options=std::nullopt) | |
virtual | ~CbNavigateNextWaypointUntilReached () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
void | onEntry () override |
void | onExit () override |
void | onNavigationActionSuccess (const ClNav2Z::WrappedResult &r) override |
![]() | |
CbNavigateNextWaypoint (std::optional< NavigateNextWaypointOptions > options=std::nullopt) | |
virtual | ~CbNavigateNextWaypoint () |
![]() | |
virtual | ~CbNav2ZClientBehaviorBase () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
![]() | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
virtual | ~SmaccAsyncClientBehavior () |
template<typename TCallback , typename T > | |
boost::signals2::connection | onSuccess (TCallback callback, T *object) |
template<typename TCallback , typename T > | |
boost::signals2::connection | onFinished (TCallback callback, T *object) |
template<typename TCallback , typename T > | |
boost::signals2::connection | onFailure (TCallback callback, T *object) |
void | requestForceFinish () |
void | executeOnEntry () override |
void | executeOnExit () override |
void | waitOnEntryThread (bool requestFinish) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onSuccess (TCallbackMethod callback, T *object) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onFinished (TCallbackMethod callback, T *object) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onFailure (TCallbackMethod callback, T *object) |
![]() | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage, bool throwExceptionIfNotExist=false) |
Private Attributes | |
std::string | goalWaypointName_ |
std::function< void()> | postEvGoalWaypointReached_ |
Additional Inherited Members | |
![]() | |
void | sendGoal (ClNav2Z::Goal &goal) |
void | cancelGoal () |
bool | isOwnActionResponse (const ClNav2Z::WrappedResult &) |
virtual void | onNavigationResult (const ClNav2Z::WrappedResult &) |
virtual void | onNavigationActionAbort (const ClNav2Z::WrappedResult &) |
![]() | |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
bool | isShutdownRequested () |
onEntry is executed in a new thread. However the current state cannot be left until the onEntry thread finishes. This flag can be checked from the onEntry thread to force finishing the thread. | |
![]() | |
virtual void | runtimeConfigure () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
![]() | |
CpWaypointNavigator * | waypointsNavigator_ |
NavigateNextWaypointOptions | options_ |
cl_nav2z::ClNav2Z::SmaccNavigateResultSignal::SharedPtr | navigationCallback_ |
![]() | |
cl_nav2z::ClNav2Z * | nav2zClient_ |
cl_nav2z::ClNav2Z::SmaccNavigateResultSignal::SharedPtr | navigationCallback_ |
rclcpp_action::ResultCode | navigationResult_ |
std::shared_future< std::shared_ptr< rclcpp_action::ClientGoalHandle< nav2_msgs::action::NavigateToPose > > > | goalHandleFuture_ |
Definition at line 31 of file cb_navigate_next_waypoint_until_reached.hpp.
cl_nav2z::CbNavigateNextWaypointUntilReached::CbNavigateNextWaypointUntilReached | ( | std::string | goalWaypointName, |
std::optional< NavigateNextWaypointOptions > | options = std::nullopt ) |
Definition at line 25 of file cb_navigate_next_waypoint_until_reached.cpp.
|
virtual |
Definition at line 31 of file cb_navigate_next_waypoint_until_reached.cpp.
|
overridevirtual |
Reimplemented from cl_nav2z::CbNavigateNextWaypoint.
Definition at line 33 of file cb_navigate_next_waypoint_until_reached.cpp.
References cl_nav2z::CbNavigateNextWaypoint::onEntry().
|
overridevirtual |
Reimplemented from cl_nav2z::CbNavigateNextWaypoint.
Definition at line 35 of file cb_navigate_next_waypoint_until_reached.cpp.
References cl_nav2z::CbNavigateNextWaypoint::onExit().
|
inlineoverridevirtual |
Reimplemented from cl_nav2z::CbNav2ZClientBehaviorBase.
Definition at line 58 of file cb_navigate_next_waypoint_until_reached.hpp.
References smacc2::ISmaccClient::getComponent(), cl_nav2z::CpWaypointNavigatorBase::getCurrentWaypointIndex(), cl_nav2z::CpWaypointNavigatorBase::getCurrentWaypointName(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), goalWaypointName_, cl_nav2z::CbNav2ZClientBehaviorBase::nav2zClient_, cl_nav2z::CbNav2ZClientBehaviorBase::navigationResult_, postEvGoalWaypointReached_, smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), and cl_nav2z::CbNavigateNextWaypoint::waypointsNavigator_.
|
inline |
Definition at line 41 of file cb_navigate_next_waypoint_until_reached.hpp.
References cl_nav2z::CbNav2ZClientBehaviorBase::nav2zClient_, smacc2::SmaccAsyncClientBehavior::onOrthogonalAllocation(), smacc2::ISmaccClientBehavior::postEvent(), postEvGoalWaypointReached_, and smacc2::ISmaccClientBehavior::requiresClient().
|
private |
Definition at line 99 of file cb_navigate_next_waypoint_until_reached.hpp.
Referenced by onNavigationActionSuccess().
|
private |
Definition at line 101 of file cb_navigate_next_waypoint_until_reached.hpp.
Referenced by onNavigationActionSuccess(), and onOrthogonalAllocation().