class MAVLink::Log::Header
Attributes
component[R]
id[R]
length[R]
magic[R]
sequence[R]
system[R]
Public Class Methods
new(raw_header)
click to toggle source
# File lib/mavlink/log/header.rb, line 8 def initialize(raw_header) @magic = raw_header[0].unpack('C')[0] @length = raw_header[1].unpack('C')[0] @sequence = raw_header[2].unpack('C')[0] @system = raw_header[3].unpack('C')[0] @component = raw_header[4].unpack('C')[0] @id = raw_header[5].unpack('C')[0] end