
Public Member Functions | |
| int | command () throws Exception |
| Gets command received from host computer. | |
| abstract int | command (byte[] args, int size) throws Exception |
| Gets command received from host computer and its arguments array. | |
| abstract void | sendStatus (double disp, int index) throws Exception |
| Sends encoder displacement and sync-switch status to host. | |
| abstract void | sendStatus (int disp, int index) throws Exception |
| Sends encoder displacement and sync-switch status to host. | |
| double | voltage () |
| Gets motor voltage. | |
| double | reference () |
| Gets controller reference. | |
Static Public Attributes | |
| final int | INVALID = 0x00 |
| Invalid command. | |
| final int | RESET = 0x01 |
| AIC reset command. | |
| final int | MOTOR_OFF = 0x02 |
| Motor off command. | |
| final int | BRAKE_APPLY = 0x03 |
| Brake apply command. | |
| final int | MOTOR_ACT = 0x10 |
| Motor actuate command. | |
| final int | MOTOR_REF = 0x15 |
| Motor controller reference command. | |
| final int | STATUS = 0x20 |
| Status message identifier. | |
| final int | BRAKE_RELEASE = 0x30 |
| Brake release command. | |
| final int | MOTOR_ON = 0x31 |
| Motor on command. | |
| final int | USER0 = 0x3b |
| User defined command 0. | |
| final int | USER1 = 0x3c |
| User defined command 1. | |
| final int | USER2 = 0x3d |
| User defined command 2. | |
| final int | USER3 = 0x3e |
| User defined command 3. | |
| final int | NOP = 0x3f |
| No operation command. | |
| final int | INDEX_ON = 0x01 |
| Index on status. | |
| final int | BUSY = 0x02 |
| Busy status. | |
Protected Attributes | |
| double | u = 0 |
| Voltage aplied to motors. | |
| double | ref = 0 |
| Reference for controller associated to motors. | |
|
||||||||||||
|
Gets command received from host computer and its arguments array.
Implemented in br::ufrgs::ece::AIC::HostCAN, and br::ufrgs::ece::AIC::HostUDP. |
|
|
Gets command received from host computer.
|
|
|
Gets controller reference.
|
|
||||||||||||
|
Sends encoder displacement and sync-switch status to host.
Implemented in br::ufrgs::ece::AIC::HostCAN, and br::ufrgs::ece::AIC::HostUDP. |
|
||||||||||||
|
Sends encoder displacement and sync-switch status to host.
Implemented in br::ufrgs::ece::AIC::HostCAN, and br::ufrgs::ece::AIC::HostUDP. |
|
|
Gets motor voltage.
|
1.3.6