GNSS Multi-System NMEA Parser
This crate provides fast and efficient parsing of NMEA sentences from multiple GNSS systems (GPS, GLONASS, GALILEO, BEIDOU). It extracts satellite information, position, DOP values, and can fuse positions from different systems for improved accuracy.
Features
- Fast and efficient NMEA sentence parsing
- Easy integration with Rust projects
- Extensible for custom sentence types
- Supports common NMEA sentence types (e.g., GGA, RMC, GSA)
- Error handling for invalid or malformed sentences
- Lightweight and dependency-free
Supported Sentence Types
- GGA: Global Positioning System Fix Data
- RMC: Recommended Minimum Specific GNSS Data
- GSA: GNSS DOP and Active Satellites
- Additional types can be added via extension
Installation
Add the following to your Cargo.toml:
[]
= "0.1"
Usage
Basic usage example:
use ;
Examples
Parsing a GGA Sentence
use ;
Handling Invalid Sentences
use parse_nmea_sentence;
Usage Notes
- The parser returns an enum for supported sentence types.
- For unsupported or malformed sentences, an error is returned.
- Extend support by implementing additional sentence parsing logic.
Building
Running Tests
Documentation
Generate and view the documentation locally:
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Roadmap
- Add support for additional NMEA sentence types
- Improve error messages for invalid sentences
- Add async support for streaming NMEA data
- Provide more detailed examples and tutorials
License
Distributed under the MIT License. See LICENSE for more information.
Acknowledgments
- Inspired by the need for efficient NMEA parsing in Rust
- Contributions from the open-source community