PDController
All Classes Files Functions
Static Public Member Functions | List of all members
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. More...
 
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. More...
 

Member Function Documentation

◆ get_input()

static 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: The desired value that the control system must reach. This also knows as the reference variable
Derivative Gain: Gain constant of the derivative controller
Proportional Gain: Gain constant of the proportional controller
Step Time: Simulation step time (s)
Simulation Time: Total execution time of the PD simulation (s)

◆ input_constraints()

static 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: 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: