AutoAPMS
Resilient Robot Mission Management
|
#include <auto_apms_core/action_context.hpp>
Public Types | |
using | Type = ActionT |
using | Goal = typename ActionT::Goal |
using | Feedback = typename ActionT::Feedback |
using | Result = typename ActionT::Result |
using | GoalHandle = rclcpp_action::ServerGoalHandle<ActionT> |
Public Member Functions | |
ActionContext (const rclcpp::Logger &logger) | |
void | setUp (std::shared_ptr< GoalHandle > goal_handle_ptr) |
void | publishFeedback () |
void | succeed () |
void | cancel () |
void | abort () |
void | invalidate () |
bool | isValid () |
std::shared_ptr< GoalHandle > | getGoalHandlePtr () |
std::shared_ptr< Feedback > | getFeedbackPtr () |
std::shared_ptr< Result > | getResultPtr () |
Definition at line 23 of file action_context.hpp.
using Type = ActionT |
Definition at line 26 of file action_context.hpp.
using Goal = typename ActionT::Goal |
Definition at line 27 of file action_context.hpp.
using Feedback = typename ActionT::Feedback |
Definition at line 28 of file action_context.hpp.
using Result = typename ActionT::Result |
Definition at line 29 of file action_context.hpp.
using GoalHandle = rclcpp_action::ServerGoalHandle<ActionT> |
Definition at line 30 of file action_context.hpp.
ActionContext | ( | const rclcpp::Logger & | logger | ) |
---------------— DEFINITIONS ---------------—
Definition at line 66 of file action_context.hpp.
void setUp | ( | std::shared_ptr< GoalHandle > | goal_handle_ptr | ) |
Definition at line 71 of file action_context.hpp.
void publishFeedback | ( | ) |
Definition at line 79 of file action_context.hpp.
void succeed | ( | ) |
Definition at line 98 of file action_context.hpp.
void cancel | ( | ) |
Definition at line 110 of file action_context.hpp.
void abort | ( | ) |
Definition at line 122 of file action_context.hpp.
|
inline |
Definition at line 134 of file action_context.hpp.
|
inline |
Definition at line 140 of file action_context.hpp.
std::shared_ptr< typename ActionContext< ActionT >::GoalHandle > getGoalHandlePtr | ( | ) |
Definition at line 146 of file action_context.hpp.
|
inline |
Definition at line 158 of file action_context.hpp.
|
inline |
Definition at line 164 of file action_context.hpp.