dji-log-parser 0.5.7

Library for parsing DJI txt logs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use binrw::binread;
use serde::Serialize;
#[cfg(target_arch = "wasm32")]
use tsify_next::Tsify;

#[binread]
#[derive(Serialize, Debug)]
#[serde(rename_all = "camelCase")]
#[br(little)]
#[cfg_attr(target_arch = "wasm32", derive(Tsify))]
pub struct AppGPS {
    /// degrees
    pub longitude: f64,
    /// degrees
    pub latitude: f64,
}