Skip to content

Commit 882fae3

Browse files
jtecJan Bolting
andauthored
Allows any string identifier for target and source frame names of MSG_REFERENCE_FRAME_PARAM message [OTA-198] (#1201)
* Allows any string identifier for target and source frame names. * Adds up-to-date generated files. Co-authored-by: Jan Bolting <[email protected]>
1 parent ac7eac4 commit 882fae3

File tree

10 files changed

+18
-20
lines changed

10 files changed

+18
-20
lines changed

c/include/libsbp/legacy/navigation.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -944,10 +944,8 @@ typedef struct SBP_ATTR_PACKED {
944944

945945
typedef struct SBP_ATTR_PACKED {
946946
u8 ssr_iod; /**< SSR IOD parameter. */
947-
char sn[32]; /**< Name of source coordinate-system using the EPSG
948-
identification code. */
949-
char tn[32]; /**< Name of target coordinate-system using the EPSG
950-
identification code. */
947+
char sn[32]; /**< Name of source coordinate-system. */
948+
char tn[32]; /**< Name of target coordinate-system. */
951949
u8 sin; /**< System Identification Number. */
952950
u16 utn; /**< Utilized Transformation Message. */
953951
u16 re_t0; /**< Reference Epoch t0 for transformation parameter

c/include/libsbp/v4/navigation/MSG_REFERENCE_FRAME_PARAM.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ typedef struct {
4545
u8 ssr_iod;
4646

4747
/**
48-
* Name of source coordinate-system using the EPSG identification code.
48+
* Name of source coordinate-system.
4949
*/
5050
char sn[SBP_MSG_REFERENCE_FRAME_PARAM_SN_MAX];
5151

5252
/**
53-
* Name of target coordinate-system using the EPSG identification code.
53+
* Name of target coordinate-system.
5454
*/
5555
char tn[SBP_MSG_REFERENCE_FRAME_PARAM_TN_MAX];
5656

docs/sbp.pdf

1.43 KB
Binary file not shown.

haskell/src/SwiftNav/SBP/Navigation.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2370,9 +2370,9 @@ data MsgReferenceFrameParam = MsgReferenceFrameParam
23702370
{ _msgReferenceFrameParam_ssr_iod :: !Word8
23712371
-- ^ SSR IOD parameter.
23722372
, _msgReferenceFrameParam_sn :: !Text
2373-
-- ^ Name of source coordinate-system using the EPSG identification code.
2373+
-- ^ Name of source coordinate-system.
23742374
, _msgReferenceFrameParam_tn :: !Text
2375-
-- ^ Name of target coordinate-system using the EPSG identification code.
2375+
-- ^ Name of target coordinate-system.
23762376
, _msgReferenceFrameParam_sin :: !Word8
23772377
-- ^ System Identification Number.
23782378
, _msgReferenceFrameParam_utn :: !Word16

java/src/com/swiftnav/sbp/navigation/MsgReferenceFrameParam.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ public class MsgReferenceFrameParam extends SBPMessage {
2424
/** SSR IOD parameter. */
2525
public int ssr_iod;
2626

27-
/** Name of source coordinate-system using the EPSG identification code. */
27+
/** Name of source coordinate-system. */
2828
public String sn;
2929

30-
/** Name of target coordinate-system using the EPSG identification code. */
30+
/** Name of target coordinate-system. */
3131
public String tn;
3232

3333
/** System Identification Number. */

javascript/sbp.bundle.js

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

javascript/sbp/navigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,8 +2191,8 @@ MsgUtcLeapSecond.prototype.fieldSpec.push(['count_after', 'writeInt8', 1]);
21912191
21922192
* Fields in the SBP payload (`sbp.payload`):
21932193
* @field ssr_iod number (unsigned 8-bit int, 1 byte) SSR IOD parameter.
2194-
* @field sn string Name of source coordinate-system using the EPSG identification code.
2195-
* @field tn string Name of target coordinate-system using the EPSG identification code.
2194+
* @field sn string Name of source coordinate-system.
2195+
* @field tn string Name of target coordinate-system.
21962196
* @field sin number (unsigned 8-bit int, 1 byte) System Identification Number.
21972197
* @field utn number (unsigned 16-bit int, 2 bytes) Utilized Transformation Message.
21982198
* @field re_t0 number (unsigned 16-bit int, 2 bytes) Reference Epoch t0 for transformation parameter set given as Modified Julian Day

python/sbp/navigation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5255,9 +5255,9 @@ class MsgReferenceFrameParam(SBP):
52555255
ssr_iod : int
52565256
SSR IOD parameter.
52575257
sn : string
5258-
Name of source coordinate-system using the EPSG identification code.
5258+
Name of source coordinate-system.
52595259
tn : string
5260-
Name of target coordinate-system using the EPSG identification code.
5260+
Name of target coordinate-system.
52615261
sin : int
52625262
System Identification Number.
52635263
utn : int

rust/sbp/src/messages/navigation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6009,10 +6009,10 @@ pub mod msg_reference_frame_param {
60096009
/// SSR IOD parameter.
60106010
#[cfg_attr(feature = "serde", serde(rename = "ssr_iod"))]
60116011
pub ssr_iod: u8,
6012-
/// Name of source coordinate-system using the EPSG identification code.
6012+
/// Name of source coordinate-system.
60136013
#[cfg_attr(feature = "serde", serde(rename = "sn"))]
60146014
pub sn: SbpString<[u8; 32], NullTerminated>,
6015-
/// Name of target coordinate-system using the EPSG identification code.
6015+
/// Name of target coordinate-system.
60166016
#[cfg_attr(feature = "serde", serde(rename = "tn"))]
60176017
pub tn: SbpString<[u8; 32], NullTerminated>,
60186018
/// System Identification Number.

spec/yaml/swiftnav/sbp/navigation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,12 +2490,12 @@ definitions:
24902490
type: string
24912491
encoding: null_terminated
24922492
size: 32
2493-
desc: Name of source coordinate-system using the EPSG identification code.
2493+
desc: Name of source coordinate-system.
24942494
- tn:
24952495
type: string
24962496
encoding: null_terminated
24972497
size: 32
2498-
desc: Name of target coordinate-system using the EPSG identification code.
2498+
desc: Name of target coordinate-system.
24992499
- sin:
25002500
type: u8
25012501
desc: System Identification Number.

0 commit comments

Comments
 (0)