AutoAPMS
Resilient Robot Mission Management
|
#include <auto_apms_core/task.hpp>
Public Types | |
using | Status = TaskStatus |
using | ActionContextType = ActionContext<ActionT> |
using | Goal = typename ActionContextType::Goal |
using | Feedback = typename ActionContextType::Feedback |
using | Result = typename ActionContextType::Result |
using | GoalHandle = typename ActionContextType::GoalHandle |
Public Member Functions | |
Task (const std::string &name, rclcpp::Node::SharedPtr node_ptr, std::shared_ptr< ActionContextType > action_context_ptr, std::chrono::milliseconds execution_interval=DEFAULT_VALUE_EXECUTION_INTERVAL, std::chrono::milliseconds feedback_interval=DEFAULT_VALUE_FEEDBACK_INTERVAL) | |
Task (const std::string &name, rclcpp::Node::SharedPtr node_ptr, std::chrono::milliseconds execution_interval=DEFAULT_VALUE_EXECUTION_INTERVAL, std::chrono::milliseconds feedback_interval=DEFAULT_VALUE_FEEDBACK_INTERVAL) | |
Task (const std::string &name, const rclcpp::NodeOptions &options, std::chrono::milliseconds execution_interval=DEFAULT_VALUE_EXECUTION_INTERVAL, std::chrono::milliseconds feedback_interval=DEFAULT_VALUE_FEEDBACK_INTERVAL) | |
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr | get_node_base_interface () const |
Static Public Attributes | |
static constexpr std::chrono::milliseconds | DEFAULT_VALUE_EXECUTION_INTERVAL { 10 } |
static constexpr std::chrono::milliseconds | DEFAULT_VALUE_FEEDBACK_INTERVAL { 200 } |
static constexpr char | PARAM_NAME_FEEDBACK_INTERVAL [] = "feedback_interval_ms" |
Protected Attributes | |
rclcpp::Node::SharedPtr | node_ptr_ |
std::shared_ptr< ActionContextType > | action_context_ptr_ |
Generic base class for robot actions.
A auto_apms_core::Task is esentially a wrapper for a rclcpp_action::Server providing convenient extension points.
using Status = TaskStatus |
using ActionContextType = ActionContext<ActionT> |
using Goal = typename ActionContextType::Goal |
using Feedback = typename ActionContextType::Feedback |
using Result = typename ActionContextType::Result |
using GoalHandle = typename ActionContextType::GoalHandle |
|
explicit |
|
explicit |
|
explicit |
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr get_node_base_interface | ( | ) | const |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
protected |
|
protected |