Easy Navigation
|
A default "dummy" implementation for the Control Method. More...
#include <DummyController.hpp>
Public Member Functions | |
DummyController ()=default | |
virtual std::expected< void, std::string > | on_initialize () override |
Initializes the control method plugin. | |
virtual void | update_rt (NavState &nav_state) override |
Run the control method and update the control command. | |
~DummyController ()=default | |
A default "dummy" implementation for the Control Method.
This control method does nothing. It serves as an example, and will be used as a default plugin implementation if the navigation system configuration does not specify one.
|
default |
|
default |
|
overridevirtual |
Initializes the control method plugin.
This method is called once during the configuration phase of the controller node, and can be optionally overridden by derived classes to perform custom setup logic.
void
if initialization was successful,std::string
containing an error message if initialization failed.
|
overridevirtual |
Run the control method and update the control command.
This method will be called by the system's ControllerNode to run the control algorithm.
nav_state | The current state of the navigation system. |