Class VffController
Defined in File VffController.hpp
Inheritance Relationships
Base Type
public easynav::ControllerMethodBase
Class Documentation
A default “Vff” 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
Default constructor.
Default destructor.
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.
- Throws:
std::runtime_error – on initialization error.
Updates the localization estimate based on the current navigation state.
This method is intended to run the localization logic and update the odometry. In this implementation, use the VFF algorithm to compute the control command.
- Parameters:
nav_state – The current navigation state of the system.