#include <aichost.h>
Inheritance diagram for AIC_HOST:

Public Types | |
| enum | STATUS { MOTOR_ON = 1, BRAKE_APPLIED = 2 } |
| AIC simulator status. More... | |
Public Member Functions | |
| AIC_HOST (void) | |
| Initializes AIC simulator communication. | |
| virtual | ~AIC_HOST (void) |
| Closes AIC simulator communication. | |
| virtual int | command (void)=0 |
| Gets the command code received from host. | |
| int | getstatus (void) const |
| Gets the status from AIC simulator. | |
| virtual void | send_status (double disp, int index)=0 |
| Send AIC simulator motor displacement and sync-switch status to host. | |
| double | voltage (void) const |
| Gets the voltage to be applied to motor received with the last command. | |
| double | reference (void) const |
| Gets the reference for Controller associtated to motor received with the last command. | |
Protected Attributes | |
| double | u |
| Motor voltage. | |
| double | ref |
| Controller reference. | |
| int | status |
| Current Status. | |
|
|
AIC simulator status.
|
|
|
Gets the command code received from host.
Implemented in AIC_HOST_CAN, and AIC_HOST_UDP. |
|
|
Gets the status from AIC simulator.
|
|
|
Gets the reference for Controller associtated to motor received with the last command.
|
|
||||||||||||
|
Send AIC simulator motor displacement and sync-switch status to host.
Implemented in AIC_HOST_CAN, and AIC_HOST_UDP. |
|
|
Gets the voltage to be applied to motor received with the last command.
|
1.3.6