RcsPySim
A robot control and simulation library
Rcs::DSMassSpringDamper::Spring Struct Reference

#include <DynamicalSystem.h>

Public Member Functions

 Spring (Eigen::VectorXd equilibriumPoint, double stiffness)
 

Public Attributes

Eigen::VectorXd equilibriumPoint
 
double stiffness
 

Detailed Description

Properties for one spring component.

Definition at line 184 of file DynamicalSystem.h.

Constructor & Destructor Documentation

◆ Spring()

Rcs::DSMassSpringDamper::Spring::Spring ( Eigen::VectorXd  equilibriumPoint,
double  stiffness 
)
inline

Definition at line 191 of file DynamicalSystem.h.

Member Data Documentation

◆ equilibriumPoint

Eigen::VectorXd Rcs::DSMassSpringDamper::Spring::equilibriumPoint

Zero position of the spring, force is applied to reach this state.

Definition at line 187 of file DynamicalSystem.h.

◆ stiffness

double Rcs::DSMassSpringDamper::Spring::stiffness

Stiffness of the spring.

Definition at line 189 of file DynamicalSystem.h.


The documentation for this struct was generated from the following file: