|
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...
|
|
◆ 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
-
filename | name of the input file |
r_t | Set-Point: The desired value that the control system must reach. This also knows as the reference variable |
K_d | Derivative Gain: Gain constant of the derivative controller |
K_p | Proportional Gain: Gain constant of the proportional controller |
t_step | Step Time: Simulation step time (s) |
t_sim | Simulation 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_t | Set-Point: The desired value that the control system must reach. This also knows as the reference variable |
K_d | Derivative Gain: Gain constant of the derivative controller |
K_p | Proportional Gain: Gain constant of the proportional controller |
t_step | Step Time: Simulation step time (s) |
t_sim | Simulation Time: Total execution time of the PD simulation (s) |
The documentation for this class was generated from the following file: