SMACC2
|
#include <cb_seek_waypoint.hpp>
Public Member Functions | |
CbSeekWaypoint (std::string skip_until_name) | |
virtual | ~CbSeekWaypoint () |
void | onEntry () override |
void | onExit () override |
Public Member Functions inherited from smacc2::ISmaccClientBehavior | |
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) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Public Attributes | |
WaypointNavigator * | waypointsNavigator_ |
NavigateNextWaypointOptions | options_ |
Private Attributes | |
std::optional< int > | count_ |
std::optional< std::string > | seekWaypointName_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Definition at line 29 of file cb_seek_waypoint.hpp.
cl_nav2z::CbSeekWaypoint::CbSeekWaypoint | ( | std::string | skip_until_name | ) |
Definition at line 25 of file cb_seek_waypoint.cpp.
|
virtual |
Definition at line 30 of file cb_seek_waypoint.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 32 of file cb_seek_waypoint.cpp.
References count_, cl_nav2z::WaypointNavigator::forward(), smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClientBehavior::requiresClient(), cl_nav2z::WaypointNavigator::seekName(), seekWaypointName_, and waypointsNavigator_.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 50 of file cb_seek_waypoint.cpp.
|
private |
Definition at line 45 of file cb_seek_waypoint.hpp.
Referenced by onEntry().
NavigateNextWaypointOptions cl_nav2z::CbSeekWaypoint::options_ |
Definition at line 42 of file cb_seek_waypoint.hpp.
|
private |
Definition at line 46 of file cb_seek_waypoint.hpp.
Referenced by onEntry().
WaypointNavigator* cl_nav2z::CbSeekWaypoint::waypointsNavigator_ |
Definition at line 40 of file cb_seek_waypoint.hpp.
Referenced by onEntry().