|
RobotCore 1.0
WPILib port to raspberry Pi
|
Classes | |
| class | Tracer |
| class | HardwareException |
| interface | RunCommand |
Public Member Functions | |
| void | addRunCommand (RunCommand command) |
| void | sendCommand (int addr, int commandId) |
| void | sendCommandToAll (int commandId) |
| void | sendCommand (int addr, int commandId, byte byte1) |
| void | sendCommand (int addr, int commandId, byte byte1, short value) |
| void | sendCommand (int addr, int commandId, byte byte1, int value) |
| void | sendCommand (int addr, int commandId, byte[] bytes) |
| void | sendCommand (int addr, int commandId, byte byte1, byte byte2, byte byte3, byte byte4) |
| void | sendCommand (int addr, int commandId, byte byte1, float value) |
| void | sendCommand (int addr, int commandId, byte byte1, byte byte2) |
| void | sendCommand (int addr, int commandId, int yaw, int x, int y) |
| ByteBuffer | sendRequest (int addr, int commandId, int size) |
| ByteBuffer | sendRequest (int addr, int commandId, int size, byte[] args, Callback callback) |
| ByteBuffer | sendRequest (int addr, int commandId, int size, byte byte1) |
| void | sendRequest (int addr, int commandId, int size, byte byte1, Callback callback, Object object) |
| int | sendRequestByte (int addr, int commandId) |
| int | sendRequestByte (int addr, int commandId, byte byte1) |
| int | sendRequestInt (int addr, int commandId) |
| void | sendRequestBytes (int addr, int commandId, byte[] args, int responseSize, Callback callback) |
| long | sendRequestLong (int addr, int commandId) |
| int | sendRequestInt (int addr, int commandId, byte byte1) |
| void | sendRequestInt (int addr, int commandId, byte byte1, Callback callback, Object object) |
| int | sendRequestShort (int addr, int commandId, byte byte1) |
| boolean | checkUsedPin (int addr, int pin) |
| void | setUsedPin (int addr, int pin) |
| boolean | isPinValid (int addr, int pin, robotCore.Device.PinType type) |
| int | getEncoderRange (int addr) |
Static Public Member Functions | |
| static long | getKeepAliveTime () |
Static Public Attributes | |
| static final int | k_maxCommandLength = 44 |
| static final int | k_cmdKeepAlive = 1 |
| static final int | k_configureMotor = 2 |
| static final int | k_setMotor = 3 |
| static final int | k_configureEncoder = 4 |
| static final int | k_setMotorMode = 5 |
| static final int | k_setFeedbackDevice = 6 |
| static final int | k_setPIDFTerm = 7 |
| static final int | k_setPIDPTerm = 8 |
| static final int | k_setPIDITerm = 9 |
| static final int | k_setPIDDTerm = 10 |
| static final int | k_setPIDIZone = 11 |
| static final int | k_enable = 12 |
| static final int | k_disable = 13 |
| static final int | k_setMotorInverted = 14 |
| static final int | k_setEncoderInverted = 15 |
| static final int | k_initGyro = 16 |
| static final int | k_resetNavigator = 17 |
| static final int | k_invertNavigator = 18 |
| static final int | k_digitalWrite = 19 |
| static final int | k_createCounter = 20 |
| static final int | k_setZeroMotorPower = 21 |
| static final int | k_setPIDMinPower = 22 |
| static final int | k_setPIDWrap = 23 |
| static final int | k_setPIDDeadZone = 24 |
| static final int | k_multipleCommands = 25 |
| static final int | k_setMultipleMotors = 26 |
| static final int | k_setMotor32 = 27 |
| static final int | k_getBoardVersion = 129 |
| static final int | k_getValidOutputPins = 130 |
| static final int | k_getValidPWMPins = 131 |
| static final int | k_getMaxMotors = 132 |
| static final int | k_getValidAnalogPins = 133 |
| static final int | k_getEncoderPos = 134 |
| static final int | k_getEncoderSpeed = 135 |
| static final int | k_digitalRead = 136 |
| static final int | k_getEncoderRange = 137 |
| static final int | k_getGyroState = 138 |
| static final int | k_getGyroYaw = 139 |
| static final int | k_getDigitalCount = 140 |
| static final int | k_getMultipleEncoderPos = 141 |
| static final int | k_getValidInterruptPins = 142 |
| static final int | k_getValidInputPins = 143 |
Definition at line 25 of file TwoWire.java.
| robotCore.TwoWire.TwoWire | ( | ) |
Definition at line 731 of file TwoWire.java.
| void robotCore.TwoWire.addRunCommand | ( | RunCommand | command | ) |
Definition at line 621 of file TwoWire.java.
| boolean robotCore.TwoWire.checkUsedPin | ( | int | addr, |
| int | pin ) |
Definition at line 1062 of file TwoWire.java.
| int robotCore.TwoWire.getEncoderRange | ( | int | addr | ) |
Definition at line 1082 of file TwoWire.java.
|
static |
Definition at line 725 of file TwoWire.java.
| boolean robotCore.TwoWire.isPinValid | ( | int | addr, |
| int | pin, | ||
| robotCore.Device.PinType | type ) |
Definition at line 1076 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId ) |
Definition at line 874 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte | byte1 ) |
Definition at line 892 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte | byte1, | ||
| byte | byte2 ) |
Definition at line 946 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte | byte1, | ||
| byte | byte2, | ||
| byte | byte3, | ||
| byte | byte4 ) |
Definition at line 928 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte | byte1, | ||
| float | value ) |
Definition at line 937 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte | byte1, | ||
| int | value ) |
Definition at line 910 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte | byte1, | ||
| short | value ) |
Definition at line 901 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| byte[] | bytes ) |
Definition at line 919 of file TwoWire.java.
| void robotCore.TwoWire.sendCommand | ( | int | addr, |
| int | commandId, | ||
| int | yaw, | ||
| int | x, | ||
| int | y ) |
Definition at line 952 of file TwoWire.java.
| void robotCore.TwoWire.sendCommandToAll | ( | int | commandId | ) |
Definition at line 880 of file TwoWire.java.
| ByteBuffer robotCore.TwoWire.sendRequest | ( | int | addr, |
| int | commandId, | ||
| int | size ) |
Definition at line 963 of file TwoWire.java.
| ByteBuffer robotCore.TwoWire.sendRequest | ( | int | addr, |
| int | commandId, | ||
| int | size, | ||
| byte | byte1 ) |
Definition at line 977 of file TwoWire.java.
| void robotCore.TwoWire.sendRequest | ( | int | addr, |
| int | commandId, | ||
| int | size, | ||
| byte | byte1, | ||
| Callback | callback, | ||
| Object | object ) |
Definition at line 981 of file TwoWire.java.
| ByteBuffer robotCore.TwoWire.sendRequest | ( | int | addr, |
| int | commandId, | ||
| int | size, | ||
| byte[] | args, | ||
| Callback | callback ) |
Definition at line 970 of file TwoWire.java.
| int robotCore.TwoWire.sendRequestByte | ( | int | addr, |
| int | commandId ) |
Definition at line 988 of file TwoWire.java.
| int robotCore.TwoWire.sendRequestByte | ( | int | addr, |
| int | commandId, | ||
| byte | byte1 ) |
Definition at line 997 of file TwoWire.java.
| void robotCore.TwoWire.sendRequestBytes | ( | int | addr, |
| int | commandId, | ||
| byte[] | args, | ||
| int | responseSize, | ||
| Callback | callback ) |
Definition at line 1017 of file TwoWire.java.
| int robotCore.TwoWire.sendRequestInt | ( | int | addr, |
| int | commandId ) |
Definition at line 1006 of file TwoWire.java.
| int robotCore.TwoWire.sendRequestInt | ( | int | addr, |
| int | commandId, | ||
| byte | byte1 ) |
Definition at line 1043 of file TwoWire.java.
| void robotCore.TwoWire.sendRequestInt | ( | int | addr, |
| int | commandId, | ||
| byte | byte1, | ||
| Callback | callback, | ||
| Object | object ) |
Definition at line 1049 of file TwoWire.java.
| long robotCore.TwoWire.sendRequestLong | ( | int | addr, |
| int | commandId ) |
Definition at line 1034 of file TwoWire.java.
| int robotCore.TwoWire.sendRequestShort | ( | int | addr, |
| int | commandId, | ||
| byte | byte1 ) |
Definition at line 1056 of file TwoWire.java.
| void robotCore.TwoWire.setUsedPin | ( | int | addr, |
| int | pin ) |
Definition at line 1070 of file TwoWire.java.
|
static |
Definition at line 30 of file TwoWire.java.
|
static |
Definition at line 33 of file TwoWire.java.
|
static |
Definition at line 31 of file TwoWire.java.
|
static |
Definition at line 50 of file TwoWire.java.
|
static |
Definition at line 69 of file TwoWire.java.
|
static |
Definition at line 49 of file TwoWire.java.
|
static |
Definition at line 42 of file TwoWire.java.
|
static |
Definition at line 41 of file TwoWire.java.
|
static |
Definition at line 62 of file TwoWire.java.
|
static |
Definition at line 75 of file TwoWire.java.
|
static |
Definition at line 67 of file TwoWire.java.
|
static |
Definition at line 70 of file TwoWire.java.
|
static |
Definition at line 68 of file TwoWire.java.
|
static |
Definition at line 72 of file TwoWire.java.
|
static |
Definition at line 74 of file TwoWire.java.
|
static |
Definition at line 65 of file TwoWire.java.
|
static |
Definition at line 76 of file TwoWire.java.
|
static |
Definition at line 66 of file TwoWire.java.
|
static |
Definition at line 78 of file TwoWire.java.
|
static |
Definition at line 77 of file TwoWire.java.
|
static |
Definition at line 63 of file TwoWire.java.
|
static |
Definition at line 64 of file TwoWire.java.
|
static |
Definition at line 46 of file TwoWire.java.
|
static |
Definition at line 48 of file TwoWire.java.
|
static |
Definition at line 26 of file TwoWire.java.
|
static |
Definition at line 55 of file TwoWire.java.
|
static |
Definition at line 47 of file TwoWire.java.
|
static |
Definition at line 44 of file TwoWire.java.
|
static |
Definition at line 35 of file TwoWire.java.
|
static |
Definition at line 32 of file TwoWire.java.
|
static |
Definition at line 57 of file TwoWire.java.
|
static |
Definition at line 43 of file TwoWire.java.
|
static |
Definition at line 34 of file TwoWire.java.
|
static |
Definition at line 56 of file TwoWire.java.
|
static |
Definition at line 54 of file TwoWire.java.
|
static |
Definition at line 39 of file TwoWire.java.
|
static |
Definition at line 36 of file TwoWire.java.
|
static |
Definition at line 38 of file TwoWire.java.
|
static |
Definition at line 40 of file TwoWire.java.
|
static |
Definition at line 52 of file TwoWire.java.
|
static |
Definition at line 37 of file TwoWire.java.
|
static |
Definition at line 53 of file TwoWire.java.
|
static |
Definition at line 51 of file TwoWire.java.