SMACC2
|
#include <cb_navigate_next_waypoint_free.hpp>
Protected Attributes | |
cl_nitrosz::CpWaypointNavigatorBase * | waypointsNavigator_ |
Additional Inherited Members | |
Public Attributes inherited from cl_nitrosz::CbPositionControlFreeSpace | |
double | yaw_goal_tolerance_rads_ = 0.1 |
double | threshold_distance_ = 3.0 |
geometry_msgs::msg::Pose | target_pose_ |
Protected Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
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. | |
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 rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Definition at line 27 of file cb_navigate_next_waypoint_free.hpp.
cl_nitrosz::CbNavigateNextWaypointFree::CbNavigateNextWaypointFree | ( | ) |
Definition at line 25 of file cb_navigate_next_waypoint_free.cpp.
|
virtual |
Definition at line 27 of file cb_navigate_next_waypoint_free.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 29 of file cb_navigate_next_waypoint_free.cpp.
References cl_nitrosz::CpWaypointNavigatorBase::getCurrentPose(), smacc2::ISmaccClientBehavior::getLogger(), cl_nitrosz::CbPositionControlFreeSpace::onEntry(), smacc2::SmaccAsyncClientBehavior::onSuccess(), smacc2::ISmaccClientBehavior::requiresComponent(), cl_nitrosz::CbPositionControlFreeSpace::target_pose_, and waypointsNavigator_.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 52 of file cb_navigate_next_waypoint_free.cpp.
void cl_nitrosz::CbNavigateNextWaypointFree::onSucessCallback | ( | ) |
Definition at line 41 of file cb_navigate_next_waypoint_free.cpp.
References cl_nitrosz::CpWaypointNavigatorBase::forward(), cl_nitrosz::CpWaypointNavigatorBase::getCurrentWaypointIndex(), smacc2::ISmaccClientBehavior::getLogger(), cl_nitrosz::CpWaypointNavigatorBase::notifyGoalReached(), and waypointsNavigator_.
|
protected |
Definition at line 41 of file cb_navigate_next_waypoint_free.hpp.
Referenced by onEntry(), and onSucessCallback().