BipedalLocomotion::ML::MANNAutoregressiveInputBuilder class

MANNAutoregressiveInputBuilder generates a MANNAutoregressiveInput from a pair of directional inputs.

Base classes

template<class _Input, class _Output>
class BipedalLocomotion::System::Advanceable<MANNDirectionalInput, MANNAutoregressiveInput>
Basic class that represents a discrete system.

Constructors, destructors, conversion operators

MANNAutoregressiveInputBuilder()
Constructor.
~MANNAutoregressiveInputBuilder()
Destructor.

Public functions

auto initialize(std::weak_ptr<const ParametersHandler::IParametersHandler> paramHandler) -> bool override
Initialize the trajectory builder.
auto setInput(const Input& input) -> bool override
Set the input to the planner model.
auto advance() -> bool override
Generate the trajectory.
auto isOutputValid() const -> bool override
Check if the output is valid.
auto getOutput() const -> const Output& override
Get the output from trajectory.

Function documentation

bool BipedalLocomotion::ML::MANNAutoregressiveInputBuilder::initialize(std::weak_ptr<const ParametersHandler::IParametersHandler> paramHandler) override

Initialize the trajectory builder.

Parameters
paramHandler pointer to the parameters handler.
Returns True in case of success, false otherwise.

bool BipedalLocomotion::ML::MANNAutoregressiveInputBuilder::setInput(const Input& input) override

Set the input to the planner model.

Parameters
input input to the model
Returns true in case of success, false otherwise.

bool BipedalLocomotion::ML::MANNAutoregressiveInputBuilder::advance() override

Generate the trajectory.

Returns true in case of success, false otherwise.

bool BipedalLocomotion::ML::MANNAutoregressiveInputBuilder::isOutputValid() const override

Check if the output is valid.

Returns true if the output is valid, false otherwise.

const Output& BipedalLocomotion::ML::MANNAutoregressiveInputBuilder::getOutput() const override

Get the output from trajectory.

Returns the output of the system.