|
SMACC2
|
#include <cl_autoware.hpp>


Public Member Functions | |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| void | onInitialize () override |
| bool | checkGoalReached () |
| void | onNdtPoseReceived (const geometry_msgs::msg::PoseWithCovarianceStamped &msg) |
| void | publishGoalPose (const geometry_msgs::msg::PoseStamped &msg) |
| void | publishInitialPoseEstimation (const geometry_msgs::msg::PoseWithCovarianceStamped &msg) |
Public Member Functions inherited from smacc2::ISmaccClient | |
| ISmaccClient () | |
| virtual | ~ISmaccClient () |
| virtual void | onInitialize () |
| virtual std::string | getName () const |
| template<typename TComponent > | |
| TComponent * | getComponent () |
| template<typename TComponent > | |
| TComponent * | getComponent (std::string name) |
| template<typename TComponent > | |
| TComponent * | getComponent (int index) |
| virtual smacc2::introspection::TypeInfo::Ptr | getType () |
| ISmaccStateMachine * | getStateMachine () |
| template<typename TSmaccSignal , typename T > | |
| void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
| template<typename SmaccClientType > | |
| void | requiresClient (SmaccClientType *&storage) |
| void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
Public Attributes | |
| smacc2::components::CpTopicPublisher< geometry_msgs::msg::PoseWithCovarianceStamped > * | cppubLocation_ |
| smacc2::components::CpTopicPublisher< geometry_msgs::msg::PoseStamped > * | cpppubGoalPose_ |
| std::optional< geometry_msgs::msg::PoseWithCovarianceStamped > | lastPose_ |
| std::optional< geometry_msgs::msg::PoseStamped > | lastGoal_ |
| double | goalToleranceMeters_ = 3.5 |
| std::function< void(const geometry_msgs::msg::PoseWithCovarianceStamped &)> | postEvAutoLocalized_ |
| std::function< void()> | postEvGoalReached_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClient | |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createComponent (TArgs... targs) |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
| rclcpp::Node::SharedPtr | getNode () |
| rclcpp::Logger | getLogger () |
Protected Attributes inherited from smacc2::ISmaccClient | |
| std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Definition at line 49 of file cl_autoware.hpp.
|
inline |
Definition at line 111 of file cl_autoware.hpp.
References smacc2::ISmaccClient::getLogger(), smacc2::ISmaccClient::getName(), smacc2::ISmaccClient::getNode(), goalToleranceMeters_, lastGoal_, and lastPose_.
Referenced by onNdtPoseReceived().


|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClient.
Definition at line 80 of file cl_autoware.hpp.
References cpppubGoalPose_, cppubLocation_, smacc2::ISmaccClient::getComponent(), smacc2::components::CpTopicSubscriber< MessageType >::onMessageReceived(), and onNdtPoseReceived().

|
inline |
Definition at line 135 of file cl_autoware.hpp.
References checkGoalReached(), lastPose_, postEvAutoLocalized_, and postEvGoalReached_.
Referenced by onInitialize().


|
inline |
Definition at line 65 of file cl_autoware.hpp.
References smacc2::ISmaccClient::postEvent().

|
inline |
Definition at line 146 of file cl_autoware.hpp.
References lastGoal_, and smacc2::components::CpTopicPublisher< MessageType >::publish().
Referenced by sm_autoware_avp::clients::autoware_client::CbNavigateGlobalPosition::onEntry().


|
inline |
Definition at line 152 of file cl_autoware.hpp.
References smacc2::components::CpTopicPublisher< MessageType >::publish().
Referenced by sm_autoware_avp::clients::autoware_client::CbSetupInitialPoseEstimation::onEntry().


| smacc2::components::CpTopicPublisher<geometry_msgs::msg::PoseStamped>* sm_autoware_avp::clients::ClAutoware::cpppubGoalPose_ |
Definition at line 54 of file cl_autoware.hpp.
Referenced by onInitialize().
| smacc2::components::CpTopicPublisher<geometry_msgs::msg::PoseWithCovarianceStamped>* sm_autoware_avp::clients::ClAutoware::cppubLocation_ |
Definition at line 52 of file cl_autoware.hpp.
Referenced by onInitialize().
| double sm_autoware_avp::clients::ClAutoware::goalToleranceMeters_ = 3.5 |
Definition at line 59 of file cl_autoware.hpp.
Referenced by checkGoalReached().
| std::optional<geometry_msgs::msg::PoseStamped> sm_autoware_avp::clients::ClAutoware::lastGoal_ |
Definition at line 57 of file cl_autoware.hpp.
Referenced by checkGoalReached(), and publishGoalPose().
| std::optional<geometry_msgs::msg::PoseWithCovarianceStamped> sm_autoware_avp::clients::ClAutoware::lastPose_ |
Definition at line 56 of file cl_autoware.hpp.
Referenced by checkGoalReached(), and onNdtPoseReceived().
| std::function<void(const geometry_msgs::msg::PoseWithCovarianceStamped &)> sm_autoware_avp::clients::ClAutoware::postEvAutoLocalized_ |
Definition at line 61 of file cl_autoware.hpp.
Referenced by onNdtPoseReceived().
| std::function<void()> sm_autoware_avp::clients::ClAutoware::postEvGoalReached_ |
Definition at line 62 of file cl_autoware.hpp.
Referenced by onNdtPoseReceived().