SMACC2
|
#include <cb_pure_spinning.hpp>
Public Member Functions | |
CbPureSpinning (double targetYaw, double max_angular_yaw_speed=0.5) | |
void | updateParameters () |
void | onEntry () override |
void | onExit () override |
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 | |
double | yaw_goal_tolerance_rads_ |
Private Attributes | |
double | targetYaw_ |
bool | goalReached_ |
double | k_betta_ |
double | max_angular_yaw_speed_ |
rclcpp::Publisher< geometry_msgs::msg::Twist >::SharedPtr | cmd_vel_pub_ |
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 () |
Definition at line 34 of file cb_pure_spinning.hpp.
|
inline |
Definition at line 47 of file cb_pure_spinning.hpp.
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 60 of file cb_pure_spinning.hpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), goalReached_, k_betta_, max_angular_yaw_speed_, smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), smacc2::ISmaccClientBehavior::requiresComponent(), targetYaw_, and yaw_goal_tolerance_rads_.
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 124 of file cb_pure_spinning.hpp.
|
inline |
Definition at line 56 of file cb_pure_spinning.hpp.
|
private |
Definition at line 42 of file cb_pure_spinning.hpp.
|
private |
Definition at line 38 of file cb_pure_spinning.hpp.
Referenced by onEntry().
|
private |
Definition at line 39 of file cb_pure_spinning.hpp.
Referenced by onEntry().
|
private |
Definition at line 40 of file cb_pure_spinning.hpp.
Referenced by onEntry().
|
private |
Definition at line 37 of file cb_pure_spinning.hpp.
Referenced by onEntry().
double sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning::yaw_goal_tolerance_rads_ |
Definition at line 45 of file cb_pure_spinning.hpp.
Referenced by onEntry().