asterix_parser 0.1.1

Playground do Protocolo ASTERIX
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
macro_rules! get_attributes {
    () => {
        {
            use crate::asterix::uap::common::datatypes::{AsterixAttribute, AttributeType}; 
            vec![
                AsterixAttribute::new(1, 1, 8, 1, "Sigma (X) Standard Deviation on the horizontal axis of the local grid system".to_string(), "sigma_x".to_string(), AttributeType::UInt8),
                AsterixAttribute::new(1, 2, 8, 1, "Sigma (Y) Standard Deviation on the vertical axis of the local grid system".to_string(), "sigma_y".to_string(), AttributeType::UInt8),
                AsterixAttribute::new(1, 3, 8, 1, "Sigma (V) Standard Deviation on the groundspeed within the local grid system".to_string(), "sigma_v".to_string(), AttributeType::UInt8),
                AsterixAttribute::new(1, 4, 8, 1, "Sigma (H) Standard Deviation on the heading within the local grid system".to_string(), "sigma_h".to_string(), AttributeType::UInt8),
            ]
        }
    };
}

pub(crate) use get_attributes;