Class: MAVLink::Log::Messages::Attitude
- Inherits:
-
TimedMessageMilli
- Object
- MAVLink::Log::Message
- TimedMessageMilli
- MAVLink::Log::Messages::Attitude
- Defined in:
- lib/mavlink/log/messages/attitude.rb
Instance Method Summary collapse
-
#pitch ⇒ Object
radians (-pi..pi).
-
#pitchspeed ⇒ Object
rad/s.
-
#roll ⇒ Object
radians (-pi..pi).
-
#rollspeed ⇒ Object
rad/s.
-
#yaw ⇒ Object
radians (-pi..pi).
-
#yawspeed ⇒ Object
rad/s.
Methods inherited from TimedMessageMilli
Methods inherited from MAVLink::Log::Message
Constructor Details
This class inherits a constructor from MAVLink::Log::Message
Instance Method Details
#pitch ⇒ Object
radians (-pi..pi)
11 12 13 |
# File 'lib/mavlink/log/messages/attitude.rb', line 11 def pitch @pitch ||= float(4..7) end |
#pitchspeed ⇒ Object
rad/s
26 27 28 |
# File 'lib/mavlink/log/messages/attitude.rb', line 26 def pitchspeed @pitchspeed ||= float(16..19) end |
#roll ⇒ Object
radians (-pi..pi)
6 7 8 |
# File 'lib/mavlink/log/messages/attitude.rb', line 6 def roll @roll ||= float(0..3) end |
#rollspeed ⇒ Object
rad/s
21 22 23 |
# File 'lib/mavlink/log/messages/attitude.rb', line 21 def rollspeed @rollspeed ||= float(12..15) end |
#yaw ⇒ Object
radians (-pi..pi)
16 17 18 |
# File 'lib/mavlink/log/messages/attitude.rb', line 16 def yaw @yaw ||= float(8..11) end |
#yawspeed ⇒ Object
rad/s
31 32 33 |
# File 'lib/mavlink/log/messages/attitude.rb', line 31 def yawspeed @yawspeed ||= float(20..23) end |