Class CANData

java.lang.Object
edu.wpi.first.hal.CANData

public class CANData
extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setData

      public byte[] setData​(int length, long timestamp)
      API used from JNI to set the data.
      Parameters:
      length - Length of packet in bytes.
      timestamp - CAN frame timestamp in microseconds.
      Returns:
      Buffer containing CAN frame.