Skip to content

Commit 8d71eda

Browse files
author
Jason Mobarak
committed
Release v3.4.12
1 parent 91b331d commit 8d71eda

File tree

10 files changed

+50
-11
lines changed

10 files changed

+50
-11
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 4
2727
/** Protocol patch version. */
28-
#define SBP_PATCH_VERSION 11
28+
#define SBP_PATCH_VERSION 12
2929

3030
/** Full SBP version string. */
31-
#define SBP_VERSION "3.4.11"
31+
#define SBP_VERSION "3.4.12"
3232

3333
/** \} */
3434

docs/sbp.pdf

-13 Bytes
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: 3.4.11
2+
version: 3.4.12
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-
3.4.11
1+
3.4.12

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sbp",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"description": "libsbp bindings for JavaScript. More information here: http://swift-nav.github.io/libsbp/",
55
"files": [
66
"javascript/*",

python/sbp/RELEASE-VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.11
1+
3.4.12

rust/sbp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
[package]
99
name = "sbp"
10-
version = "3.4.11"
10+
version = "3.4.12"
1111
description = "Rust native implementation of SBP (Swift Binary Protocol) for communicating with devices made by Swift Navigation"
1212
authors = ["Swift Navigation <[email protected]>"]
1313
repository = "https://github.com/swift-nav/libsbp"

rust/sbp2json/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
[package]
99
name = "sbp2json"
10-
version = "3.4.11"
10+
version = "3.4.12"
1111
authors = ["Swift Navigation <[email protected]>"]
1212
edition = "2018"
1313

sbpjson/typescript/SbpJson.ts

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// To parse this data:
22
//
3-
// import { Convert, AcqSvProfile, AlmanacCommonContent, CarrierPhase, CodeBiasesContent, Doppler, EphemerisCommonContent, EstimatedHorizontalErrorEllipse, GNSSInputType, GnssCapb, GnssSignal, GpsTime, GpsTimeSEC, GridDefinitionHeader, GridElement, GridElementNoStd, GriddedCorrectionHeader, IMUInputType, Latency, MeasurementState, MsgAcqResult, MsgAcqSvProfile, MsgAgeCorrections, MsgAlmanacGPS, MsgAlmanacGlo, MsgAngularRate, MsgBasePosECEF, MsgBasePosLLH, MsgBaselineECEF, MsgBaselineHeading, MsgBaselineNED, MsgBootloaderHandshakeResp, MsgBootloaderJumpToApp, MsgCellModemStatus, MsgCommandOutput, MsgCommandReq, MsgCommandResp, MsgCsacTelemetry, MsgCsacTelemetryLabels, MsgDeviceMonitor, MsgDgnssStatus, MsgDops, MsgEphemerisBds, MsgEphemerisGPS, MsgEphemerisGal, MsgEphemerisGlo, MsgEphemerisQzss, MsgEphemerisSbas, MsgEXTEvent, MsgFileioConfigReq, MsgFileioConfigResp, MsgFileioReadDirReq, MsgFileioReadDirResp, MsgFileioReadReq, MsgFileioReadResp, MsgFileioRemove, MsgFileioWriteReq, MsgFileioWriteResp, MsgFlashDone, MsgFlashErase, MsgFlashProgram, MsgFlashReadReq, MsgFlashReadResp, MsgFrontEndGain, MsgFwd, MsgGPSTime, MsgGPSTimeGnss, MsgGloBiases, MsgGnssCapb, MsgGnssTimeOffset, MsgGroupDelay, MsgGroupMeta, MsgHeartbeat, MsgIarState, MsgImuAux, MsgImuRaw, MsgInsStatus, MsgInsUpdates, MsgIono, MsgLinuxCPUState, MsgLinuxMemState, MsgLinuxProcessFdCount, MsgLinuxProcessFdSummary, MsgLinuxProcessSocketCounts, MsgLinuxProcessSocketQueues, MsgLinuxSocketUsage, MsgLinuxSysState, MsgLog, MsgM25FlashWriteStatus, MsgMagRaw, MsgMaskSatellite, MsgMeasurementState, MsgNapDeviceDnaResp, MsgNdbEvent, MsgNetworkBandwidthUsage, MsgNetworkStateResp, MsgObs, MsgOdometry, MsgOrientEuler, MsgOrientQuat, MsgOsr, MsgPosECEF, MsgPosECEFCov, MsgPosECEFCovGnss, MsgPosECEFGnss, MsgPosLLH, MsgPosLLHAcc, MsgPosLLHCov, MsgPosLLHCovGnss, MsgPosLLHGnss, MsgPpsTime, MsgProtectionLevel, MsgReset, MsgResetFilters, MsgSbasRaw, MsgSettingsReadByIndexReq, MsgSettingsReadByIndexResp, MsgSettingsReadReq, MsgSettingsReadResp, MsgSettingsRegister, MsgSettingsRegisterResp, MsgSettingsWrite, MsgSettingsWriteResp, MsgSolnMeta, MsgSpecan, MsgSsrCodeBiases, MsgSsrGridDefinition, MsgSsrGriddedCorrection, MsgSsrGriddedCorrectionNoStd, MsgSsrOrbitClock, MsgSsrPhaseBiases, MsgSsrSatelliteApc, MsgSsrStecCorrection, MsgSsrTileDefinition, MsgStartup, MsgStatusReport, MsgStmFlashLockSector, MsgStmFlashUnlockSector, MsgStmUniqueIDResp, MsgSvAzEl, MsgThreadState, MsgTrackingIq, MsgTrackingState, MsgUARTState, MsgUserData, MsgUTCTime, MsgUTCTimeGnss, MsgVelBody, MsgVelECEF, MsgVelECEFCov, MsgVelECEFCovGnss, MsgVelECEFGnss, MsgVelNED, MsgVelNEDCov, MsgVelNEDCovGnss, MsgVelNEDGnss, MsgWheeltick, NetworkUsage, ObservationHeader, OdoInputType, PackedObsContent, PackedOsrContent, Period, PhaseBiasesContent, STECHeader, STECResidual, STECResidualNoStd, STECSatElement, SatelliteAPC, SolutionInputType, SubSystemReport, SvAzEl, SvID, TrackingChannelCorrelation, TrackingChannelState, TroposphericDelayCorrection, TroposphericDelayCorrectionNoStd, UARTChannel } from "./file";
3+
// import { Convert, AcqSvProfile, AlmanacCommonContent, CarrierPhase, CodeBiasesContent, Doppler, EphemerisCommonContent, EstimatedHorizontalErrorEllipse, GNSSInputType, GnssCapb, GnssSignal, GpsTime, GpsTimeSEC, GridDefinitionHeader, GridElement, GridElementNoStd, GriddedCorrectionHeader, IMUInputType, Latency, MeasurementState, MsgAcqResult, MsgAcqSvProfile, MsgAgeCorrections, MsgAlmanacGPS, MsgAlmanacGlo, MsgAngularRate, MsgBasePosECEF, MsgBasePosLLH, MsgBaselineECEF, MsgBaselineHeading, MsgBaselineNED, MsgBootloaderHandshakeResp, MsgBootloaderJumpToApp, MsgCellModemStatus, MsgCommandOutput, MsgCommandReq, MsgCommandResp, MsgCsacTelemetry, MsgCsacTelemetryLabels, MsgDeviceMonitor, MsgDgnssStatus, MsgDops, MsgEphemerisBds, MsgEphemerisGPS, MsgEphemerisGal, MsgEphemerisGlo, MsgEphemerisQzss, MsgEphemerisSbas, MsgEXTEvent, MsgFileioConfigReq, MsgFileioConfigResp, MsgFileioReadDirReq, MsgFileioReadDirResp, MsgFileioReadReq, MsgFileioReadResp, MsgFileioRemove, MsgFileioWriteReq, MsgFileioWriteResp, MsgFlashDone, MsgFlashErase, MsgFlashProgram, MsgFlashReadReq, MsgFlashReadResp, MsgFrontEndGain, MsgFwd, MsgGPSTime, MsgGPSTimeGnss, MsgGloBiases, MsgGnssCapb, MsgGnssTimeOffset, MsgGroupDelay, MsgGroupMeta, MsgHeartbeat, MsgIarState, MsgImuAux, MsgImuRaw, MsgInsStatus, MsgInsUpdates, MsgIono, MsgLinuxCPUState, MsgLinuxMemState, MsgLinuxProcessFdCount, MsgLinuxProcessFdSummary, MsgLinuxProcessSocketCounts, MsgLinuxProcessSocketQueues, MsgLinuxSocketUsage, MsgLinuxSysState, MsgLog, MsgM25FlashWriteStatus, MsgMagRaw, MsgMaskSatellite, MsgMeasurementState, MsgNapDeviceDnaResp, MsgNdbEvent, MsgNetworkBandwidthUsage, MsgNetworkStateResp, MsgObs, MsgOdometry, MsgOrientEuler, MsgOrientQuat, MsgOsr, MsgPosECEF, MsgPosECEFCov, MsgPosECEFCovGnss, MsgPosECEFGnss, MsgPosLLH, MsgPosLLHAcc, MsgPosLLHCov, MsgPosLLHCovGnss, MsgPosLLHGnss, MsgPpsTime, MsgProtectionLevel, MsgReset, MsgResetFilters, MsgSbasRaw, MsgSettingsReadByIndexReq, MsgSettingsReadByIndexResp, MsgSettingsReadReq, MsgSettingsReadResp, MsgSettingsRegister, MsgSettingsRegisterResp, MsgSettingsWrite, MsgSettingsWriteResp, MsgSolnMeta, MsgSpecan, MsgSsrCodeBiases, MsgSsrGridDefinition, MsgSsrGriddedCorrection, MsgSsrGriddedCorrectionNoStd, MsgSsrOrbitClock, MsgSsrPhaseBiases, MsgSsrSatelliteApc, MsgSsrStecCorrection, MsgSsrTileDefinition, MsgStartup, MsgStatusReport, MsgStmFlashLockSector, MsgStmFlashUnlockSector, MsgStmUniqueIDResp, MsgSvAzEl, MsgThreadState, MsgTrackingIq, MsgTrackingState, MsgUARTState, MsgUserData, MsgUTCTime, MsgUTCTimeGnss, MsgVelBody, MsgVelCog, MsgVelECEF, MsgVelECEFCov, MsgVelECEFCovGnss, MsgVelECEFGnss, MsgVelNED, MsgVelNEDCov, MsgVelNEDCovGnss, MsgVelNEDGnss, MsgWheeltick, NetworkUsage, ObservationHeader, OdoInputType, PackedObsContent, PackedOsrContent, Period, PhaseBiasesContent, STECHeader, STECResidual, STECResidualNoStd, STECSatElement, SatelliteAPC, SolutionInputType, SubSystemReport, SvAzEl, SvID, TrackingChannelCorrelation, TrackingChannelState, TroposphericDelayCorrection, TroposphericDelayCorrectionNoStd, UARTChannel } from "./file";
44
//
55
// const acqSvProfile = Convert.toAcqSvProfile(json);
66
// const almanacCommonContent = Convert.toAlmanacCommonContent(json);
@@ -159,6 +159,7 @@
159159
// const msgUTCTime = Convert.toMsgUTCTime(json);
160160
// const msgUTCTimeGnss = Convert.toMsgUTCTimeGnss(json);
161161
// const msgVelBody = Convert.toMsgVelBody(json);
162+
// const msgVelCog = Convert.toMsgVelCog(json);
162163
// const msgVelECEF = Convert.toMsgVelECEF(json);
163164
// const msgVelECEFCov = Convert.toMsgVelECEFCov(json);
164165
// const msgVelECEFCovGnss = Convert.toMsgVelECEFCovGnss(json);
@@ -2363,6 +2364,26 @@ export interface MsgVelBody {
23632364
z: number;
23642365
}
23652366

2367+
/**
2368+
* This message reports the receiver course over ground (COG) and speed over ground (SOG)
2369+
* based on the horizontal (N-E) components of the NED velocity vector. It also includes the
2370+
* vertical velocity in the form of the D-component of the NED velocity vector. The NED
2371+
* coordinate system is defined as the local WGS84 tangent plane centered at the current
2372+
* position. The full GPS time is given by the preceding MSG_GPS_TIME with the matching
2373+
* time-of-week (tow). Note: course over ground represents the receiver's direction of
2374+
* travel, but not necessarily the device heading.
2375+
*/
2376+
export interface MsgVelCog {
2377+
cog: number;
2378+
cog_accuracy: number;
2379+
flags: number;
2380+
sog: number;
2381+
sog_accuracy: number;
2382+
tow: number;
2383+
vel_d: number;
2384+
vel_d_accuracy: number;
2385+
}
2386+
23662387
/**
23672388
* This message reports the velocity in Earth Centered Earth Fixed (ECEF) coordinates. The
23682389
* full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).
@@ -3793,6 +3814,14 @@ export class Convert {
37933814
return JSON.stringify(uncast(value, r("MsgVelBody")), null, 2);
37943815
}
37953816

3817+
public static toMsgVelCog(json: string): MsgVelCog {
3818+
return cast(JSON.parse(json), r("MsgVelCog"));
3819+
}
3820+
3821+
public static msgVelCogToJson(value: MsgVelCog): string {
3822+
return JSON.stringify(uncast(value, r("MsgVelCog")), null, 2);
3823+
}
3824+
37963825
public static toMsgVelECEF(json: string): MsgVelECEF {
37973826
return cast(JSON.parse(json), r("MsgVelECEF"));
37983827
}
@@ -5306,6 +5335,16 @@ const typeMap: any = {
53065335
{ json: "y", js: "y", typ: 0 },
53075336
{ json: "z", js: "z", typ: 0 },
53085337
], "any"),
5338+
"MsgVelCog": o([
5339+
{ json: "cog", js: "cog", typ: 0 },
5340+
{ json: "cog_accuracy", js: "cog_accuracy", typ: 0 },
5341+
{ json: "flags", js: "flags", typ: 0 },
5342+
{ json: "sog", js: "sog", typ: 0 },
5343+
{ json: "sog_accuracy", js: "sog_accuracy", typ: 0 },
5344+
{ json: "tow", js: "tow", typ: 0 },
5345+
{ json: "vel_d", js: "vel_d", typ: 0 },
5346+
{ json: "vel_d_accuracy", js: "vel_d_accuracy", typ: 0 },
5347+
], "any"),
53095348
"MsgVelECEF": o([
53105349
{ json: "accuracy", js: "accuracy", typ: 0 },
53115350
{ json: "flags", js: "flags", typ: 0 },

0 commit comments

Comments
 (0)