[][src]Function f1_api::nineteen::motion::decode_motion

pub fn decode_motion(
    cursor: &mut Cursor<&mut BytesMut>
) -> Result<MotionPacket, Error>

Decode a motion packet sent by F1 2019

F1 2018 and F1 2019 publish the same data in their motion packets, but with different packet headers.