Skip to content

Commit a66abf6

Browse files
ismolyakovIvan Smolyakov
andauthored
Add support for 99.73 confidence interval [AP-3002] (#1449)
# Description Extend `MSG_POS_LLH_ACC` message so `confidence_and_geoid` flags support 99.73 confidence interval # API compatibility no API compatibility risk: the added support for confidence interval 99.73 fits within existing bits allocated for confidence flags ## API compatibility plan n/a # JIRA Reference https://swift-nav.atlassian.net/browse/AP-3002 --------- Co-authored-by: Ivan Smolyakov <[email protected]>
1 parent 70710e8 commit a66abf6

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

c/include/libsbp/navigation_macros.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@
434434
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_3935 (1)
435435
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_6827 (2)
436436
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_9545 (3)
437+
#define SBP_POS_LLH_ACC_CONFIDENCE_LEVEL_9973 (4)
437438
#define SBP_POS_LLH_ACC_TYPE_OF_REPORTED_TOW_MASK (0x1u)
438439
#define SBP_POS_LLH_ACC_TYPE_OF_REPORTED_TOW_SHIFT (5u)
439440
#define SBP_POS_LLH_ACC_TYPE_OF_REPORTED_TOW_GET(flags) \

docs/sbp.pdf

21 Bytes
Binary file not shown.

rust/sbp/src/messages/navigation.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4724,6 +4724,9 @@ pub mod msg_pos_llh_acc {
47244724

47254725
/// 95.45%
47264726
_9545 = 3,
4727+
4728+
/// 99.73%
4729+
_9973 = 4,
47274730
}
47284731

47294732
impl std::fmt::Display for ConfidenceLevel {
@@ -4732,6 +4735,7 @@ pub mod msg_pos_llh_acc {
47324735
ConfidenceLevel::_3935 => f.write_str("39.35%"),
47334736
ConfidenceLevel::_6827 => f.write_str("68.27%"),
47344737
ConfidenceLevel::_9545 => f.write_str("95.45%"),
4738+
ConfidenceLevel::_9973 => f.write_str("99.73%"),
47354739
}
47364740
}
47374741
}
@@ -4743,6 +4747,7 @@ pub mod msg_pos_llh_acc {
47434747
1 => Ok(ConfidenceLevel::_3935),
47444748
2 => Ok(ConfidenceLevel::_6827),
47454749
3 => Ok(ConfidenceLevel::_9545),
4750+
4 => Ok(ConfidenceLevel::_9973),
47464751
i => Err(i),
47474752
}
47484753
}

spec/yaml/swiftnav/sbp/navigation.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ definitions:
743743
- 1: 39.35%
744744
- 2: 68.27%
745745
- 3: 95.45%
746+
- 4: 99.73%
746747
- n_sats:
747748
type: u8
748749
desc: Number of satellites used in solution.

0 commit comments

Comments
 (0)