Package edu.wpi.first.hal
Class CANStreamMessage
java.lang.Object
edu.wpi.first.hal.CANStreamMessage
public class CANStreamMessage extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CANStreamMessage()
-
Method Summary
Modifier and Type Method Description byte[]
setStreamData(int length, int messageID, long timestamp)
API used from JNI to set the data.
-
Field Details
-
Constructor Details
-
CANStreamMessage
public CANStreamMessage()
-
-
Method Details
-
setStreamData
API used from JNI to set the data.- Parameters:
length
- Length of packet in bytes.messageID
- CAN message ID of the message.timestamp
- CAN frame timestamp in microseconds.- Returns:
- Buffer containing CAN frame.
-