bluerobotics / navigator-rs

Navigator library for the Rust language
https://docs.bluerobotics.com/navigator-rs/doc/navigator_rs/
MIT License
2 stars 6 forks source link

Add: Add default for SensorData and inner structures. #45

Closed RaulTrombin closed 1 year ago

RaulTrombin commented 1 year ago

Allows user to:

    println!("Creating your SensorData cache!");
    let sensor_data_lock = Arc::new(RwLock::new(navigator_rs::SensorData::default()));