struct

MSP::Set::RawRC

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

Constructors

new(pull : JSON::PullParser)
new(roll : UInt16 | Nil = nil, pitch : UInt16 | Nil = nil, yaw : UInt16 | Nil = nil, throttle : UInt16 | Nil = nil, aux1 : UInt16 | Nil = nil, aux2 : UInt16 | Nil = nil, aux3 : UInt16 | Nil = nil, aux4 : UInt16 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

code
direction
from_slice(data : Bytes)
Source

Instance methods

aux1
Source
aux2
Source
aux3
Source
aux4
Source
pitch
Source
roll
Source
throttle
Source
to_slice
Source