blob: ba60241ddd108b967a8c8c26ed88b9d5f4733087 [file] [log] [blame]
namespace frc971.can_logger;
// A message to represent a single CAN or CAN FD frame.
table CanFrame {
// CAN id + flags
can_id:uint32 (id: 0);
// The body of the CAN frame up to 64 bytes long.
data:[ubyte] (id: 1);
// The hardware timestamp of when the frame came in
monotonic_timestamp_ns:uint64 (id: 2);
// Additional flags for CAN FD
flags: ubyte (id: 3);
}
root_type CanFrame;