SMACC2
|
#include <cb_rotate.hpp>
Public Attributes | |
float | rotateDegree |
std::optional< std::string > | goalChecker_ |
std::optional< cl_nitrosz::SpinningPlanner > | spinningPlanner |
Private Attributes | |
std::shared_ptr< tf2_ros::Buffer > | listener |
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 28 of file cb_rotate.hpp.
cl_nitrosz::CbRotate::CbRotate | ( | float | rotate_degree | ) |
Definition at line 29 of file cb_rotate.cpp.
cl_nitrosz::CbRotate::CbRotate | ( | float | rotate_degree, |
cl_nitrosz::SpinningPlanner | spinning_planner | ||
) |
Definition at line 31 of file cb_rotate.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 36 of file cb_rotate.cpp.
References smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClientBehavior::getCurrentState(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccState::getName(), smacc2::ISmaccClientBehavior::getNode(), cl_nitrosz::Pose::getReferenceFrame(), cl_nitrosz::CbNav2ZClientBehaviorBase::nitroszClient_, cl_nitrosz::PureSpinning, cl_nitrosz::odom_tracker::RECORD_PATH, smacc2::ISmaccClientBehavior::requiresClient(), rotateDegree, cl_nitrosz::CbNav2ZClientBehaviorBase::sendGoal(), cl_nitrosz::CpPlannerSwitcher::setPureSpinningPlanner(), and spinningPlanner.
std::optional<std::string> cl_nitrosz::CbRotate::goalChecker_ |
Definition at line 33 of file cb_rotate.hpp.
|
private |
Definition at line 45 of file cb_rotate.hpp.
float cl_nitrosz::CbRotate::rotateDegree |
Definition at line 31 of file cb_rotate.hpp.
Referenced by onEntry().
std::optional<cl_nitrosz::SpinningPlanner> cl_nitrosz::CbRotate::spinningPlanner |
Definition at line 35 of file cb_rotate.hpp.
Referenced by onEntry().