Skip to content

Commit 50a129d

Browse files
author
Chris Costes
committed
Add stateful RealtimeDecoder for realtime processing of ADS-B messages.
- Add RealtimeDecoder struct for stateful real-time message processing - Add Python bindings with full type hints and PyO3 integration - Refactor CPR decoding code to eliminate duplication between batch and real-time processing - Update version to 0.4.14 - Maintain backward compatibility with existing APIs
1 parent 9113825 commit 50a129d

File tree

16 files changed

+1507
-476
lines changed

16 files changed

+1507
-476
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resolver = "2"
66
license = "MIT"
77
edition = "2021"
88
readme = "readme.md"
9-
version = "0.4.13"
9+
version = "0.4.14"
1010
authors = ["Xavier Olive <[email protected]>"]
1111
homepage = "https://github.com/xoolive/rs1090"
1212
documentation = "https://crates.io/crates/rs1090"

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.4.14
4+
5+
- Add RealtimeDecoder class for incremental real-time ADS-B position processing
6+
37
## 0.4.9
48

59
- Add ssh tunnelling for Websocket and SeRo sources (#199 #200)

crates/decode1090/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
102102
let update_reference = Some(Box::new(|pos: &AirbornePosition| {
103103
pos.alt.is_some_and(|alt| alt < 1000)
104104
})
105-
as Box<dyn Fn(&AirbornePosition) -> bool>);
105+
as Box<dyn Fn(&AirbornePosition) -> bool + Send + Sync>);
106106

107107
// Print the JSON objects
108108
for mut json in json_objects.into_iter().flatten() {

0 commit comments

Comments
 (0)