SMACC
|
#include <cb_undo_path_backwards2.h>
Public Member Functions | |
CbUndoPathBackwards2 () | |
virtual void | onEntry () override |
virtual void | onExit () override |
virtual void | update () override |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
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 Member Functions inherited from smacc::ISmaccUpdatable | |
ISmaccUpdatable () | |
ISmaccUpdatable (ros::Duration duration) | |
void | executeUpdate () |
void | setUpdatePeriod (ros::Duration duration) |
Private Member Functions | |
void | publishMarkers () |
float | evalPlaneSide (const geometry_msgs::Pose &pose) |
Private Attributes | |
ClMoveBaseZ::Goal | goal_ |
odom_tracker::OdomTracker * | odomTracker_ |
tf::TransformListener | listener |
cl_move_base_z::Pose * | robotPose_ |
std::atomic< bool > | goalLinePassed_ |
float | initial_plane_side_ |
float | triggerThreshold_ |
std::function< void()> | postVirtualLinePassed_ |
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 () |
virtual void | update ()=0 |
Protected Attributes inherited from cl_move_base_z::CbMoveBaseClientBehaviorBase | |
ClMoveBaseZ * | moveBaseClient_ |
ros::Publisher | visualizationMarkersPub_ |
Definition at line 21 of file cb_undo_path_backwards2.h.
cl_move_base_z::CbUndoPathBackwards2::CbUndoPathBackwards2 | ( | ) |
Definition at line 15 of file cb_undo_path_backwards2.cpp.
References triggerThreshold_.
|
private |
Definition at line 48 of file cb_undo_path_backwards2.cpp.
References goal_.
Referenced by onEntry(), and update().
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 20 of file cb_undo_path_backwards2.cpp.
References evalPlaneSide(), smacc::ISmaccClient::getComponent(), cl_move_base_z::odom_tracker::OdomTracker::getPath(), goal_, initial_plane_side_, cl_move_base_z::CbMoveBaseClientBehaviorBase::moveBaseClient_, odomTracker_, robotPose_, smacc::client_bases::SmaccActionClientBase< ActionType >::sendGoal(), cl_move_base_z::odom_tracker::OdomTracker::setWorkingMode(), and cl_move_base_z::Pose::toPoseMsg().
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 127 of file cb_undo_path_backwards2.cpp.
References smacc::ISmaccClient::getComponent(), and cl_move_base_z::CbMoveBaseClientBehaviorBase::moveBaseClient_.
|
inline |
Definition at line 32 of file cb_undo_path_backwards2.h.
References postVirtualLinePassed_.
|
private |
Definition at line 90 of file cb_undo_path_backwards2.cpp.
References cl_move_base_z::Pose::getReferenceFrame(), goal_, robotPose_, and cl_move_base_z::CbMoveBaseClientBehaviorBase::visualizationMarkersPub_.
|
overridevirtual |
Implements smacc::ISmaccUpdatable.
Definition at line 64 of file cb_undo_path_backwards2.cpp.
References smacc::client_bases::SmaccActionClientBase< ActionType >::cancelGoal(), evalPlaneSide(), initial_plane_side_, cl_move_base_z::CbMoveBaseClientBehaviorBase::moveBaseClient_, postVirtualLinePassed_, robotPose_, cl_move_base_z::sgn(), cl_move_base_z::Pose::toPoseMsg(), and triggerThreshold_.
|
private |
Definition at line 43 of file cb_undo_path_backwards2.h.
Referenced by evalPlaneSide(), onEntry(), and publishMarkers().
|
private |
Definition at line 48 of file cb_undo_path_backwards2.h.
|
private |
Definition at line 49 of file cb_undo_path_backwards2.h.
|
private |
Definition at line 46 of file cb_undo_path_backwards2.h.
|
private |
Definition at line 44 of file cb_undo_path_backwards2.h.
Referenced by onEntry().
|
private |
Definition at line 51 of file cb_undo_path_backwards2.h.
Referenced by onOrthogonalAllocation(), and update().
|
private |
Definition at line 47 of file cb_undo_path_backwards2.h.
Referenced by onEntry(), publishMarkers(), and update().
|
private |
Definition at line 50 of file cb_undo_path_backwards2.h.
Referenced by CbUndoPathBackwards2(), and update().