Class: MAVLink::Log::Messages::HeartBeat

Inherits:
MAVLink::Log::Message show all
Defined in:
lib/mavlink/log/messages/heart_beat.rb

Instance Method Summary collapse

Methods inherited from MAVLink::Log::Message

#crc, #id, #initialize

Constructor Details

This class inherits a constructor from MAVLink::Log::Message

Instance Method Details

#autopilotObject



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

def autopilot
  @autopilot ||= uint8_t(1)
end

#base_modeObject



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

def base_mode
  @base_mode ||= uint8_t(2)
end

#custom_modeObject



17
18
19
# File 'lib/mavlink/log/messages/heart_beat.rb', line 17

def custom_mode
  @custom_mode ||= uint32_t(3..6)
end


25
26
27
# File 'lib/mavlink/log/messages/heart_beat.rb', line 25

def mavlink_version
  @mavlink_version ||= uint8_t(8)
end

#system_statusObject



21
22
23
# File 'lib/mavlink/log/messages/heart_beat.rb', line 21

def system_status
  @system_status ||= uint8_t(7)
end

#typeObject



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

def type
  @type ||= uint8_t(0)
end