Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 99.73 confidence interval [AP-3002] #1449

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions c/include/libsbp/navigation_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_3935 (1)
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_6827 (2)
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_9545 (3)
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_9973 (4)
#define SBP_POS_LLH_ACC_TYPE_OF_REPORTED_TOW_MASK (0x1u)
#define SBP_POS_LLH_ACC_TYPE_OF_REPORTED_TOW_SHIFT (5u)
#define SBP_POS_LLH_ACC_TYPE_OF_REPORTED_TOW_GET(flags) \
Expand Down
Binary file modified docs/sbp.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions rust/sbp/src/messages/navigation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4724,6 +4724,9 @@ pub mod msg_pos_llh_acc {

/// 95.45%
_9545 = 3,

/// 99.73%
_9973 = 4,
}

impl std::fmt::Display for ConfidenceLevel {
Expand All @@ -4732,6 +4735,7 @@ pub mod msg_pos_llh_acc {
ConfidenceLevel::_3935 => f.write_str("39.35%"),
ConfidenceLevel::_6827 => f.write_str("68.27%"),
ConfidenceLevel::_9545 => f.write_str("95.45%"),
ConfidenceLevel::_9973 => f.write_str("99.73%"),
}
}
}
Expand All @@ -4743,6 +4747,7 @@ pub mod msg_pos_llh_acc {
1 => Ok(ConfidenceLevel::_3935),
2 => Ok(ConfidenceLevel::_6827),
3 => Ok(ConfidenceLevel::_9545),
4 => Ok(ConfidenceLevel::_9973),
i => Err(i),
}
}
Expand Down
1 change: 1 addition & 0 deletions spec/yaml/swiftnav/sbp/navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ definitions:
- 1: 39.35%
- 2: 68.27%
- 3: 95.45%
- 4: 99.73%
- n_sats:
type: u8
desc: Number of satellites used in solution.
Expand Down
Loading