Class SubhingeSpringDamperParams#

Inheritance Relationships#

Base Type#

Class Documentation#

class SubhingeSpringDamperParams : public Karana::Models::KModelParams#

Parameters for the SubhingeSpringDamper model.

Public Functions

SubhingeSpringDamperParams(std::string_view name)#

Constructor.

Parameters:

name – - Name of the params.

virtual bool isReady() const final#

Used to ensure the params are ready.

Returns:

true if the params are ready, `false otherwise.

Public Members

km::Vec setpoint#

Setpoint for the subhinge.

double k#

Spring constant.

double d#

Damper constant.