Package edu.wpi.first.hal.can
Class CANStatus
java.lang.Object
edu.wpi.first.hal.can.CANStatus
public class CANStatus extends Object
Structure for holding the result of a CAN Status request.
-
Field Summary
Fields Modifier and Type Field Description int
busOffCount
The CAN Bus off count.double
percentBusUtilization
The utilization of the CAN Bus.int
receiveErrorCount
The CAN Bus receive error count.int
transmitErrorCount
The CAN Bus transmit error count.int
txFullCount
The CAN Bus TX full count. -
Constructor Summary
Constructors Constructor Description CANStatus()
-
Method Summary
Modifier and Type Method Description void
setStatus(double percentBusUtilization, int busOffCount, int txFullCount, int receiveErrorCount, int transmitErrorCount)
-
Field Details
-
percentBusUtilization
The utilization of the CAN Bus. -
busOffCount
The CAN Bus off count. -
txFullCount
The CAN Bus TX full count. -
receiveErrorCount
The CAN Bus receive error count. -
transmitErrorCount
The CAN Bus transmit error count.
-
-
Constructor Details
-
Method Details