Maglev control module. More...
#include <maglev_control.h>
Public Member Functions | |
maglev_control (const char *mod_name) | |
void | initialize_data () |
void | initialize_data_requests () |
void | handle_event (int code) |
Protected Attributes | |
CD_DATA_REF | i_ref |
Control current; links to the sim. | |
CD_DATA_REF | position_ref |
Measured position; from the sim. | |
CD_DATA_REF | velocity_ref |
Measured velocity; from the sim. | |
CD_DATA_REF | forward_gain_ref |
Forward gain; a command. | |
CD_DATA_REF | rate_gain_ref |
Rate gain; a command. | |
CD_DATA_REF | set_point_ref |
Position set point; a command. | |
CD_DATA_REF | i_equilibrium_ref |
Equilibrium current, a command. |
Maglev control module.
This module requests an event notification for MAGLEV_CONTROL_TRIGGER which is generated by the timer module.
The module computes the value for the current to control to the set point.
Definition at line 23 of file maglev_control.h.