struct

MSP::Get::Attitude

Inherits JSON::Serializable < MSP::Get::Command < MSP::Command < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
new(angx : Int16 | Nil = nil, angy : Int16 | Nil = nil, heading : Int16 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

code
direction
from_slice(data : Bytes)
Source

Instance methods

angx
Source
angy
Source
heading
Source
to_slice
Source