Open
Description
Feature request
Feature description
Currently, Optimizer optimizer_
is declared as a value-based object in the MPPIController class. This approach does not allow subclasses of MPPIController
to override or customize the behavior of Optimizer
. Declaring optimizer_
as a pointer (e.g. std::unique_ptr<Optimizer>
) would allow us to replace it.
Implementation considerations
There will be an insignificant slowdown due to added pointer lookup (probably a few nanoseconds). But added polymorphic behavior is worth it.
I can create a PR if there are no objections.
Metadata
Metadata
Assignees
Labels
No labels