raw_gnss
d3xvn/raw_gnss open-source repository details.
- Stars
- 13
- Forks
- 15
- Last push (UTC)
- Apr 23, 2023
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
raw_gnss 📡
raw_gnss 📡 makes it easy to fetch raw GNSS data including GNSS Measurement Events, GNSS Navigation Messages, and GNSS Status Events.
Get Raw GNSS Data On Android
Since Android 7.0, Android exposed the GNSS APIs required to get raw data points opening up the location black box earlier.
raw_gnss allows you to easily fetch the GNSSMeasurementEvents, GNSSNavigationMessages and GNSSStatus via inbuilt streams.
Usage
GNSS Measurements
RawGnss().gnssMeasurementEvents.listen((e) {});
GNSS Navigation Messages
RawGnss().gnssNavigationMessageEvents.listen((e) {});
GNSS Status
RawGnss().gnssStatusEvents.listen((e) {});
Example: Fetch GNSSMeasurementModels
StreamBuilder<GnssMeasurementModel>(
builder: (context, snapshot) {
if (snapshot.data == null) {
return CircularProgressIndicator();
}
return ListView.builder(
itemBuilder: (context, position) {
return ListTile(
title: Text(
"Satellite: ${snapshot.data!.measurements![position].svid}"),
);
},
itemCount: snapshot.data!.measurements?.length ?? 0,
);
},
stream: RawGnss().gnssMeasurementEvents,
),
iOS does not yet expose raw location data, hence this plugin does not support iOS as of yet.
Dependencies used
Dependency list 2 items
- flutter
{"sdk":"flutter"} - flutter_testDevelopment
{"sdk":"flutter"}
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- d3xvn/raw_gnss · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Directory maintained by Ducafecat ↗