|
PDController
|
Provides the function for reading inputs and the function for checking the physical constraints on the input. More...
#include <string>Go to the source code of this file.
Functions | |
| void | get_input (string filename, double &r_t, double &K_d, double &K_p, double &t_step, double &t_sim) |
| Reads input from a file with the given file name. | |
| 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. | |
Provides the function for reading inputs and the function for checking the physical constraints on the input.
| void get_input | ( | string | filename, |
| double & | r_t, | ||
| double & | K_d, | ||
| double & | K_p, | ||
| double & | t_step, | ||
| double & | t_sim ) |
Reads input from a file with the given file name.
| filename | name of the input file |
| r_t | Set-Point |
| K_d | Derivative Gain |
| K_p | Proportional Gain |
| t_step | Step Time (s) |
| t_sim | Simulation Time (s) |
| 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.
| r_t | Set-Point |
| K_d | Derivative Gain |
| K_p | Proportional Gain |
| t_step | Step Time (s) |
| t_sim | Simulation Time (s) |