SMACC2
|
#include <amcl.hpp>
Public Member Functions | |
Amcl () | |
virtual | ~Amcl () |
std::string | getName () const override |
void | onInitialize () override |
void | setInitialPose (const geometry_msgs::msg::PoseWithCovarianceStamped &initialpose) |
Public Member Functions inherited from smacc2::ISmaccComponent | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Private Attributes | |
rclcpp::Publisher< geometry_msgs::msg::PoseWithCovarianceStamped >::SharedPtr | initalPosePub_ |
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, bool throwExceptionIfNotExist=false) |
template<typename TComponent > | |
void | requiresComponent (std::string name, TComponent *&requiredComponentStorage, bool throwExceptionIfNotExist=false) |
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 () const |
ISmaccStateMachine * | getStateMachine () |
Protected Attributes inherited from smacc2::ISmaccComponent | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
|
overridevirtual |
Reimplemented from smacc2::ISmaccComponent.
Definition at line 30 of file amcl.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccComponent.
Definition at line 32 of file amcl.cpp.
References smacc2::ISmaccComponent::getNode(), and initalPosePub_.
void cl_nav2z::Amcl::setInitialPose | ( | const geometry_msgs::msg::PoseWithCovarianceStamped & | initialpose | ) |
Definition at line 38 of file amcl.cpp.
References initalPosePub_.
|
private |
Definition at line 40 of file amcl.hpp.
Referenced by onInitialize(), and setInitialPose().