|
SMACC2
|
#include <nav2z_client.hpp>


Public Member Functions | |
| ClNav2Z (std::string navigateToPoseAction="/navigate_to_pose") | |
| virtual | ~ClNav2Z () |
Public Member Functions inherited from smacc2::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose > | |
| SmaccActionClientBase (std::string actionServerName) | |
| SmaccActionClientBase () | |
| virtual | ~SmaccActionClientBase () |
| virtual std::shared_ptr< rclcpp_action::ClientBase > | getClientBase () override |
| void | onInitialize () override |
| void | postResultEvent (WrappedResult &) |
| void | onOrthogonalAllocation () |
| boost::signals2::connection | onSucceeded (void(T::*callback)(WrappedResult &), T *object) |
| boost::signals2::connection | onSucceeded (std::function< void(WrappedResult &)> callback) |
| boost::signals2::connection | onAborted (void(T::*callback)(WrappedResult &), T *object) |
| boost::signals2::connection | onAborted (std::function< void(WrappedResult &)> callback) |
| boost::signals2::connection | onCancelled (void(T::*callback)(WrappedResult &), T *object) |
| boost::signals2::connection | onCancelled (std::function< void(WrappedResult &)> callback) |
| virtual bool | cancelGoal () override |
| std::shared_future< typename GoalHandle::SharedPtr > | sendGoal (Goal &goal) |
Public Member Functions inherited from smacc2::client_bases::ISmaccActionClient | |
| ISmaccActionClient () | |
| virtual | ~ISmaccActionClient () |
| std::string | getNamespace () const |
| virtual bool | cancelGoal ()=0 |
| virtual std::shared_ptr< rclcpp_action::ClientBase > | getClientBase ()=0 |
| virtual std::string | getName () const |
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 () |
Additional Inherited Members | |
Public Types inherited from smacc2::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose > | |
| typedef rclcpp_action::Client< nav2_msgs::action::NavigateToPose > | ActionClient |
| using | Goal = typename ActionClient::Goal |
| using | Feedback = typename ActionClient::Feedback |
| using | GoalHandle = rclcpp_action::ClientGoalHandle< nav2_msgs::action::NavigateToPose > |
| typedef GoalHandle::WrappedResult | WrappedResult |
| using | SendGoalOptions = typename ActionClient::SendGoalOptions |
| using | GoalResponseCallback = std::function< void(std::shared_future< typename GoalHandle::SharedPtr >)> |
| using | FeedbackCallback = typename GoalHandle::FeedbackCallback |
| using | ResultCallback = typename GoalHandle::ResultCallback |
| using | CancelRequest = typename ActionType::Impl::CancelGoalService::Request |
| using | CancelResponse = typename ActionType::Impl::CancelGoalService::Response |
| using | CancelCallback = std::function< void(typename CancelResponse::SharedPtr)> |
Static Public Member Functions inherited from smacc2::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose > | |
| static std::string | getEventLabel () |
Public Attributes inherited from smacc2::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose > | |
| std::string | action_endpoint_ |
| std::optional< std::shared_future< typename GoalHandle::SharedPtr > > | lastRequest_ |
| GoalHandle::SharedPtr | goalHandle_ |
| smacc2::SmaccSignal< void(const WrappedResult &)> | onSucceeded_ |
| smacc2::SmaccSignal< void(const WrappedResult &)> | onAborted_ |
| smacc2::SmaccSignal< void(const WrappedResult &)> | onCancelled_ |
| std::function< void(WrappedResult)> | postSuccessEvent |
| std::function< void(WrappedResult)> | postAbortedEvent |
| std::function< void(WrappedResult)> | postCancelledEvent |
| std::function< void(const Feedback &)> | postFeedbackEvent |
| ResultCallback | done_cb |
| FeedbackCallback | feedback_cb |
Protected Member Functions inherited from smacc2::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose > | |
| void | onFeedback (typename GoalHandle::SharedPtr, const std::shared_ptr< const Feedback > feedback_msg) |
| void | onResult (const WrappedResult &result_msg) |
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::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose > | |
| ActionClient::SharedPtr | client_ |
Protected Attributes inherited from smacc2::client_bases::ISmaccActionClient | |
| std::string | name_ |
Protected Attributes inherited from smacc2::ISmaccClient | |
| std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Definition at line 30 of file nav2z_client.hpp.
| cl_nav2z::ClNav2Z::ClNav2Z | ( | std::string | navigateToPoseAction = "/navigate_to_pose" | ) |
Definition at line 31 of file nav2z_client.cpp.
|
virtual |
Definition at line 36 of file nav2z_client.cpp.