blob: c7a82f20b27a0423e443c035ce7530441fa1c7d7 [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
realtime_timestamp_ns:uint64 (id: 2);
// Additional flags for CAN FD
flags: ubyte (id: 3);
}
root_type CanFrame;