Class: MAVLink::Log::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/mavlink/log/message.rb

Instance Method Summary collapse

Constructor Details

#initialize(entry) ⇒ Message

Returns a new instance of Message.



5
6
7
# File 'lib/mavlink/log/message.rb', line 5

def initialize(entry)
  @entry = entry
end

Instance Method Details

#crcObject



13
14
15
# File 'lib/mavlink/log/message.rb', line 13

def crc
  @entry.crc
end

#idObject



9
10
11
# File 'lib/mavlink/log/message.rb', line 9

def id
  @entry.header.id
end