Class: MAVLink::Log::Messages::MissionItem

Inherits:
MAVLink::Log::Message show all
Defined in:
lib/mavlink/log/messages/mission_item.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

#autocontinueObject



57
58
59
# File 'lib/mavlink/log/messages/mission_item.rb', line 57

def autocontinue
  @autocontinue ||= !!uint8_t(36)
end

#commandObject



37
38
39
# File 'lib/mavlink/log/messages/mission_item.rb', line 37

def command
  @command ||= uint16_t(30..31)
end

#currentObject



53
54
55
# File 'lib/mavlink/log/messages/mission_item.rb', line 53

def current
  @current ||= !!uint8_t(35)
end

#frameObject



49
50
51
# File 'lib/mavlink/log/messages/mission_item.rb', line 49

def frame
  @frame ||= uint8_t(34)
end

#param1Object



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

def param1
  @param1 ||= float(0..3)
end

#param2Object



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

def param2
  @param2 ||= float(4..7)
end

#param3Object



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

def param3
  @param3 ||= float(8..11)
end

#param4Object



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

def param4
  @param4 ||= float(12..15)
end

#seqObject



33
34
35
# File 'lib/mavlink/log/messages/mission_item.rb', line 33

def seq
  @seq ||= uint16_t(28..29)
end

#target_componentObject



45
46
47
# File 'lib/mavlink/log/messages/mission_item.rb', line 45

def target_component
  @target_component ||= uint8_t(33)
end

#target_systemObject



41
42
43
# File 'lib/mavlink/log/messages/mission_item.rb', line 41

def target_system
  @target_system ||= uint8_t(32)
end

#xObject



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

def x
  @x ||= float(16..19)
end

#yObject



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

def y
  @y ||= float(20..23)
end

#zObject



29
30
31
# File 'lib/mavlink/log/messages/mission_item.rb', line 29

def z
  @z ||= float(24..27)
end