Nav2 Navigation Stack - kilted
kilted
ROS 2 Navigation Stack
|
A class to control the state of the BT navigator by allowing only a single plugin to be processed at a time. More...
#include <nav2_core/include/nav2_core/behavior_tree_navigator.hpp>
Public Member Functions | |
NavigatorMuxer () | |
A Navigator Muxer constructor. | |
bool | isNavigating () |
Get the navigator muxer state. More... | |
void | startNavigating (const std::string &navigator_name) |
Start navigating with a given navigator. More... | |
void | stopNavigating (const std::string &navigator_name) |
Stop navigating with a given navigator. More... | |
Protected Attributes | |
std::string | current_navigator_ |
std::mutex | mutex_ |
A class to control the state of the BT navigator by allowing only a single plugin to be processed at a time.
Definition at line 50 of file behavior_tree_navigator.hpp.
|
inline |
Get the navigator muxer state.
Definition at line 63 of file behavior_tree_navigator.hpp.
Referenced by nav2_core::BehaviorTreeNavigator< ActionT >::onGoalReceived().
|
inline |
Start navigating with a given navigator.
string | Name of the navigator to start |
Definition at line 73 of file behavior_tree_navigator.hpp.
Referenced by nav2_core::BehaviorTreeNavigator< ActionT >::onGoalReceived().
|
inline |
Stop navigating with a given navigator.
string | Name of the navigator ending task |
Definition at line 90 of file behavior_tree_navigator.hpp.
Referenced by nav2_core::BehaviorTreeNavigator< ActionT >::onCompletion().