class Spektrum::Log::GForceRecord
Public Class Methods
new(timestamp, raw_data)
click to toggle source
Calls superclass method
Spektrum::Log::Record::new
# File lib/spektrum/log/records.rb, line 160 def initialize(timestamp, raw_data) super timestamp, raw_data end
Public Instance Methods
x()
click to toggle source
# File lib/spektrum/log/records.rb, line 164 def x @x ||= two_byte_field(2..3) end
x_max()
click to toggle source
# File lib/spektrum/log/records.rb, line 176 def x_max @x_max ||= two_byte_field(8..9) end
y()
click to toggle source
# File lib/spektrum/log/records.rb, line 168 def y @y ||= two_byte_field(4..5) end
y_max()
click to toggle source
# File lib/spektrum/log/records.rb, line 180 def y_max @y_max ||= two_byte_field(10..11) end
z()
click to toggle source
# File lib/spektrum/log/records.rb, line 172 def z @z ||= two_byte_field(6..7) end
z_max()
click to toggle source
# File lib/spektrum/log/records.rb, line 184 def z_max @z_max ||= two_byte_field(12..13) end