AutoAPMS
Resilient Robot Mission Management
|
#include <auto_apms_behavior_tree/node/ros_node_context.hpp>
Public Member Functions | |
RosNodeContext (rclcpp::Node::SharedPtr node_ptr, const NodeRegistrationParams &tree_node_params) | |
rclcpp::Logger | getLogger () const |
rclcpp::Time | getCurrentTime () const |
Public Attributes | |
std::weak_ptr< rclcpp::Node > | nh |
std::string | default_port_name |
std::chrono::duration< double > | wait_for_server_timeout |
std::chrono::duration< double > | request_timeout |
Definition at line 27 of file ros_node_context.hpp.
RosNodeContext | ( | rclcpp::Node::SharedPtr | node_ptr, |
const NodeRegistrationParams & | tree_node_params ) |
Definition at line 19 of file ros_node_context.cpp.
rclcpp::Logger getLogger | ( | ) | const |
Definition at line 27 of file ros_node_context.cpp.
rclcpp::Time getCurrentTime | ( | ) | const |
Definition at line 36 of file ros_node_context.cpp.
std::weak_ptr<rclcpp::Node> nh |
Handle for the ROS2 node.
Definition at line 32 of file ros_node_context.hpp.
std::string default_port_name |
Default port name of the corresponding ROS 2 communication interface.
This has different meaning based on the context:
Definition at line 42 of file ros_node_context.hpp.
std::chrono::duration<double> wait_for_server_timeout |
Timeout [s] for initially discovering the associated ROS2 node.
Definition at line 44 of file ros_node_context.hpp.
std::chrono::duration<double> request_timeout |
Timeout [s] for waiting for a response for the requested service or goal.
Definition at line 46 of file ros_node_context.hpp.