PDController
Loading...
Searching...
No Matches
PDController.InputParameters Class Reference

Static Public Member Functions

static Object[] get_input (String filename) throws FileNotFoundException
 Reads input from a file with the given file name.
static void input_constraints (double r_t, double K_d, double K_p, double t_step, double t_sim) throws Exception
 Verifies that input values satisfy the physical constraints.

Member Function Documentation

◆ get_input()

Object[] PDController.InputParameters.get_input ( String filename) throws FileNotFoundException
static

Reads input from a file with the given file name.

Parameters
filenamename of the input file
Returns
array containing the following values:
Set-Point
Derivative Gain
Proportional Gain
Step Time (s)
Simulation Time (s)

◆ input_constraints()

void PDController.InputParameters.input_constraints ( double r_t,
double K_d,
double K_p,
double t_step,
double t_sim ) throws Exception
static

Verifies that input values satisfy the physical constraints.

Parameters
r_tSet-Point
K_dDerivative Gain
K_pProportional Gain
t_stepStep Time (s)
t_simSimulation Time (s)

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