Skip to content

Commit 7e1648c

Browse files
authored
Update modified DF389 field descriptions [AP-3747] (#1478)
# Description @swift-nav/algint-team Clarify the modified DF389 field descriptions. # API compatibility No risks for API compatibility, only updated and rectified field descriptions. ## API compatibility plan N/A # JIRA Reference https://swift-nav.atlassian.net/browse/AP-3747
1 parent dd36749 commit 7e1648c

File tree

517 files changed

+569
-540
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

517 files changed

+569
-540
lines changed

HOWTO.md

Lines changed: 3 additions & 3 deletions

README.md

Lines changed: 3 additions & 3 deletions

c/include/libsbp/ssr/STECResidual.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ typedef struct {
5656
s16 residual;
5757

5858
/**
59-
* Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 +
60-
* value/16) - 1) * 10
59+
* Standard deviation encoded using a similar method as RTCM DF389. The upper
60+
* 3 bit are the class, the lower 5 bits are the value. Standard deviation
61+
* [TECU] = (3^class * (1 + value/16) - 1) * 0.1 [TECU]
6162
*/
6263
u8 stddev;
6364
} sbp_stec_residual_t;

c/include/libsbp/ssr/TroposphericDelayCorrection.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ typedef struct {
5454
s8 wet;
5555

5656
/**
57-
* Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 +
58-
* value/16) - 1) [mm]
57+
* Standard deviation encoded using a similar method as RTCM DF389. The upper
58+
* 3 bit are the class, the lower 5 bits are the value. Standard deviation
59+
* [mm] = (3^class * (1 + value/16) - 1) [mm]
5960
*/
6061
u8 stddev;
6162
} sbp_tropospheric_delay_correction_t;

docs/sbp.pdf

775 Bytes
Binary file not shown.

haskell/src/SwiftNav/SBP/Ssr.hs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,9 @@ data TroposphericDelayCorrection = TroposphericDelayCorrection
256256
, _troposphericDelayCorrection_wet :: !Int8
257257
-- ^ Wet vertical delay. Add 0.252 m to get actual value.
258258
, _troposphericDelayCorrection_stddev :: !Word8
259-
-- ^ Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 +
260-
-- value/16) - 1)
259+
-- ^ Standard deviation encoded using a similar method as RTCM DF389. The
260+
-- upper 3 bit are the class, the lower 5 bits are the value. Standard
261+
-- deviation [mm] = (3^class * (1 + value/16) - 1)
261262
} deriving ( Show, Read, Eq )
262263

263264
instance Binary TroposphericDelayCorrection where
@@ -308,8 +309,9 @@ data STECResidual = STECResidual
308309
, _sTECResidual_residual :: !Int16
309310
-- ^ STEC residual
310311
, _sTECResidual_stddev :: !Word8
311-
-- ^ Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 +
312-
-- value/16) - 1) * 10
312+
-- ^ Standard deviation encoded using a similar method as RTCM DF389. The
313+
-- upper 3 bit are the class, the lower 5 bits are the value. Standard
314+
-- deviation [TECU] = (3^class * (1 + value/16) - 1) * 0.1
313315
} deriving ( Show, Read, Eq )
314316

315317
instance Binary STECResidual where

java/src/com/swiftnav/sbp/ssr/STECResidual.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ public class STECResidual extends SBPStruct {
2828
/** STEC residual */
2929
public int residual;
3030

31-
/** Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 + value/16) - 1) * 10 */
31+
/**
32+
* Standard deviation encoded using a similar method as RTCM DF389. The upper 3 bit are the
33+
* class, the lower 5 bits are the value. Standard deviation [TECU] = (3^class * (1 + value/16)
34+
* - 1) * 0.1
35+
*/
3236
public int stddev;
3337

3438
public STECResidual() {}

java/src/com/swiftnav/sbp/ssr/TroposphericDelayCorrection.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ public class TroposphericDelayCorrection extends SBPStruct {
2828
/** Wet vertical delay. Add 0.252 m to get actual value. */
2929
public int wet;
3030

31-
/** Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 + value/16) - 1) */
31+
/**
32+
* Standard deviation encoded using a similar method as RTCM DF389. The upper 3 bit are the
33+
* class, the lower 5 bits are the value. Standard deviation [mm] = (3^class * (1 + value/16) -
34+
* 1)
35+
*/
3236
public int stddev;
3337

3438
public TroposphericDelayCorrection() {}

javascript/sbp.bundle.js.LICENSE.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*!
2+
* The buffer module from node.js, for the browser.
3+
*
4+
* @author Feross Aboukhadijeh <[email protected]> <http://feross.org>
5+
* @license MIT
6+
*/

javascript/sbp/ssr.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,9 @@ TroposphericDelayCorrectionNoStd.prototype.fieldSpec.push(['wet', 'writeInt8', 1
266266
* Fields in the SBP payload (`sbp.payload`):
267267
* @field hydro number (signed 16-bit int, 2 bytes) Hydrostatic vertical delay. Add 2.3 m to get actual value.
268268
* @field wet number (signed 8-bit int, 1 byte) Wet vertical delay. Add 0.252 m to get actual value.
269-
* @field stddev number (unsigned 8-bit int, 1 byte) Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 + value/16) -
270-
* 1)
269+
* @field stddev number (unsigned 8-bit int, 1 byte) Standard deviation encoded using a similar method as RTCM DF389. The upper 3 bit
270+
* are the class, the lower 5 bits are the value. Standard deviation [mm] =
271+
* (3^class * (1 + value/16) - 1)
271272
*
272273
* @param sbp An SBP object with a payload to be decoded.
273274
*/
@@ -329,8 +330,9 @@ STECResidualNoStd.prototype.fieldSpec.push(['residual', 'writeInt16LE', 2]);
329330
* Fields in the SBP payload (`sbp.payload`):
330331
* @field sv_id SvId space vehicle identifier
331332
* @field residual number (signed 16-bit int, 2 bytes) STEC residual
332-
* @field stddev number (unsigned 8-bit int, 1 byte) Modified DF389. class 3 MSB, value 5 LSB. stddev = (3^class * (1 + value/16) -
333-
* 1) * 10
333+
* @field stddev number (unsigned 8-bit int, 1 byte) Standard deviation encoded using a similar method as RTCM DF389. The upper 3 bit
334+
* are the class, the lower 5 bits are the value. Standard deviation [TECU] =
335+
* (3^class * (1 + value/16) - 1) * 0.1
334336
*
335337
* @param sbp An SBP object with a payload to be decoded.
336338
*/

0 commit comments

Comments
 (0)