Skip to content

Commit 124bd8f

Browse files
author
Matt Woodward
committed
Release v5.0.5
1 parent 2df29c8 commit 124bd8f

File tree

17 files changed

+52
-50
lines changed

17 files changed

+52
-50
lines changed

c/include/libsbp/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
/** Protocol minor version. */
2626
#define SBP_MINOR_VERSION 0
2727
/** Protocol patch version. */
28-
#define SBP_PATCH_VERSION 3
28+
#define SBP_PATCH_VERSION 5
2929

3030
/** Full SBP version string. */
31-
#define SBP_VERSION "5.0.4-alpha"
31+
#define SBP_VERSION "5.0.5"
3232

3333
/** Is this a staging branch? */
3434
#define SBP_STAGING 0

docs/sbp.pdf

-1.09 KB
Binary file not shown.

haskell/sbp.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sbp
2-
version: 5.0.4-alpha
2+
version: 5.0.5
33
synopsis: SwiftNav's SBP Library
44
homepage: https://github.com/swift-nav/libsbp
55
license: MIT

javascript/sbp/RELEASE-VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.4-alpha
1+
5.0.5

kaitai/ksy/imu.ksy

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ types:
2727
with the indications on the device itself. Measurement units, which are
2828
specific to the device hardware and settings, are communicated via the
2929
MSG_IMU_AUX message. If using "time since startup" local time tags, the
30-
receiving end will expect a `MSG_PPS_TIME` regardless of GNSS fix state.
31-
This also requires that the MSG_PPS_TIME message be sent prior to any
32-
IMU RAW messages that are based on the current (as measured at the PPS
33-
edge) local time timestamps. The local time (as defined in the
34-
MSG_PPS_TIME message) must wrap around to zero when reaching the extent
35-
of the u64 "Local time in microseconds" parameter.
30+
receiving end will expect either a MSG_GNSS_TIME_OFFSET or MSG_PPS_TIME
31+
to establish the relationship between IMU time and GNSS time.
32+
Regardless of the timestamping mode, the timestamp is required to roll
33+
over to zero when reaching one week (604800 seconds, or 604800000
34+
milliseconds).
3635
The time-tagging mode should not change throughout a run.
3736
seq:
3837
- id: tow

kaitai/ksy/sbp.ksy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
99
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
1010
#
11-
# Kaitai Struct definition file for Swift Binary Protocol 5.0.5-alpha
11+
# Kaitai Struct definition file for Swift Binary Protocol 5.0.5
1212
#
1313
# Automatically generated with generate.py. Do not hand edit!
1414

kaitai/ksy/system.ksy

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,17 @@ types:
283283
doc: |
284284
The PPS time message contains the value of the sender's local time in
285285
microseconds at the moment a pulse is detected on the PPS input. This is
286-
to be used for syncronisation of sensor data sampled with a local
286+
to be used for synchronisation of sensor data sampled with a local
287287
timestamp (e.g. IMU or wheeltick messages) where GNSS time is unknown to
288288
the sender.
289289
290290
The local time used to timestamp the PPS pulse must be generated by the
291291
same clock which is used to timestamp the IMU/wheel sensor data and
292-
should follow the same roll-over rules. A separate MSG_PPS_TIME message
293-
should be sent for each source of sensor data which uses PPS-relative
294-
timestamping. The sender ID for each of these MSG_PPS_TIME messages
295-
should match the sender ID of the respective sensor data.
292+
should follow the same roll-over rules (i.e. it should roll over to zero
293+
after 604800 seconds). A separate MSG_PPS_TIME message should be sent
294+
for each source of sensor data which uses local timestamping. The
295+
sender ID for each of these MSG_PPS_TIME messages should match the
296+
sender ID of the respective sensor data.
296297
seq:
297298
- id: time
298299
doc: |

kaitai/ksy/vehicle.ksy

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ types:
2727
offset for the odometry reference point and the definition and origin of
2828
the user frame are defined through the device settings interface. There
2929
are 4 possible user-defined sources of this message which are labeled
30-
arbitrarily source 0 through 3. If using "processor time" time tags, the
31-
receiving end will expect a `MSG_GNSS_TIME_OFFSET` when a PVT fix
32-
becomes available to synchronise odometry measurements with GNSS.
33-
Processor time shall roll over to zero after one week.
30+
arbitrarily source 0 through 3.
31+
If using "processor time" time tags, the receiving end will expect
32+
either `MSG_GNSS_TIME_OFFSET` or `MSG_PPS_TIME` to sync incoming
33+
odometry data to GNSS time. Processor time shall roll over to zero
34+
after one week.
3435
seq:
3536
- id: tow
3637
doc: |
@@ -57,10 +58,10 @@ types:
5758
from 0 to 255. The timestamp associated with this message should
5859
represent the time when the accumulated tick count reached the value
5960
given by the contents of this message as accurately as possible. If
60-
using "local CPU time" time tags, the receiving end will expect a
61-
`MSG_GNSS_TIME_OFFSET` when a PVT fix becomes available to synchronise
62-
wheeltick measurements with GNSS. Local CPU time shall roll over to zero
63-
after one week.
61+
using "local CPU time" time tags, the receiving end will also expect
62+
either `MSG_GNSS_TIME_OFFSET` or `MSG_PPS_TIME` to sync incoming
63+
wheeltick data to GNSS time.
64+
Local CPU time shall roll over to zero after one week.
6465
seq:
6566
- id: time
6667
doc: |

kaitai/python/kaitai_sbp/imu.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ class MsgImuRaw(KaitaiStruct):
2323
with the indications on the device itself. Measurement units, which are
2424
specific to the device hardware and settings, are communicated via the
2525
MSG_IMU_AUX message. If using "time since startup" local time tags, the
26-
receiving end will expect a `MSG_PPS_TIME` regardless of GNSS fix state.
27-
This also requires that the MSG_PPS_TIME message be sent prior to any
28-
IMU RAW messages that are based on the current (as measured at the PPS
29-
edge) local time timestamps. The local time (as defined in the
30-
MSG_PPS_TIME message) must wrap around to zero when reaching the extent
31-
of the u64 "Local time in microseconds" parameter.
26+
receiving end will expect either a MSG_GNSS_TIME_OFFSET or MSG_PPS_TIME
27+
to establish the relationship between IMU time and GNSS time.
28+
Regardless of the timestamping mode, the timestamp is required to roll
29+
over to zero when reaching one week (604800 seconds, or 604800000
30+
milliseconds).
3231
The time-tagging mode should not change throughout a run.
3332
"""
3433
def __init__(self, _io, _parent=None, _root=None):

kaitai/python/kaitai_sbp/system.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,17 @@ def _read(self):
113113
class MsgPpsTime(KaitaiStruct):
114114
"""The PPS time message contains the value of the sender's local time in
115115
microseconds at the moment a pulse is detected on the PPS input. This is
116-
to be used for syncronisation of sensor data sampled with a local
116+
to be used for synchronisation of sensor data sampled with a local
117117
timestamp (e.g. IMU or wheeltick messages) where GNSS time is unknown to
118118
the sender.
119119
120120
The local time used to timestamp the PPS pulse must be generated by the
121121
same clock which is used to timestamp the IMU/wheel sensor data and
122-
should follow the same roll-over rules. A separate MSG_PPS_TIME message
123-
should be sent for each source of sensor data which uses PPS-relative
124-
timestamping. The sender ID for each of these MSG_PPS_TIME messages
125-
should match the sender ID of the respective sensor data.
122+
should follow the same roll-over rules (i.e. it should roll over to zero
123+
after 604800 seconds). A separate MSG_PPS_TIME message should be sent
124+
for each source of sensor data which uses local timestamping. The
125+
sender ID for each of these MSG_PPS_TIME messages should match the
126+
sender ID of the respective sensor data.
126127
"""
127128
def __init__(self, _io, _parent=None, _root=None):
128129
self._io = _io

0 commit comments

Comments
 (0)