SMACC2
|
#include <cb_navigate_backwards.hpp>
Public Member Functions | |
CbNavigateBackwards (float backwardDistance) | |
void | onEntry () override |
void | onExit () override |
Public Member Functions inherited from cl_nav2z::CbNav2ZClientBehaviorBase | |
virtual | ~CbNav2ZClientBehaviorBase () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
Public Member Functions inherited from smacc2::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 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) |
Public Attributes | |
float | backwardDistance |
std::optional< float > | backwardSpeed |
std::optional< std::string > | goalChecker_ |
cl_nav2z::odom_tracker::OdomTracker * | odomTracker_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
bool | isShutdownRequested () |
Protected Member Functions inherited from smacc2::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () |
virtual rclcpp::Logger | getLogger () |
Protected Attributes inherited from cl_nav2z::CbNav2ZClientBehaviorBase | |
cl_nav2z::ClNav2Z * | moveBaseClient_ |
rclcpp_action::ResultCode | navigationResult_ |
Definition at line 32 of file cb_navigate_backwards.hpp.
cl_nav2z::CbNavigateBackwards::CbNavigateBackwards | ( | float | backwardDistance | ) |
Definition at line 35 of file cb_navigate_backward.cpp.
References backwardDistance, and smacc2::ISmaccClientBehavior::getLogger().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 45 of file cb_navigate_backward.cpp.
References backwardDistance, cl_nav2z::odom_tracker::OdomTracker::clearPath(), smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getNode(), cl_nav2z::Pose::getReferenceFrame(), cl_nav2z::CbNav2ZClientBehaviorBase::moveBaseClient_, odomTracker_, smacc2::client_bases::SmaccActionClientBase< ActionType >::sendGoal(), cl_nav2z::PlannerSwitcher::setBackwardPlanner(), cl_nav2z::GoalCheckerSwitcher::setGoalCheckerId(), cl_nav2z::odom_tracker::OdomTracker::setStartPoint(), and cl_nav2z::odom_tracker::OdomTracker::setWorkingMode().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 93 of file cb_navigate_backward.cpp.
References odomTracker_, and cl_nav2z::odom_tracker::OdomTracker::setWorkingMode().
float cl_nav2z::CbNavigateBackwards::backwardDistance |
Definition at line 35 of file cb_navigate_backwards.hpp.
Referenced by CbNavigateBackwards(), and onEntry().
std::optional<float> cl_nav2z::CbNavigateBackwards::backwardSpeed |
Definition at line 38 of file cb_navigate_backwards.hpp.
std::optional<std::string> cl_nav2z::CbNavigateBackwards::goalChecker_ |
Definition at line 40 of file cb_navigate_backwards.hpp.
cl_nav2z::odom_tracker::OdomTracker* cl_nav2z::CbNavigateBackwards::odomTracker_ |
Definition at line 42 of file cb_navigate_backwards.hpp.