|
Nav2 Navigation Stack - humble
humble
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_bt_navigator/include/nav2_bt_navigator/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 navigator.hpp.
|
inline |
Get the navigator muxer state.
Definition at line 63 of file navigator.hpp.
Referenced by nav2_bt_navigator::Navigator< ActionT >::onGoalReceived().

|
inline |
Start navigating with a given navigator.
| string | Name of the navigator to start |
Definition at line 73 of file navigator.hpp.
Referenced by nav2_bt_navigator::Navigator< ActionT >::onGoalReceived().

|
inline |
Stop navigating with a given navigator.
| string | Name of the navigator ending task |
Definition at line 90 of file navigator.hpp.
Referenced by nav2_bt_navigator::Navigator< ActionT >::onCompletion().
