Class GoalCritic

Inheritance Relationships

Base Type

Class Documentation

class GoalCritic : public mppi::critics::CriticFunction

Public Functions

virtual void initialize() override

Initialize critic.

virtual void score(CriticData &data) override

Evaluate cost related to goal following.

Parameters:

costs – [out] add reference cost values to this tensor

Protected Attributes

unsigned int power_ = {0}
float weight_ = {0}
float threshold_to_consider_ = {0}