SMACC2
|
#include <cb_navigate_backwards.hpp>
Public Attributes | |
float | backwardDistance |
std::optional< float > | backwardSpeed |
std::optional< std::string > | goalChecker_ |
cl_nitrosz::odom_tracker::CpOdomTracker * | odomTracker_ |
Additional Inherited Members | |
Protected Member Functions inherited from cl_nitrosz::CbNav2ZClientBehaviorBase | |
void | sendGoal (ClNitrosZ::Goal &goal) |
void | cancelGoal () |
bool | isOwnActionResponse (const ClNitrosZ::WrappedResult &) |
virtual void | onNavigationResult (const ClNitrosZ::WrappedResult &) |
virtual void | onNavigationActionSuccess (const ClNitrosZ::WrappedResult &) |
virtual void | onNavigationActionAbort (const ClNitrosZ::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_nitrosz::CbNav2ZClientBehaviorBase | |
cl_nitrosz::ClNitrosZ * | nitroszClient_ |
cl_nitrosz::ClNitrosZ::SmaccNavigateResultSignal::SharedPtr | navigationCallback_ |
rclcpp_action::ResultCode | navigationResult_ |
std::shared_future< std::shared_ptr< rclcpp_action::ClientGoalHandle< nav2_msgs::action::NavigateToPose > > > | goalHandleFuture_ |
Definition at line 32 of file cb_navigate_backwards.hpp.
cl_nitrosz::CbNavigateBackwards::CbNavigateBackwards | ( | float | backwardDistanceMeters | ) |
Definition at line 34 of file cb_navigate_backward.cpp.
References backwardDistance, and smacc2::ISmaccClientBehavior::getLogger().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 44 of file cb_navigate_backward.cpp.
References backwardDistance, cl_nitrosz::odom_tracker::CpOdomTracker::clearPath(), smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getNode(), cl_nitrosz::Pose::getReferenceFrame(), cl_nitrosz::CbNav2ZClientBehaviorBase::nitroszClient_, odomTracker_, cl_nitrosz::CbNav2ZClientBehaviorBase::sendGoal(), cl_nitrosz::CpPlannerSwitcher::setBackwardPlanner(), cl_nitrosz::CpGoalCheckerSwitcher::setGoalCheckerId(), cl_nitrosz::odom_tracker::CpOdomTracker::setStartPoint(), and cl_nitrosz::odom_tracker::CpOdomTracker::setWorkingMode().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 92 of file cb_navigate_backward.cpp.
References odomTracker_, and cl_nitrosz::odom_tracker::CpOdomTracker::setWorkingMode().
float cl_nitrosz::CbNavigateBackwards::backwardDistance |
Definition at line 35 of file cb_navigate_backwards.hpp.
Referenced by CbNavigateBackwards(), and onEntry().
std::optional<float> cl_nitrosz::CbNavigateBackwards::backwardSpeed |
Definition at line 38 of file cb_navigate_backwards.hpp.
std::optional<std::string> cl_nitrosz::CbNavigateBackwards::goalChecker_ |
Definition at line 40 of file cb_navigate_backwards.hpp.
cl_nitrosz::odom_tracker::CpOdomTracker* cl_nitrosz::CbNavigateBackwards::odomTracker_ |
Definition at line 42 of file cb_navigate_backwards.hpp.