SMACC2
|
#include <cp_square_shape_bondary.hpp>
Public Member Functions | |
CpSquareShapeBoundary (float squareLenghtMeters) | |
void | onInitialize () override |
float | getForwardDistance () |
Public Member Functions inherited from smacc2::ISmaccComponent | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Public Attributes | |
float | squareLenghtMeters_ |
::cl_nav2z::Pose * | robotPose_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccComponent | |
virtual void | onInitialize () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename TComponent > | |
void | requiresComponent (TComponent *&requiredComponentStorage) |
template<typename TClient > | |
void | requiresClient (TClient *&requiredClientStorage) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createSiblingComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createSiblingNamedComponent (std::string name, TArgs... targs) |
rclcpp::Node::SharedPtr | getNode () |
rclcpp::Logger | getLogger () |
ISmaccStateMachine * | getStateMachine () |
Protected Attributes inherited from smacc2::ISmaccComponent | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
Definition at line 35 of file cp_square_shape_bondary.hpp.
|
inline |
Definition at line 41 of file cp_square_shape_bondary.hpp.
|
inline |
Definition at line 52 of file cp_square_shape_bondary.hpp.
References smacc2::ISmaccComponent::getLogger(), smacc2::ISmaccComponent::getName(), cl_nav2z::Pose::getYaw(), robotPose_, and squareLenghtMeters_.
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccComponent.
Definition at line 47 of file cp_square_shape_bondary.hpp.
References smacc2::ISmaccComponent::requiresComponent(), and robotPose_.
::cl_nav2z::Pose* sm_dance_bot_warehouse_2::cl_nav2z::CpSquareShapeBoundary::robotPose_ |
Definition at line 39 of file cp_square_shape_bondary.hpp.
Referenced by getForwardDistance(), and onInitialize().
float sm_dance_bot_warehouse_2::cl_nav2z::CpSquareShapeBoundary::squareLenghtMeters_ |
Definition at line 38 of file cp_square_shape_bondary.hpp.
Referenced by getForwardDistance().