Bookend BT node run before Navigate: takes 2 seconds and only prints a starting message.
More...
#include <start_off.hpp>
|
| | StartOff (const std::string &name, const BT::NodeConfig &config) |
| | Constructs the BT node.
|
| BT::NodeStatus | onStart () override |
| | Records the start time and logs a starting message.
|
| BT::NodeStatus | onRunning () override |
| | Waits out the fixed 2-second delay.
|
|
void | onHalted () override |
| | No-op: this node has nothing to clean up on halt.
|
Bookend BT node run before Navigate: takes 2 seconds and only prints a starting message.
No ports.
◆ StartOff()
| StartOff |
( |
const std::string & | name, |
|
|
const BT::NodeConfig & | config ) |
Constructs the BT node.
- Parameters
-
| name | Name of this node instance, as given in the BT XML. |
| config | BT.CPP node configuration (ports, blackboard). |
◆ onRunning()
| BT::NodeStatus onRunning |
( |
| ) |
|
|
override |
Waits out the fixed 2-second delay.
- Returns
- SUCCESS once at least 2 seconds have elapsed since onStart(), RUNNING otherwise.
◆ onStart()
| BT::NodeStatus onStart |
( |
| ) |
|
|
override |
Records the start time and logs a starting message.
- Returns
- RUNNING.
◆ providedPorts()
| BT::PortsList providedPorts |
( |
| ) |
|
|
static |
This node's ports (none).
- Returns
- This node's ports (none).
The documentation for this class was generated from the following files:
- easyfleet_example_deployments/easyfleet_easynav_deployment/include/easyfleet_easynav_deployment/bt_nodes/start_off.hpp
- easyfleet_example_deployments/easyfleet_easynav_deployment/src/easyfleet_easynav_deployment/start_off.cpp