SMACC2
|
#include <cb_undo_path_backwards.hpp>
Private Attributes | |
std::shared_ptr< tf2_ros::Buffer > | listener |
CpOdomTracker * | odomTracker |
std::optional< CbUndoPathBackwardsOptions > | options_ |
Additional Inherited Members | |
Protected Member Functions inherited from cl_nav2z::CbNav2ZClientBehaviorBase | |
void | sendGoal (ClNav2Z::Goal &goal) |
void | cancelGoal () |
bool | isOwnActionResponse (const ClNav2Z::WrappedResult &) |
virtual void | onNavigationResult (const ClNav2Z::WrappedResult &) |
virtual void | onNavigationActionSuccess (const ClNav2Z::WrappedResult &) |
virtual void | onNavigationActionAbort (const ClNav2Z::WrappedResult &) |
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 |
Protected Attributes inherited from cl_nav2z::CbNav2ZClientBehaviorBase | |
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 40 of file cb_undo_path_backwards.hpp.
cl_nav2z::CbUndoPathBackwards::CbUndoPathBackwards | ( | std::optional< CbUndoPathBackwardsOptions > | options = std::nullopt | ) |
Definition at line 33 of file cb_undo_path_backwards.cpp.
References options_.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 38 of file cb_undo_path_backwards.cpp.
References smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), cl_nav2z::odom_tracker::CpOdomTracker::getPath(), listener, cl_nav2z::odom_tracker::CpOdomTracker::logStateString(), cl_nav2z::CbNav2ZClientBehaviorBase::nav2zClient_, odomTracker, options_, cl_nav2z::CbNav2ZClientBehaviorBase::sendGoal(), cl_nav2z::CpGoalCheckerSwitcher::setGoalCheckerId(), and cl_nav2z::odom_tracker::CpOdomTracker::setWorkingMode().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 96 of file cb_undo_path_backwards.cpp.
References smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), cl_nav2z::odom_tracker::CpOdomTracker::logStateString(), cl_nav2z::CbNav2ZClientBehaviorBase::nav2zClient_, cl_nav2z::CbNav2ZClientBehaviorBase::navigationResult_, odomTracker, and cl_nav2z::odom_tracker::CpOdomTracker::popPath().
|
private |
Definition at line 50 of file cb_undo_path_backwards.hpp.
Referenced by onEntry().
|
private |
Definition at line 52 of file cb_undo_path_backwards.hpp.
|
private |
Definition at line 54 of file cb_undo_path_backwards.hpp.
Referenced by CbUndoPathBackwards(), and onEntry().