Class DummyController
Defined in File DummyController.hpp
Inheritance Relationships
Base Type
public easynav::ControllerMethodBase
Class Documentation
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.
Public Functions
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.
- Returns:
std::expected<void, std::string> Returns an expected object:
voidif initialization was successful,a
std::stringcontaining an error message if initialization failed.
Run the control method and update the control command.
This method will be called by the system’s ControllerNode to run the control algorithm.
- Parameters:
nav_state – The current state of the navigation system.