SMACC
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cl_move_base_z::CbNavigateNextWaypoint Class Reference

#include <cb_navigate_next_waypoint.h>

Inheritance diagram for cl_move_base_z::CbNavigateNextWaypoint:
Inheritance graph
Collaboration diagram for cl_move_base_z::CbNavigateNextWaypoint:
Collaboration graph

Public Member Functions

 CbNavigateNextWaypoint ()
 
virtual ~CbNavigateNextWaypoint ()
 
virtual void onEntry () override
 
virtual void onExit () override
 
- Public Member Functions inherited from cl_move_base_z::CbMoveBaseClientBehaviorBase
template<typename TOrthogonal , typename TSourceObject >
void onOrthogonalAllocation ()
 
- Public Member Functions inherited from smacc::SmaccAsyncClientBehavior
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)
 
- Public Member Functions inherited from smacc::ISmaccClientBehavior
 ISmaccClientBehavior ()
 
virtual ~ISmaccClientBehavior ()
 
ISmaccStateMachinegetStateMachine ()
 
std::string getName () const
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage)
 
ros::NodeHandle getNode ()
 

Additional Inherited Members

- Protected Member Functions inherited from smacc::SmaccAsyncClientBehavior
virtual void executeOnEntry () override
 
virtual void executeOnExit () override
 
void postSuccessEvent ()
 
void postFailureEvent ()
 
virtual void dispose () override
 
- Protected Member Functions inherited from smacc::ISmaccClientBehavior
virtual void runtimeConfigure ()
 
virtual void onEntry ()
 
virtual void onExit ()
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
ISmaccStategetCurrentState ()
 
virtual void executeOnEntry ()
 
virtual void executeOnExit ()
 
virtual void dispose ()
 
- Protected Attributes inherited from cl_move_base_z::CbMoveBaseClientBehaviorBase
ClMoveBaseZmoveBaseClient_
 
ros::Publisher visualizationMarkersPub_
 

Detailed Description

Definition at line 13 of file cb_navigate_next_waypoint.h.

Constructor & Destructor Documentation

◆ CbNavigateNextWaypoint()

cl_move_base_z::CbNavigateNextWaypoint::CbNavigateNextWaypoint ( )

Definition at line 6 of file cb_navigate_next_waypoint.cpp.

7{
8}

◆ ~CbNavigateNextWaypoint()

cl_move_base_z::CbNavigateNextWaypoint::~CbNavigateNextWaypoint ( )
virtual

Definition at line 10 of file cb_navigate_next_waypoint.cpp.

11{
12}

Member Function Documentation

◆ onEntry()

void cl_move_base_z::CbNavigateNextWaypoint::onEntry ( )
overridevirtual

Reimplemented from smacc::ISmaccClientBehavior.

Definition at line 14 of file cb_navigate_next_waypoint.cpp.

15{
16 auto waypointsNavigator = moveBaseClient_->getComponent<WaypointNavigator>();
17 waypointsNavigator->sendNextGoal();
18 ROS_INFO("[CbNavigateNextWaypoint] current iteration waypoints x: %ld",
19 waypointsNavigator->getCurrentWaypointIndex());
20}
TComponent * getComponent()

References smacc::ISmaccClient::getComponent(), cl_move_base_z::CbMoveBaseClientBehaviorBase::moveBaseClient_, and cl_move_base_z::WaypointNavigator::sendNextGoal().

Here is the call graph for this function:

◆ onExit()

void cl_move_base_z::CbNavigateNextWaypoint::onExit ( )
overridevirtual

Reimplemented from smacc::ISmaccClientBehavior.

Definition at line 22 of file cb_navigate_next_waypoint.cpp.

23{
24}

The documentation for this class was generated from the following files: