Nav2 Navigation Stack - jazzy
jazzy
ROS 2 Navigation Stack
|
A background thread to process node/executor callbacks. More...
#include <nav2_util/include/nav2_util/node_thread.hpp>
Public Member Functions | |
NodeThread (rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base) | |
A background thread to process node callbacks constructor. More... | |
NodeThread (rclcpp::executors::SingleThreadedExecutor::SharedPtr executor) | |
A background thread to process executor's callbacks constructor. More... | |
template<typename NodeT > | |
NodeThread (NodeT node) | |
A background thread to process node callbacks constructor. More... | |
~NodeThread () | |
A destructor. | |
Protected Attributes | |
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr | node_ |
std::unique_ptr< std::thread > | thread_ |
rclcpp::Executor::SharedPtr | executor_ |
A background thread to process node/executor callbacks.
Definition at line 28 of file node_thread.hpp.
|
explicit |
A background thread to process node callbacks constructor.
node_base | Interface to Node to spin in thread |
Definition at line 21 of file node_thread.cpp.
|
explicit |
A background thread to process executor's callbacks constructor.
executor | Interface to executor to spin in thread |
Definition at line 35 of file node_thread.cpp.
|
inlineexplicit |
A background thread to process node callbacks constructor.
node | Node pointer to spin in thread |
Definition at line 50 of file node_thread.hpp.