SMACC
|
#include <cb_absolute_rotate.h>
Public Member Functions | |
CbAbsoluteRotate () | |
CbAbsoluteRotate (float absoluteGoalAngleDegree, float yawGoalTolerance=-1) | |
virtual void | onEntry () override |
virtual void | onExit () override |
Public Member Functions inherited from cl_move_base_z::CbMoveBaseClientBehaviorBase | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
Public Member Functions inherited from smacc::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 smacc::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
ros::NodeHandle | getNode () |
Public Attributes | |
tf::TransformListener | listener |
boost::optional< float > | absoluteGoalAngleDegree |
boost::optional< float > | yawGoalTolerance |
boost::optional< float > | maxVelTheta |
boost::optional< SpiningPlanner > | spinningPlanner |
Private Member Functions | |
void | updateTemporalBehaviorParameters (bool undo) |
Private Attributes | |
float | oldYawTolerance |
float | oldMaxVelTheta |
float | oldMinVelTheta |
Additional Inherited Members | |
Protected Member Functions inherited from smacc::SmaccAsyncClientBehavior | |
virtual void | executeOnEntry () override |
virtual void | executeOnExit () override |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
Protected Member Functions inherited from smacc::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 | executeOnEntry () |
virtual void | executeOnExit () |
virtual void | dispose () |
Protected Attributes inherited from cl_move_base_z::CbMoveBaseClientBehaviorBase | |
ClMoveBaseZ * | moveBaseClient_ |
ros::Publisher | visualizationMarkersPub_ |
Definition at line 21 of file cb_absolute_rotate.h.
cl_move_base_z::CbAbsoluteRotate::CbAbsoluteRotate | ( | ) |
Definition at line 8 of file cb_absolute_rotate.cpp.
cl_move_base_z::CbAbsoluteRotate::CbAbsoluteRotate | ( | float | absoluteGoalAngleDegree, |
float | yawGoalTolerance = -1 |
||
) |
Definition at line 12 of file cb_absolute_rotate.cpp.
References absoluteGoalAngleDegree, and yawGoalTolerance.
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 137 of file cb_absolute_rotate.cpp.
References absoluteGoalAngleDegree, smacc::ISmaccClient::getComponent(), smacc::ISmaccClientBehavior::getCurrentState(), cl_move_base_z::Pose::getReferenceFrame(), cl_move_base_z::CbMoveBaseClientBehaviorBase::moveBaseClient_, smacc::ISmaccState::param(), cl_move_base_z::PureSpinning, cl_move_base_z::odom_tracker::OdomTracker::pushPath(), cl_move_base_z::odom_tracker::RECORD_PATH, smacc::client_bases::SmaccActionClientBase< ActionType >::sendGoal(), cl_move_base_z::PlannerSwitcher::setPureSpinningPlanner(), spinningPlanner, and updateTemporalBehaviorParameters().
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 125 of file cb_absolute_rotate.cpp.
References cl_move_base_z::PureSpinning, spinningPlanner, and updateTemporalBehaviorParameters().
|
private |
Definition at line 22 of file cb_absolute_rotate.cpp.
References cl_move_base_z::Default, maxVelTheta, oldMaxVelTheta, oldMinVelTheta, oldYawTolerance, cl_move_base_z::PureSpinning, spinningPlanner, and yawGoalTolerance.
Referenced by onEntry(), and onExit().
boost::optional<float> cl_move_base_z::CbAbsoluteRotate::absoluteGoalAngleDegree |
Definition at line 26 of file cb_absolute_rotate.h.
Referenced by CbAbsoluteRotate(), and onEntry().
tf::TransformListener cl_move_base_z::CbAbsoluteRotate::listener |
Definition at line 24 of file cb_absolute_rotate.h.
boost::optional<float> cl_move_base_z::CbAbsoluteRotate::maxVelTheta |
Definition at line 28 of file cb_absolute_rotate.h.
Referenced by updateTemporalBehaviorParameters().
|
private |
Definition at line 41 of file cb_absolute_rotate.h.
Referenced by updateTemporalBehaviorParameters().
|
private |
Definition at line 42 of file cb_absolute_rotate.h.
Referenced by updateTemporalBehaviorParameters().
|
private |
Definition at line 40 of file cb_absolute_rotate.h.
Referenced by updateTemporalBehaviorParameters().
boost::optional<SpiningPlanner> cl_move_base_z::CbAbsoluteRotate::spinningPlanner |
Definition at line 29 of file cb_absolute_rotate.h.
Referenced by onEntry(), onExit(), and updateTemporalBehaviorParameters().
boost::optional<float> cl_move_base_z::CbAbsoluteRotate::yawGoalTolerance |
Definition at line 27 of file cb_absolute_rotate.h.
Referenced by CbAbsoluteRotate(), and updateTemporalBehaviorParameters().