PDController
All Classes Files Functions
Static Public Member Functions | List of all members
InputParameters Class Reference

Static Public Member Functions

static void get_input (string filename, out double r_t, out double K_d, out double K_p, out double t_step, out double t_sim)
 Reads input from a file with the given file name. More...
 
static void input_constraints (double r_t, double K_d, double K_p, double t_step, double t_sim)
 Verifies that input values satisfy the physical constraints. More...
 

Member Function Documentation

◆ get_input()

static void InputParameters.get_input ( string  filename,
out double  r_t,
out double  K_d,
out double  K_p,
out double  t_step,
out double  t_sim 
)
inlinestatic

Reads input from a file with the given file name.

Parameters
filenamename of the input file
r_tSet-Point: The desired value that the control system must reach. This also knows as the reference variable
K_dDerivative Gain: Gain constant of the derivative controller
K_pProportional Gain: Gain constant of the proportional controller
t_stepStep Time: Simulation step time (s)
t_simSimulation Time: Total execution time of the PD simulation (s)

◆ input_constraints()

static void InputParameters.input_constraints ( double  r_t,
double  K_d,
double  K_p,
double  t_step,
double  t_sim 
)
inlinestatic

Verifies that input values satisfy the physical constraints.

Parameters
r_tSet-Point: The desired value that the control system must reach. This also knows as the reference variable
K_dDerivative Gain: Gain constant of the derivative controller
K_pProportional Gain: Gain constant of the proportional controller
t_stepStep Time: Simulation step time (s)
t_simSimulation Time: Total execution time of the PD simulation (s)

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