From 552167e9fd9eafcdb5710c4ef23a7e3432170cd0 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 15:40:51 -0800 Subject: [PATCH 01/11] version bumps --- c/include/libsbp/cpp/message_traits.h | 14 +++++++++++++- c/include/libsbp/version.h | 2 +- python/sbp/RELEASE-VERSION | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/c/include/libsbp/cpp/message_traits.h b/c/include/libsbp/cpp/message_traits.h index 96e2c9cdfc..879f2d1eee 100644 --- a/c/include/libsbp/cpp/message_traits.h +++ b/c/include/libsbp/cpp/message_traits.h @@ -37,8 +37,14 @@ namespace sbp { +/** + * Type traits containing meta-information for each SBP message type. + * + * These are only meant to be used by the C++ library at compile time. + * These are automatically generated, DO NOT EDIT. + */ template -struct MessageTraits { }; +struct MessageTraits; template<> @@ -803,6 +809,12 @@ struct MessageTraits { }; +template<> +struct MessageTraits { + static constexpr u16 id = 534; +}; + + template<> struct MessageTraits { static constexpr u16 id = 544; diff --git a/c/include/libsbp/version.h b/c/include/libsbp/version.h index 99ca53de09..1fadf35f66 100644 --- a/c/include/libsbp/version.h +++ b/c/include/libsbp/version.h @@ -25,7 +25,7 @@ /** Protocol minor version. */ #define SBP_MINOR_VERSION 7 /** Protocol patch version. */ -#define SBP_PATCH_VERSION 1 +#define SBP_PATCH_VERSION 2-dirty /** \} */ diff --git a/python/sbp/RELEASE-VERSION b/python/sbp/RELEASE-VERSION index 5588ae8270..d8c1efb638 100644 --- a/python/sbp/RELEASE-VERSION +++ b/python/sbp/RELEASE-VERSION @@ -1 +1 @@ -2.7.1 \ No newline at end of file +2.7.2-dirty \ No newline at end of file From a065a52a96bfb29bf034fb5fc689d4bde5076226 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 15:41:38 -0800 Subject: [PATCH 02/11] version bumps --- c/include/libsbp/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/include/libsbp/version.h b/c/include/libsbp/version.h index 1fadf35f66..a4ed812b11 100644 --- a/c/include/libsbp/version.h +++ b/c/include/libsbp/version.h @@ -25,7 +25,7 @@ /** Protocol minor version. */ #define SBP_MINOR_VERSION 7 /** Protocol patch version. */ -#define SBP_PATCH_VERSION 2-dirty +#define SBP_PATCH_VERSION 2 /** \} */ From 6c54c48816c00af2d6e3e7596bff7dbc1e573b79 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 15:41:49 -0800 Subject: [PATCH 03/11] version bumps --- python/sbp/RELEASE-VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sbp/RELEASE-VERSION b/python/sbp/RELEASE-VERSION index d8c1efb638..fbafd6b600 100644 --- a/python/sbp/RELEASE-VERSION +++ b/python/sbp/RELEASE-VERSION @@ -1 +1 @@ -2.7.2-dirty \ No newline at end of file +2.7.2 \ No newline at end of file From 2d5613db0d6350a4c696facb4bf45bcf0f7be771 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 16:29:52 -0800 Subject: [PATCH 04/11] Fix _version.py generation --- python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index 386c7c0a3c..e4eea63bb9 100755 --- a/python/setup.py +++ b/python/setup.py @@ -59,7 +59,7 @@ def read_release_version(): MAJOR, MINOR, PATCH = read_release_version() -IS_RELEASED = False +IS_RELEASED = os.environ.get('IS_RELEASED', '') != '' VERSION = '%d.%d.%d' % (MAJOR, MINOR, PATCH) From b1023c8084f9ec0c245944866281edbea880f72d Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 17:22:42 -0800 Subject: [PATCH 05/11] fix-up dist script --- python/deploy.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python/deploy.py b/python/deploy.py index fcb84616ed..b03fbdfce6 100644 --- a/python/deploy.py +++ b/python/deploy.py @@ -48,6 +48,7 @@ else: DASHDASH = [] +os.environ['IS_RELEASED'] = 'y' def twine_upload(conda_dir, wheel, py_version="3.7", use_conda=True): @@ -185,10 +186,10 @@ def run_bdist(conda_dir, for dirent in glob.glob("module/build/*"): shutil.rmtree(dirent) if os.path.isdir(dirent) else os.unlink(dirent) - with open("module/setup.py", "rb") as fp: - data = fp.read() - with open("module/setup.py", "wb") as fp: - fp.write(data.replace(b"IS_RELEASED = False", b"IS_RELEASED = True")) +# with open("module/setup.py", "rb") as fp: +# data = fp.read() +# with open("module/setup.py", "wb") as fp: +# fp.write(data.replace(b"IS_RELEASED = False", b"IS_RELEASED = True")) os.chdir("module") From 02d1a00589bd99772781d847d67a7493e796848a Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 17:31:45 -0800 Subject: [PATCH 06/11] haskell bumps --- haskell/sbp.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell/sbp.cabal b/haskell/sbp.cabal index 2a387ea61f..364f9ad601 100644 --- a/haskell/sbp.cabal +++ b/haskell/sbp.cabal @@ -1,5 +1,5 @@ name: sbp -version: 2.7.1 +version: 2.7.2 synopsis: SwiftNav's SBP Library homepage: https://github.com/swift-nav/libsbp license: LGPL-3 From f80131f0963207d47cf86d95b46851222b8d6c23 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 17:37:08 -0800 Subject: [PATCH 07/11] bumps --- c/include/libsbp/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/include/libsbp/version.h b/c/include/libsbp/version.h index a4ed812b11..fb3e78ecba 100644 --- a/c/include/libsbp/version.h +++ b/c/include/libsbp/version.h @@ -25,7 +25,7 @@ /** Protocol minor version. */ #define SBP_MINOR_VERSION 7 /** Protocol patch version. */ -#define SBP_PATCH_VERSION 2 +#define SBP_PATCH_VERSION 3 /** \} */ From ad3acbd4a4d704b577f620ebbbd45142bed5e5b3 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 18:38:50 -0800 Subject: [PATCH 08/11] version bumps --- haskell/sbp.cabal | 2 +- python/sbp/RELEASE-VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell/sbp.cabal b/haskell/sbp.cabal index 364f9ad601..f125bb88f9 100644 --- a/haskell/sbp.cabal +++ b/haskell/sbp.cabal @@ -1,5 +1,5 @@ name: sbp -version: 2.7.2 +version: 2.7.3 synopsis: SwiftNav's SBP Library homepage: https://github.com/swift-nav/libsbp license: LGPL-3 diff --git a/python/sbp/RELEASE-VERSION b/python/sbp/RELEASE-VERSION index fbafd6b600..e2bdf6e45a 100644 --- a/python/sbp/RELEASE-VERSION +++ b/python/sbp/RELEASE-VERSION @@ -1 +1 @@ -2.7.2 \ No newline at end of file +2.7.3 \ No newline at end of file From 9f6684fb7b941ce69ac1a1123282d82d0c4d2e57 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 18:42:00 -0800 Subject: [PATCH 09/11] Version bumps --- package-lock.json | 43 +++++++++++++++++++++++++++++++------------ package.json | 2 +- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index b13ef89031..c98da8d085 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "sbp", - "version": "2.7.1", + "version": "2.7.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2044,7 +2044,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -2065,12 +2066,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -2085,17 +2088,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -2212,7 +2218,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -2224,6 +2231,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -2238,6 +2246,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -2245,12 +2254,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -2269,6 +2280,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -2356,7 +2368,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -2368,6 +2381,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -2453,7 +2467,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -2489,6 +2504,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -2508,6 +2524,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -2551,12 +2568,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/package.json b/package.json index b8a7e0a35f..c329e7eff2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sbp", - "version": "2.7.1", + "version": "2.7.3", "description": "libsbp bindings for JavaScript. More information here: http://swift-nav.github.io/libsbp/", "files": [ "javascript/*", From 426d54b21275f32bf332b3c856b7f3c4b339c26a Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Wed, 13 Nov 2019 18:43:24 -0800 Subject: [PATCH 10/11] rust regen --- rust/sbp/src/lib.rs | 2 +- rust/sbp/src/messages/acquisition.rs | 8 ---- rust/sbp/src/messages/bootload.rs | 6 --- rust/sbp/src/messages/ext_events.rs | 1 - rust/sbp/src/messages/file_io.rs | 9 ---- rust/sbp/src/messages/flash.rs | 10 ---- rust/sbp/src/messages/gnss.rs | 7 --- rust/sbp/src/messages/imu.rs | 2 - rust/sbp/src/messages/linux.rs | 8 ---- rust/sbp/src/messages/logging.rs | 3 -- rust/sbp/src/messages/mag.rs | 1 - rust/sbp/src/messages/navigation.rs | 25 ---------- rust/sbp/src/messages/ndb.rs | 1 - rust/sbp/src/messages/observation.rs | 45 ------------------ rust/sbp/src/messages/orientation.rs | 4 -- rust/sbp/src/messages/piksi.rs | 34 ++----------- rust/sbp/src/messages/sbas.rs | 1 - rust/sbp/src/messages/settings.rs | 10 ---- rust/sbp/src/messages/ssr.rs | 16 ------- rust/sbp/src/messages/system.rs | 6 --- rust/sbp/src/messages/tracking.rs | 15 ------ rust/sbp/src/messages/user.rs | 1 - rust/sbp/src/messages/vehicle.rs | 7 ++- rust/sbp/src/parser/mod.rs | 7 ++- .../sbp/tests/auto_check_sbp_acquisition_1.rs | 4 +- .../sbp/tests/auto_check_sbp_acquisition_2.rs | 4 +- .../tests/auto_check_sbp_acquisition_38.rs | 3 +- rust/sbp/tests/auto_check_sbp_bootload_39.rs | 3 +- .../sbp/tests/auto_check_sbp_ext_events_40.rs | 3 +- rust/sbp/tests/auto_check_sbp_logging_41.rs | 3 +- rust/sbp/tests/auto_check_sbp_logging_42.rs | 3 +- .../sbp/tests/auto_check_sbp_navigation_10.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_11.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_12.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_13.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_14.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_15.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_16.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_17.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_18.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_19.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_20.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_21.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_22.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_23.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_24.rs | 4 +- rust/sbp/tests/auto_check_sbp_navigation_3.rs | 4 +- rust/sbp/tests/auto_check_sbp_navigation_4.rs | 4 +- .../sbp/tests/auto_check_sbp_navigation_43.rs | 3 +- rust/sbp/tests/auto_check_sbp_navigation_5.rs | 4 +- rust/sbp/tests/auto_check_sbp_navigation_6.rs | 4 +- rust/sbp/tests/auto_check_sbp_navigation_7.rs | 4 +- rust/sbp/tests/auto_check_sbp_navigation_8.rs | 3 +- rust/sbp/tests/auto_check_sbp_navigation_9.rs | 4 +- .../tests/auto_check_sbp_observation_25.rs | 4 +- .../tests/auto_check_sbp_observation_26.rs | 4 +- .../tests/auto_check_sbp_observation_44.rs | 3 +- .../tests/auto_check_sbp_orientation_27.rs | 4 +- .../tests/auto_check_sbp_orientation_28.rs | 4 +- .../tests/auto_check_sbp_orientation_29.rs | 4 +- rust/sbp/tests/auto_check_sbp_piksi_30.rs | 3 +- rust/sbp/tests/auto_check_sbp_piksi_31.rs | Bin 9703 -> 9709 bytes rust/sbp/tests/auto_check_sbp_piksi_32.rs | 3 +- rust/sbp/tests/auto_check_sbp_piksi_45.rs | Bin 54874 -> 54877 bytes rust/sbp/tests/auto_check_sbp_settings_33.rs | 4 +- rust/sbp/tests/auto_check_sbp_settings_34.rs | Bin 10145 -> 10151 bytes rust/sbp/tests/auto_check_sbp_system_35.rs | 4 +- rust/sbp/tests/auto_check_sbp_system_36.rs | 3 +- rust/sbp/tests/auto_check_sbp_system_37.rs | 3 +- rust/sbp/tests/auto_check_sbp_system_46.rs | 3 +- rust/sbp/tests/auto_check_sbp_tracking_47.rs | 3 +- rust/sbp/tests/auto_check_sbp_tracking_48.rs | 4 +- rust/sbp/tests/auto_check_sbp_tracking_49.rs | 4 +- rust/sbp/tests/auto_check_sbp_vehicle_50.rs | 3 +- 74 files changed, 138 insertions(+), 264 deletions(-) diff --git a/rust/sbp/src/lib.rs b/rust/sbp/src/lib.rs index a43f452397..ba5e24e26b 100644 --- a/rust/sbp/src/lib.rs +++ b/rust/sbp/src/lib.rs @@ -5,9 +5,9 @@ pub mod messages; pub mod parser; -use std::result; use std::error; use std::fmt; +use std::result; pub type Result = result::Result; diff --git a/rust/sbp/src/messages/acquisition.rs b/rust/sbp/src/messages/acquisition.rs index 6499638ed9..0f3b73737d 100644 --- a/rust/sbp/src/messages/acquisition.rs +++ b/rust/sbp/src/messages/acquisition.rs @@ -26,7 +26,6 @@ use serde::{Deserialize, Serialize}; /// Profile for a specific SV for debugging purposes /// The message describes SV profile during acquisition time. /// The message is used to debug and measure the performance. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -94,7 +93,6 @@ impl AcqSvProfile { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -169,7 +167,6 @@ impl AcqSvProfileDep { /// frequency range. It contains the parameters of the point in the /// acquisition search space with the best carrier-to-noise (CN/0) /// ratio. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -211,7 +208,6 @@ impl super::SBPMessage for MsgAcqResult { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -255,7 +251,6 @@ impl super::SBPMessage for MsgAcqResultDepA { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -298,7 +293,6 @@ impl super::SBPMessage for MsgAcqResultDepB { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -341,7 +335,6 @@ impl super::SBPMessage for MsgAcqResultDepC { /// /// The message describes all SV profiles during acquisition time. /// The message is used to debug and measure the performance. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -374,7 +367,6 @@ impl super::SBPMessage for MsgAcqSvProfile { /// Deprecated. /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/bootload.rs b/rust/sbp/src/messages/bootload.rs index 7bb5721436..760b8ff210 100644 --- a/rust/sbp/src/messages/bootload.rs +++ b/rust/sbp/src/messages/bootload.rs @@ -28,7 +28,6 @@ use serde::{Deserialize, Serialize}; /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -63,7 +62,6 @@ impl super::SBPMessage for MsgBootloaderHandshakeDepA { /// The handshake message request from the host establishes a /// handshake between the device bootloader and the host. The /// response from the device is MSG_BOOTLOADER_HANDSHAKE_RESP. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -95,7 +93,6 @@ impl super::SBPMessage for MsgBootloaderHandshakeReq { /// request from the host is MSG_BOOTLOADER_HANDSHAKE_REQ. The /// payload contains the bootloader version number and the SBP /// protocol version number. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -131,7 +128,6 @@ impl super::SBPMessage for MsgBootloaderHandshakeResp { /// Bootloader jump to application (host => device) /// /// The host initiates the bootloader to jump to the application. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -169,7 +165,6 @@ impl super::SBPMessage for MsgBootloaderJumpToApp { /// responds with a MSG_NAP_DEVICE_DNA_RESP message with the /// device ID in the payload. Note that this ID is tied to the FPGA, /// and not related to the Piksi's serial number. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -202,7 +197,6 @@ impl super::SBPMessage for MsgNapDeviceDnaReq { /// responds with a MSG_NAP_DEVICE_DNA_RESP messagage with the /// device ID in the payload. Note that this ID is tied to the FPGA, /// and not related to the Piksi's serial number. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/ext_events.rs b/rust/sbp/src/messages/ext_events.rs index 3b74f1ce6a..6329fa71cd 100644 --- a/rust/sbp/src/messages/ext_events.rs +++ b/rust/sbp/src/messages/ext_events.rs @@ -26,7 +26,6 @@ use serde::{Deserialize, Serialize}; /// /// Reports detection of an external event, the GPS time it occurred, /// which pin it was and whether it was rising or falling. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/file_io.rs b/rust/sbp/src/messages/file_io.rs index a9e91925c2..62c2ba2a22 100644 --- a/rust/sbp/src/messages/file_io.rs +++ b/rust/sbp/src/messages/file_io.rs @@ -34,7 +34,6 @@ use serde::{Deserialize, Serialize}; /// transfer. Newer version of FileIO can support greater /// throughput by supporting a large window of FileIO data /// that can be in-flight during read or write operations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -71,7 +70,6 @@ impl super::SBPMessage for MsgFileioConfigReq { /// transfer. Newer version of FileIO can support greater /// throughput by supporting a large window of FileIO data /// that can be in-flight during read or write operations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -122,7 +120,6 @@ impl super::SBPMessage for MsgFileioConfigResp { /// MSG_PRINT message will print "Invalid fileio read message". /// A device will only respond to this message when it is received /// from sender ID 0x42. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -166,7 +163,6 @@ impl super::SBPMessage for MsgFileioReadDirReq { /// multiple SBP packets and the end of the list is identified by an /// entry containing just the character 0xFF. The sequence number in /// the response is preserved from the request. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -209,7 +205,6 @@ impl super::SBPMessage for MsgFileioReadDirResp { /// If the message is invalid, a followup MSG_PRINT message will /// print "Invalid fileio read message". A device will only respond /// to this message when it is received from sender ID 0x42. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -255,7 +250,6 @@ impl super::SBPMessage for MsgFileioReadReq { /// message where the message length field indicates how many bytes /// were succesfully read. The sequence number in the response is /// preserved from the request. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -294,7 +288,6 @@ impl super::SBPMessage for MsgFileioReadResp { /// If the message is invalid, a followup MSG_PRINT message will /// print "Invalid fileio remove message". A device will only /// process this message when it is received from sender ID 0x42. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -334,7 +327,6 @@ impl super::SBPMessage for MsgFileioRemove { /// message will print "Invalid fileio write message". A device will /// only process this message when it is received from sender ID /// 0x42. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -380,7 +372,6 @@ impl super::SBPMessage for MsgFileioWriteReq { /// original MSG_FILEIO_WRITE_REQ message to check integrity of the /// write. The sequence number in the response is preserved from the /// request. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/flash.rs b/rust/sbp/src/messages/flash.rs index 494015d12e..35f6b1be84 100644 --- a/rust/sbp/src/messages/flash.rs +++ b/rust/sbp/src/messages/flash.rs @@ -31,7 +31,6 @@ use serde::{Deserialize, Serialize}; /// flash memory requests from the host to the device. Flash read /// and write messages, such as MSG_FLASH_READ_REQ, or /// MSG_FLASH_PROGRAM, may return this message on failure. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -68,7 +67,6 @@ impl super::SBPMessage for MsgFlashDone { /// MSG_FLASH_DONE message containing the return code - FLASH_OK (0) /// on success or FLASH_INVALID_FLASH (1) if the flash specified is /// invalid. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -109,7 +107,6 @@ impl super::SBPMessage for MsgFlashErase { /// on success, or FLASH_INVALID_LEN (2) if the maximum write size /// is exceeded. Note that the sector-containing addresses must be /// erased before addresses can be programmed. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -157,7 +154,6 @@ impl super::SBPMessage for MsgFlashProgram { /// FLASH_INVALID_LEN (2) if the maximum read size is exceeded or /// FLASH_INVALID_ADDR (3) if the address is outside of the allowed /// range. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -202,7 +198,6 @@ impl super::SBPMessage for MsgFlashReadReq { /// FLASH_INVALID_LEN (2) if the maximum read size is exceeded or /// FLASH_INVALID_ADDR (3) if the address is outside of the allowed /// range. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -242,7 +237,6 @@ impl super::SBPMessage for MsgFlashReadResp { /// /// The flash status message writes to the 8-bit M25 flash status /// register. The device replies with a MSG_FLASH_DONE message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -276,7 +270,6 @@ impl super::SBPMessage for MsgM25FlashWriteStatus { /// /// The flash lock message locks a sector of the STM flash /// memory. The device replies with a MSG_FLASH_DONE message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -310,7 +303,6 @@ impl super::SBPMessage for MsgStmFlashLockSector { /// /// The flash unlock message unlocks a sector of the STM flash /// memory. The device replies with a MSG_FLASH_DONE message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -347,7 +339,6 @@ impl super::SBPMessage for MsgStmFlashUnlockSector { /// requests the ID by sending a MSG_STM_UNIQUE_ID_REQ. The device /// responds with a MSG_STM_UNIQUE_ID_RESP with the 12-byte unique /// ID in the payload. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -379,7 +370,6 @@ impl super::SBPMessage for MsgStmUniqueIdReq { /// requests the ID by sending a MSG_STM_UNIQUE_ID_REQ. The device /// responds with a MSG_STM_UNIQUE_ID_RESP with the 12-byte unique /// ID in the payload.. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/gnss.rs b/rust/sbp/src/messages/gnss.rs index 4b5c98e914..800e222f54 100644 --- a/rust/sbp/src/messages/gnss.rs +++ b/rust/sbp/src/messages/gnss.rs @@ -26,7 +26,6 @@ use serde::{Deserialize, Serialize}; /// fixed point number with Q32.8 layout, i.e. 32-bits of whole /// cycles and 8-bits of fractional cycles. This phase has the /// same sign as the pseudorange. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -67,7 +66,6 @@ impl CarrierPhase { /// since the beginning of the week on the Saturday/Sunday /// transition. In most cases, observations are epoch aligned /// so ns field will be 0. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -111,7 +109,6 @@ impl GPSTime { /// A wire-appropriate GPS time, defined as the number of /// milliseconds since beginning of the week on the Saturday/Sunday /// transition. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -151,7 +148,6 @@ impl GPSTimeDep { /// A GPS time, defined as the number of /// seconds since beginning of the week on the Saturday/Sunday /// transition. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -189,7 +185,6 @@ impl GPSTimeSec { /// Represents all the relevant information about the signal /// /// Signal identifier containing constellation, band, and satellite identifier -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -228,7 +223,6 @@ impl GnssSignal { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -275,7 +269,6 @@ impl GnssSignalDep { /// /// A (Constellation ID, satellite ID) tuple that uniquely identifies /// a space vehicle -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/imu.rs b/rust/sbp/src/messages/imu.rs index ffbcdb1de9..7dc6fb9f1a 100644 --- a/rust/sbp/src/messages/imu.rs +++ b/rust/sbp/src/messages/imu.rs @@ -25,7 +25,6 @@ use serde::{Deserialize, Serialize}; /// Auxiliary data specific to a particular IMU. The `imu_type` field will /// always be consistent but the rest of the payload is device specific and /// depends on the value of `imu_type`. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -67,7 +66,6 @@ impl super::SBPMessage for MsgImuAux { /// gyroscope readings. The sense of the measurements are to be aligned with /// the indications on the device itself. Measurement units, which are specific to the /// device hardware and settings, are communicated via the MSG_IMU_AUX message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/linux.rs b/rust/sbp/src/messages/linux.rs index ab900c2eb3..b5983962c0 100644 --- a/rust/sbp/src/messages/linux.rs +++ b/rust/sbp/src/messages/linux.rs @@ -25,7 +25,6 @@ use serde::{Deserialize, Serialize}; /// /// This message indicates the process state of the top 10 heaviest /// consumers of CPU on the system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -71,7 +70,6 @@ impl super::SBPMessage for MsgLinuxCpuState { /// /// This message indicates the process state of the top 10 heaviest /// consumers of memory on the system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -116,7 +114,6 @@ impl super::SBPMessage for MsgLinuxMemState { /// Summary of processes with large amounts of open file descriptors /// /// Top 10 list of processes with a large number of open file descriptors. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -158,7 +155,6 @@ impl super::SBPMessage for MsgLinuxProcessFdCount { /// Summary of open file descriptors on the system /// /// Summary of open file descriptors on the system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -198,7 +194,6 @@ impl super::SBPMessage for MsgLinuxProcessFdSummary { /// A list of processes with high socket counts /// /// Top 10 list of processes with high socket counts. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -250,7 +245,6 @@ impl super::SBPMessage for MsgLinuxProcessSocketCounts { /// A list of processes with deep socket queues /// /// Top 10 list of sockets with deep queues. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -309,7 +303,6 @@ impl super::SBPMessage for MsgLinuxProcessSocketQueues { /// Summary of socket usage across the system /// /// Summaries the socket usage across the system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -355,7 +348,6 @@ impl super::SBPMessage for MsgLinuxSocketUsage { /// CPU, Memory and Process Starts/Stops /// /// This presents a summary of CPU and memory utilization. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/logging.rs b/rust/sbp/src/messages/logging.rs index a722cd7708..7c4053d585 100644 --- a/rust/sbp/src/messages/logging.rs +++ b/rust/sbp/src/messages/logging.rs @@ -30,7 +30,6 @@ use serde::{Deserialize, Serialize}; /// The source identifier indicates from what interface a forwarded stream derived. /// The protocol identifier identifies what the expected protocol the forwarded msg contains. /// Protocol 0 represents SBP and the remaining values are implementation defined. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -71,7 +70,6 @@ impl super::SBPMessage for MsgFwd { /// This message contains a human-readable payload string from the /// device containing errors, warnings and informational messages at /// ERROR, WARNING, DEBUG, INFO logging levels. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -107,7 +105,6 @@ impl super::SBPMessage for MsgLog { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/mag.rs b/rust/sbp/src/messages/mag.rs index dd90fb7e8b..2b7cec1ae4 100644 --- a/rust/sbp/src/messages/mag.rs +++ b/rust/sbp/src/messages/mag.rs @@ -23,7 +23,6 @@ use serde::{Deserialize, Serialize}; /// Raw magnetometer data /// /// Raw data from the magnetometer. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/navigation.rs b/rust/sbp/src/messages/navigation.rs index 9714d97fc1..ea7c538a4e 100644 --- a/rust/sbp/src/messages/navigation.rs +++ b/rust/sbp/src/messages/navigation.rs @@ -42,7 +42,6 @@ use serde::{Deserialize, Serialize}; /// /// This message reports the Age of the corrections used for the current /// Differential solution -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -82,7 +81,6 @@ impl super::SBPMessage for MsgAgeCorrections { /// vector distance from the base station to the rover receiver. The /// full GPS time is given by the preceding MSG_GPS_TIME with the /// matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -137,7 +135,6 @@ impl super::SBPMessage for MsgBaselineECEF { /// vector distance from the base station to the rover receiver. The /// full GPS time is given by the preceding MSG_GPS_TIME with the /// matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -190,7 +187,6 @@ impl super::SBPMessage for MsgBaselineECEFDepA { /// This message reports the baseline heading pointing from the base station /// to the rover relative to True North. The full GPS time is given by the /// preceding MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -237,7 +233,6 @@ impl super::SBPMessage for MsgBaselineHeadingDepA { /// system is defined at the local WGS84 tangent plane centered at the /// base station position. The full GPS time is given by the /// preceding MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -296,7 +291,6 @@ impl super::SBPMessage for MsgBaselineNED { /// system is defined at the local WGS84 tangent plane centered at the /// base station position. The full GPS time is given by the /// preceding MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -353,7 +347,6 @@ impl super::SBPMessage for MsgBaselineNEDDepA { /// navigation satellite geometry on positional measurement /// precision. The flags field indicated whether the DOP reported /// corresponds to differential or SPP solution. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -406,7 +399,6 @@ impl super::SBPMessage for MsgDops { /// This dilution of precision (DOP) message describes the effect of /// navigation satellite geometry on positional measurement /// precision. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -466,7 +458,6 @@ impl super::SBPMessage for MsgDopsDepA { /// set of other navigation messages referenced to the same time /// (but lacking the ns field) and indicates a more precise time of /// these messages. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -521,7 +512,6 @@ impl super::SBPMessage for MsgGPSTime { /// set of other navigation messages referenced to the same time /// (but lacking the ns field) and indicates a more precise time of /// these messages. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -571,7 +561,6 @@ impl super::SBPMessage for MsgGPSTimeDepA { /// solution using the base station position and the rover's RTK /// baseline vector. The full GPS time is given by the preceding /// MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -630,7 +619,6 @@ impl super::SBPMessage for MsgPosECEF { /// solution using the base station position and the rover's RTK /// baseline vector. The full GPS time is given by the preceding /// MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -703,7 +691,6 @@ impl super::SBPMessage for MsgPosECEFCov { /// solution using the base station position and the rover's RTK /// baseline vector. The full GPS time is given by the preceding /// MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -761,7 +748,6 @@ impl super::SBPMessage for MsgPosECEFDepA { /// station position and the rover's RTK baseline vector. The full /// GPS time is given by the preceding MSG_GPS_TIME with the /// matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -822,7 +808,6 @@ impl super::SBPMessage for MsgPosLLH { /// in the local-level North, East, Down frame, the covariance terms follow /// with that convention. Thus, covariances are reported against the "downward" /// measurement and care should be taken with the sign convention. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -895,7 +880,6 @@ impl super::SBPMessage for MsgPosLLHCov { /// station position and the rover's RTK baseline vector. The full /// GPS time is given by the preceding MSG_GPS_TIME with the /// matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -951,7 +935,6 @@ impl super::SBPMessage for MsgPosLLHDepA { /// This message reports the local vertical and horizontal protection levels /// associated with a given LLH position solution. The full GPS time is given /// by the preceding MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1003,7 +986,6 @@ impl super::SBPMessage for MsgProtectionLevel { /// /// This message reports the Universal Coordinated Time (UTC). Note the flags /// which indicate the source of the UTC offset value and source of the time fix. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1067,7 +1049,6 @@ impl super::SBPMessage for MsgUtcTime { /// The full GPS time is given by the preceding MSG_GPS_TIME with the /// matching time-of-week (tow). This message is only produced by inertial versions of Swift /// products and is not available from Piksi Multi or Duro. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1135,7 +1116,6 @@ impl super::SBPMessage for MsgVelBody { /// This message reports the velocity in Earth Centered Earth Fixed /// (ECEF) coordinates. The full GPS time is given by the preceding /// MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1188,7 +1168,6 @@ impl super::SBPMessage for MsgVelECEF { /// This message reports the velocity in Earth Centered Earth Fixed /// (ECEF) coordinates. The full GPS time is given by the preceding /// MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1256,7 +1235,6 @@ impl super::SBPMessage for MsgVelECEFCov { /// This message reports the velocity in Earth Centered Earth Fixed /// (ECEF) coordinates. The full GPS time is given by the preceding /// MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1310,7 +1288,6 @@ impl super::SBPMessage for MsgVelECEFDepA { /// coordinates. The NED coordinate system is defined as the local WGS84 /// tangent plane centered at the current position. The full GPS time is /// given by the preceding MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1369,7 +1346,6 @@ impl super::SBPMessage for MsgVelNED { /// given by the preceding MSG_GPS_TIME with the matching time-of-week (tow). /// This message is similar to the MSG_VEL_NED, but it includes the upper triangular /// portion of the 3x3 covariance matrix. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1438,7 +1414,6 @@ impl super::SBPMessage for MsgVelNEDCov { /// coordinates. The NED coordinate system is defined as the local WGS84 /// tangent plane centered at the current position. The full GPS time is /// given by the preceding MSG_GPS_TIME with the matching time-of-week (tow). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/ndb.rs b/rust/sbp/src/messages/ndb.rs index d9032af793..df911b6c6a 100644 --- a/rust/sbp/src/messages/ndb.rs +++ b/rust/sbp/src/messages/ndb.rs @@ -26,7 +26,6 @@ use serde::{Deserialize, Serialize}; /// /// This message is sent out when an object is stored into NDB. If needed /// message could also be sent out when fetching an object from NDB. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/observation.rs b/rust/sbp/src/messages/observation.rs index 9b1b0563d9..046f62a521 100644 --- a/rust/sbp/src/messages/observation.rs +++ b/rust/sbp/src/messages/observation.rs @@ -144,7 +144,6 @@ impl AlmanacCommonContentDep { /// cycles and 8-bits of fractional cycles. This has the opposite /// sign convention than a typical GPS receiver and the phase has /// the opposite sign as the pseudorange. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -188,7 +187,6 @@ impl CarrierPhaseDepA { /// fixed point number with Q16.8 layout, i.e. 16-bits of whole /// doppler and 8-bits of fractional doppler. This doppler is defined /// as positive for approaching satellites. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -454,7 +452,6 @@ impl GnssCapb { /// data is not very precise and is considered valid for up to several months. /// Please see the GLO ICD 5.1 "Chapter 4.5 Non-immediate information and /// almanac" for details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -512,7 +509,6 @@ impl super::SBPMessage for MsgAlmanacGlo { /// data is not very precise and is considered valid for up to several months. /// Please see the GLO ICD 5.1 "Chapter 4.5 Non-immediate information and /// almanac" for details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -570,7 +566,6 @@ impl super::SBPMessage for MsgAlmanacGloDep { /// data is not very precise and is considered valid for up to several months. /// Please see the Navstar GPS Space Segment/Navigation user interfaces /// (ICD-GPS-200, Chapter 20.3.3.5.1.2 Almanac Data) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -633,7 +628,6 @@ impl super::SBPMessage for MsgAlmanacGPS { /// data is not very precise and is considered valid for up to several months. /// Please see the Navstar GPS Space Segment/Navigation user interfaces /// (ICD-GPS-200, Chapter 20.3.3.5.1.2 Almanac Data) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -698,7 +692,6 @@ impl super::SBPMessage for MsgAlmanacGPSDep { /// is required to be a high-accuracy surveyed location of the base /// station. Any error here will result in an error in the /// pseudo-absolute position output. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -741,7 +734,6 @@ impl super::SBPMessage for MsgBasePosECEF { /// positioning, and is required to be a high-accuracy surveyed /// location of the base station. Any error here will result in an /// error in the pseudo-absolute position output. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -783,7 +775,6 @@ impl super::SBPMessage for MsgBasePosLLH { /// parameters that is used to calculate BDS satellite position, /// velocity, and clock offset. Please see the BeiDou Navigation /// Satellite System SIS-ICD Version 2.1, Table 5-9 for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -889,7 +880,6 @@ impl super::SBPMessage for MsgEphemerisBds { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1001,7 +991,6 @@ impl super::SBPMessage for MsgEphemerisDepA { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1120,7 +1109,6 @@ impl super::SBPMessage for MsgEphemerisDepB { /// velocity, and clock offset. Please see the Navstar GPS /// Space Segment/Navigation user interfaces (ICD-GPS-200, Table /// 20-III) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1245,7 +1233,6 @@ impl super::SBPMessage for MsgEphemerisDepC { /// velocity, and clock offset. Please see the Navstar GPS /// Space Segment/Navigation user interfaces (ICD-GPS-200, Table /// 20-III) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1369,7 +1356,6 @@ impl super::SBPMessage for MsgEphemerisDepD { /// parameters that is used to calculate Galileo satellite position, /// velocity, and clock offset. Please see the Signal In Space ICD /// OS SIS ICD, Issue 1.3, December 2016 for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1479,7 +1465,6 @@ impl super::SBPMessage for MsgEphemerisGal { /// /// This observation message has been deprecated in favor of /// an ephemeris message with explicit source of NAV data. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1589,7 +1574,6 @@ impl super::SBPMessage for MsgEphemerisGalDepA { /// velocity, and clock offset. Please see the GLO ICD 5.1 "Table 4.5 /// Characteristics of words of immediate information (ephemeris parameters)" /// for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1650,7 +1634,6 @@ impl super::SBPMessage for MsgEphemerisGlo { /// velocity, and clock offset. Please see the GLO ICD 5.1 "Table 4.5 /// Characteristics of words of immediate information (ephemeris parameters)" /// for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1702,7 +1685,6 @@ impl super::SBPMessage for MsgEphemerisGloDepA { /// velocity, and clock offset. Please see the GLO ICD 5.1 "Table 4.5 /// Characteristics of words of immediate information (ephemeris parameters)" /// for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1754,7 +1736,6 @@ impl super::SBPMessage for MsgEphemerisGloDepB { /// velocity, and clock offset. Please see the GLO ICD 5.1 "Table 4.5 /// Characteristics of words of immediate information (ephemeris parameters)" /// for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1809,7 +1790,6 @@ impl super::SBPMessage for MsgEphemerisGloDepC { /// /// This observation message has been deprecated in favor of /// ephemeris message using floats for size reduction. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1870,7 +1850,6 @@ impl super::SBPMessage for MsgEphemerisGloDepD { /// velocity, and clock offset. Please see the Navstar GPS /// Space Segment/Navigation user interfaces (ICD-GPS-200, Table /// 20-III) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1977,7 +1956,6 @@ impl super::SBPMessage for MsgEphemerisGPS { /// velocity, and clock offset. Please see the Navstar GPS /// Space Segment/Navigation user interfaces (ICD-GPS-200, Table /// 20-III) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2081,7 +2059,6 @@ impl super::SBPMessage for MsgEphemerisGPSDepE { /// /// This observation message has been deprecated in favor of /// ephemeris message using floats for size reduction. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2186,7 +2163,6 @@ impl super::SBPMessage for MsgEphemerisGPSDepF { /// The ephemeris message returns a set of satellite orbit /// parameters that is used to calculate QZSS satellite position, /// velocity, and clock offset. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2378,7 +2354,6 @@ impl super::SBPMessage for MsgEphemerisSbasDepA { /// /// This observation message has been deprecated in favor of /// ephemeris message using floats for size reduction. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2429,7 +2404,6 @@ impl super::SBPMessage for MsgEphemerisSbasDepB { /// GPS+GLONASS integer ambiguity resolution for baselines /// with mixed receiver types (e.g. receiver of different /// manufacturers) -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2506,7 +2480,6 @@ impl super::SBPMessage for MsgGnssCapb { /// Group Delay /// /// Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2552,7 +2525,6 @@ impl super::SBPMessage for MsgGroupDelay { /// Group Delay /// /// Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2598,7 +2570,6 @@ impl super::SBPMessage for MsgGroupDelayDepA { /// Group Delay /// /// Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2646,7 +2617,6 @@ impl super::SBPMessage for MsgGroupDelayDepB { /// The ionospheric parameters which allow the "L1 only" or "L2 only" user to /// utilize the ionospheric model for computation of the ionospheric delay. /// Please see ICD-GPS-200 (Chapter 20.3.3.5.1.7) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2701,7 +2671,6 @@ impl super::SBPMessage for MsgIono { /// whole cycles and 8-bits of fractional cycles). The observations /// are be interoperable with 3rd party receivers and conform /// with typical RTCMv3 GNSS observations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2737,7 +2706,6 @@ impl super::SBPMessage for MsgObs { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2778,7 +2746,6 @@ impl super::SBPMessage for MsgObsDepA { /// a nominal pseudorange which are not interoperable with /// most 3rd party GNSS receievers or typical RTCMv3 /// observations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2820,7 +2787,6 @@ impl super::SBPMessage for MsgObsDepB { /// whole cycles and 8-bits of fractional cycles). The observations /// are interoperable with 3rd party receivers and conform /// with typical RTCMv3 GNSS observations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2856,7 +2822,6 @@ impl super::SBPMessage for MsgObsDepC { /// OSR corrections /// /// The OSR message contains network corrections in an observation-like format -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2893,7 +2858,6 @@ impl super::SBPMessage for MsgOsr { /// /// Azimuth and elevation angles of all the visible satellites /// that the device does have ephemeris or almanac for. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2926,7 +2890,6 @@ impl super::SBPMessage for MsgSvAzEl { /// L2C capability mask /// /// Please see ICD-GPS-200 (Chapter 20.3.3.5.1.4) for more details. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -2962,7 +2925,6 @@ impl super::SBPMessage for MsgSvConfigurationGPSDep { /// Header for observation message. /// /// Header of a GNSS observation message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3004,7 +2966,6 @@ impl ObservationHeader { /// Header for observation message. /// /// Header of a GPS observation message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3052,7 +3013,6 @@ impl ObservationHeaderDep { /// Carrier phase observations are not guaranteed to be aligned to the RINEX 3 /// or RTCM 3.3 MSM reference signal and no 1/4 cycle adjustments are currently /// peformed. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3115,7 +3075,6 @@ impl PackedObsContent { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3168,7 +3127,6 @@ impl PackedObsContentDepA { /// /// Pseudorange and carrier phase observation for a satellite being /// tracked. Pseudoranges are referenced to a nominal pseudorange. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3222,7 +3180,6 @@ impl PackedObsContentDepB { /// Pseudorange and carrier phase observation for a satellite being /// tracked. The observations are be interoperable with 3rd party /// receivers and conform with typical RTCMv3 GNSS observations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3274,7 +3231,6 @@ impl PackedObsContentDepC { /// Network correction for a particular satellite signal. /// /// Pseudorange and carrier phase network corrections for a satellite signal. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -3338,7 +3294,6 @@ impl PackedOsrContent { /// Satellite azimuth and elevation. /// /// Satellite azimuth and elevation. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/orientation.rs b/rust/sbp/src/messages/orientation.rs index 6916959826..92b79d8c63 100644 --- a/rust/sbp/src/messages/orientation.rs +++ b/rust/sbp/src/messages/orientation.rs @@ -31,7 +31,6 @@ use serde::{Deserialize, Serialize}; /// direction, and the vehicle z-axis should be aligned with the down direction. /// This message will only be available in future INS versions of Swift Products /// and is not produced by Piksi Multi or Duro. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -79,7 +78,6 @@ impl super::SBPMessage for MsgAngularRate { /// to the rover relative to True North. The full GPS time is given by the /// preceding MSG_GPS_TIME with the matching time-of-week (tow). It is intended /// that time-matched RTK mode is used when the base station is moving. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -125,7 +123,6 @@ impl super::SBPMessage for MsgBaselineHeading { /// in order to rotate the from a frame aligned with the local-level NED frame /// to the vehicle body frame. This message will only be available in future /// INS versions of Swift Products and is not produced by Piksi Multi or Duro. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -183,7 +180,6 @@ impl super::SBPMessage for MsgOrientEuler { /// vector assuming that the LSB of each component as a value of 2^-31. This message will only /// be available in future INS versions of Swift Products and is not produced by Piksi Multi /// or Duro. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/piksi.rs b/rust/sbp/src/messages/piksi.rs index 1eb57c3631..dabf636e55 100644 --- a/rust/sbp/src/messages/piksi.rs +++ b/rust/sbp/src/messages/piksi.rs @@ -31,7 +31,6 @@ use serde::{Deserialize, Serialize}; /// compared to the current GPS time calculated locally by the /// receiver to give a precise measurement of the end-to-end /// communication latency in the system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -76,7 +75,6 @@ impl Latency { /// /// This is a legacy message for sending and loading a satellite /// alamanac onto the Piksi's flash memory from the host. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -106,7 +104,6 @@ impl super::SBPMessage for MsgAlmanac { /// If a cell modem is present on a piksi device, this message /// will be send periodically to update the host on the status /// of the modem and its various parameters. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -148,7 +145,6 @@ impl super::SBPMessage for MsgCellModemStatus { /// command requested by MSG_COMMAND_REQ. /// The sequence number can be used to filter for filtering /// the correct command. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -186,7 +182,6 @@ impl super::SBPMessage for MsgCommandOutput { /// Request the recipient to execute an command. /// Output will be sent in MSG_LOG messages, and the exit /// code will be returned with MSG_COMMAND_RESP. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -223,7 +218,6 @@ impl super::SBPMessage for MsgCommandReq { /// /// The response to MSG_COMMAND_REQ with the return code of /// the command. A return code of zero indicates success. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -261,7 +255,6 @@ impl super::SBPMessage for MsgCommandResp { /// This is an unused legacy message for result reporting from the /// CW interference channel on the SwiftNAP. This message will be /// removed in a future release. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -291,7 +284,6 @@ impl super::SBPMessage for MsgCwResults { /// This is an unused legacy message from the host for starting /// the CW interference channel on the SwiftNAP. This message will /// be removed in a future release. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -321,7 +313,6 @@ impl super::SBPMessage for MsgCwStart { /// This message contains temperature and voltage level measurements from the /// processor's monitoring system and the RF frontend die temperature if /// available. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -369,9 +360,9 @@ impl super::SBPMessage for MsgDeviceMonitor { /// gain is encoded as a non-dimensional percentage relative to the maximum range /// possible for the gain stage of the frontend. By convention, each gain array /// has 8 entries and the index of the array corresponding to the index of the rf channel -/// in the frontend. A gain of 127 percent encodes that rf channel is not present in the hardware. -/// A negative value implies an error for the particular gain stage as reported by the frontend. -/// +/// in the frontend. A gain of 127 percent encodes that rf channel is not present in the +/// hardware. A negative value implies an error for the particular gain stage as reported by +/// the frontend. #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -410,7 +401,6 @@ impl super::SBPMessage for MsgFrontEndGain { /// Resolution (IAR) process, which resolves unknown integer /// ambiguities from double-differenced carrier-phase measurements /// from satellite observations. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -443,7 +433,6 @@ impl super::SBPMessage for MsgIarState { /// Deprecated /// /// Deprecated -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -472,7 +461,6 @@ impl super::SBPMessage for MsgInitBaseDep { /// /// This message allows setting a mask to prevent a particular satellite /// from being used in various Piksi subsystems. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -508,7 +496,6 @@ impl super::SBPMessage for MsgMaskSatellite { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -544,7 +531,6 @@ impl super::SBPMessage for MsgMaskSatelliteDep { /// Bandwidth usage reporting message /// /// The bandwidth usage, a list of usage by interface. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -578,7 +564,6 @@ impl super::SBPMessage for MsgNetworkBandwidthUsage { /// /// Request state of Piksi network interfaces. /// Output will be sent in MSG_NETWORK_STATE_RESP messages -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -608,7 +593,6 @@ impl super::SBPMessage for MsgNetworkStateReq { /// The state of a network interface on the Piksi. /// Data is made to reflect output of ifaddrs struct returned by getifaddrs /// in c. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -663,7 +647,6 @@ impl super::SBPMessage for MsgNetworkStateResp { /// /// This message from the host resets the Piksi back into the /// bootloader. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -697,7 +680,6 @@ impl super::SBPMessage for MsgReset { /// /// This message from the host resets the Piksi back into the /// bootloader. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -726,7 +708,6 @@ impl super::SBPMessage for MsgResetDep { /// /// This message resets either the DGNSS Kalman filters or Integer /// Ambiguity Resolution (IAR) process. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -760,7 +741,6 @@ impl super::SBPMessage for MsgResetFilters { /// /// This message sets up timing functionality using a coarse GPS /// time estimate sent by the host. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -788,7 +768,6 @@ impl super::SBPMessage for MsgSetTime { /// Spectrum analyzer /// /// Spectrum analyzer packet. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -839,7 +818,6 @@ impl super::SBPMessage for MsgSpecan { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -892,7 +870,6 @@ impl super::SBPMessage for MsgSpecanDep { /// The thread usage message from the device reports real-time /// operating system (RTOS) thread usage statistics for the named /// thread. The reported percentage values must be normalized. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -940,7 +917,6 @@ impl super::SBPMessage for MsgThreadState { /// health of the differential corrections link. Latency provides /// the timeliness of received base observations while the /// period indicates their likelihood of transmission. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -985,7 +961,6 @@ impl super::SBPMessage for MsgUartState { /// Deprecated /// /// Deprecated -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1032,7 +1007,6 @@ impl super::SBPMessage for MsgUartStateDepa { /// either the interval of collection or the collection time /// may vary, both a timestamp and period field is provided, /// though may not necessarily be populated with a value. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1084,7 +1058,6 @@ impl NetworkUsage { /// This measurement provides a proxy for link quality as incomplete /// or missing sets will increase the period. Long periods /// can cause momentary RTK solution outages. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -1130,7 +1103,6 @@ impl Period { /// Throughput, utilization, and error counts on the RX/TX buffers /// of this UART channel. The reported percentage values must /// be normalized. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/sbas.rs b/rust/sbp/src/messages/sbas.rs index e2562600e0..5eef5a656a 100644 --- a/rust/sbp/src/messages/sbas.rs +++ b/rust/sbp/src/messages/sbas.rs @@ -25,7 +25,6 @@ use serde::{Deserialize, Serialize}; /// /// This message is sent once per second per SBAS satellite. ME checks the /// parity of the data block and sends only blocks that pass the check. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/settings.rs b/rust/sbp/src/messages/settings.rs index a45b8363e3..cbaa36aac7 100644 --- a/rust/sbp/src/messages/settings.rs +++ b/rust/sbp/src/messages/settings.rs @@ -49,7 +49,6 @@ use serde::{Deserialize, Serialize}; /// Finished reading settings (host <= device) /// /// The settings message for indicating end of the settings values. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -79,7 +78,6 @@ impl super::SBPMessage for MsgSettingsReadByIndexDone { /// The settings message for iterating through the settings /// values. A device will respond to this message with a /// "MSG_SETTINGS_READ_BY_INDEX_RESP". -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -122,7 +120,6 @@ impl super::SBPMessage for MsgSettingsReadByIndexReq { /// included, the format type portion of the string has the format /// "enum:value1,value2,value3". An example string that could be sent from /// the device is "simulator\0enabled\0True\0enum:True,False\0" -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -167,7 +164,6 @@ impl super::SBPMessage for MsgSettingsReadByIndexResp { /// device will only respond to this message when it is received from /// sender ID 0x42. A device should respond with a MSG_SETTINGS_READ_RESP /// message (msg_id 0x00A5). -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -207,7 +203,6 @@ impl super::SBPMessage for MsgSettingsReadReq { /// denotes the NULL character and where quotation marks are omitted. An /// example string that could be sent from device is /// "solution\0soln_freq\010\0". -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -243,7 +238,6 @@ impl super::SBPMessage for MsgSettingsReadResp { /// This message registers the presence and default value of a setting /// with a settings daemon. The host should reply with MSG_SETTINGS_WRITE /// for this setting to set the initial value. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -280,7 +274,6 @@ impl super::SBPMessage for MsgSettingsRegister { /// The effective value shall differ from the given default value if setting /// was already registered or is available in the permanent setting storage /// and had a different value. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -319,7 +312,6 @@ impl super::SBPMessage for MsgSettingsRegisterResp { /// /// The save settings message persists the device's current settings /// configuration to its onboard flash memory file system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -353,7 +345,6 @@ impl super::SBPMessage for MsgSettingsSave { /// only process to this message when it is received from sender ID 0x42. /// An example string that could be sent to a device is /// "solution\0soln_freq\010\0". -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -393,7 +384,6 @@ impl super::SBPMessage for MsgSettingsWrite { /// escape sequence denotes the NULL character and where quotation marks /// are omitted. An example string that could be sent from device is /// "solution\0soln_freq\010\0". -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/ssr.rs b/rust/sbp/src/messages/ssr.rs index 71d810131f..bae5dfcc52 100644 --- a/rust/sbp/src/messages/ssr.rs +++ b/rust/sbp/src/messages/ssr.rs @@ -25,7 +25,6 @@ use serde::{Deserialize, Serialize}; /// /// Code biases are to be added to pseudorange. /// The corrections conform with typical RTCMv3 MT1059 and 1065. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -67,7 +66,6 @@ impl CodeBiasesContent { /// /// Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages. /// Also includes an RLE encoded validity list. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -123,7 +121,6 @@ impl GridDefinitionHeader { /// /// Contains one tropo delay, plus STEC residuals for each satellite at the /// grid point. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -166,7 +163,6 @@ impl GridElement { /// The 3GPP message contains nested variable length arrays /// which are not suppported in SBP, so each grid point will /// be identified by the index. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -224,7 +220,6 @@ impl GriddedCorrectionHeader { /// to the pseudorange of the corresponding signal /// to get corrected pseudorange. It is typically /// an equivalent to the 1059 and 1065 RTCM message types -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -272,7 +267,6 @@ impl super::SBPMessage for MsgSsrCodeBiases { /// /// STEC residuals are per space vehicle, tropo is not. /// It is typically equivalent to the QZSS CLAS Sub Type 9 messages -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -309,7 +303,6 @@ impl super::SBPMessage for MsgSsrGriddedCorrection { /// /// Based on the 3GPP proposal R2-1906781 which is in turn based on /// OMA-LPPe-ValidityArea from OMA-TS-LPPe-V2_0-20141202-C -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -351,7 +344,6 @@ impl super::SBPMessage for MsgSsrGridDefinition { /// to be applied as a delta correction to broadcast /// ephemeris and is typically an equivalent to the 1060 /// and 1066 RTCM message types -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -428,7 +420,6 @@ impl super::SBPMessage for MsgSsrOrbitClock { /// to be applied as a delta correction to broadcast /// ephemeris and is typically an equivalent to the 1060 /// and 1066 RTCM message types -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -507,7 +498,6 @@ impl super::SBPMessage for MsgSsrOrbitClockDepA { /// well as the satellite yaw angle to be applied to compute /// the phase wind-up correction. /// It is typically an equivalent to the 1265 RTCM message types -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -569,7 +559,6 @@ impl super::SBPMessage for MsgSsrPhaseBiases { /// a given grid. This should be combined with MSG_SSR_GRIDDED_CORRECTION /// message to get the state space representation of the atmospheric /// delay. It is typically equivalent to the QZSS CLAS Sub Type 8 messages -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -606,7 +595,6 @@ impl super::SBPMessage for MsgSsrStecCorrection { /// /// Phase biases are to be added to carrier phase measurements. /// The corrections conform with typical RTCMv3 MT1059 and 1065. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -659,7 +647,6 @@ impl PhaseBiasesContent { /// A full set of STEC information will likely span multiple SBP /// messages, since SBP message a limited to 255 bytes. The header /// is used to tie multiple SBP messages into a sequence. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -707,7 +694,6 @@ impl STECHeader { /// None /// /// STEC residual for the given satellite at the grid point. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -745,7 +731,6 @@ impl STECResidual { /// None /// /// STEC polynomial for the given satellite. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -790,7 +775,6 @@ impl STECSatElement { /// None /// /// Troposphere vertical delays at the grid point. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/system.rs b/rust/sbp/src/messages/system.rs index ebcdf1fc11..bdda5bac61 100644 --- a/rust/sbp/src/messages/system.rs +++ b/rust/sbp/src/messages/system.rs @@ -25,7 +25,6 @@ use serde::{Deserialize, Serialize}; /// The CSAC telemetry message has an implementation defined telemetry string /// from a device. It is not produced or available on general Swift Products. /// It is intended to be a low rate message for status purposes. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -64,7 +63,6 @@ impl super::SBPMessage for MsgCsacTelemetry { /// The CSAC telemetry message provides labels for each member of the string /// produced by MSG_CSAC_TELEMETRY. It should be provided by a device at a lower /// rate than the MSG_CSAC_TELEMETRY. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -103,7 +101,6 @@ impl super::SBPMessage for MsgCsacTelemetryLabels { /// This message provides information about the receipt of Differential /// corrections. It is expected to be sent with each receipt of a complete /// corrections packet. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -154,7 +151,6 @@ impl super::SBPMessage for MsgDgnssStatus { /// The system error flag is used to indicate that an error has /// occurred in the system. To determine the source of the error, /// the remaining error flags should be inspected. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -188,7 +184,6 @@ impl super::SBPMessage for MsgHeartbeat { /// /// The INS status message describes the state of the operation /// and initialization of the inertial navigation system. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -224,7 +219,6 @@ impl super::SBPMessage for MsgInsStatus { /// start-up. It notifies the host or other attached devices that /// the system has started and is now ready to respond to commands /// or configuration requests. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/tracking.rs b/rust/sbp/src/messages/tracking.rs index 8a6204fee3..5fe7f1b9e4 100644 --- a/rust/sbp/src/messages/tracking.rs +++ b/rust/sbp/src/messages/tracking.rs @@ -27,7 +27,6 @@ use serde::{Deserialize, Serialize}; /// The tracking message returns a variable-length array of tracking /// channel states. It reports status and carrier-to-noise density /// measurements for all tracked satellites. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -61,7 +60,6 @@ impl super::SBPMessage for MsgMeasurementState { /// /// When enabled, a tracking channel can output the correlations at each /// update interval. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -100,7 +98,6 @@ impl super::SBPMessage for MsgTrackingIq { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -140,7 +137,6 @@ impl super::SBPMessage for MsgTrackingIqDepA { /// /// When enabled, a tracking channel can output the correlations at each /// update interval. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -181,7 +177,6 @@ impl super::SBPMessage for MsgTrackingIqDepB { /// The tracking message returns a variable-length array of tracking /// channel states. It reports status and carrier-to-noise density /// measurements for all tracked satellites. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -214,7 +209,6 @@ impl super::SBPMessage for MsgTrackingState { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -247,7 +241,6 @@ impl super::SBPMessage for MsgTrackingStateDepA { /// Deprecated. /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -280,7 +273,6 @@ impl super::SBPMessage for MsgTrackingStateDepB { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -380,7 +372,6 @@ impl super::SBPMessage for MsgTrackingStateDetailedDep { /// /// The tracking message returns a set tracking channel parameters for a /// single tracking channel useful for debugging issues. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -483,7 +474,6 @@ impl super::SBPMessage for MsgTrackingStateDetailedDepA { /// The mesid field for Glonass can either /// carry the FCN as 100 + FCN where FCN is in [-7, +6] or /// the Slot ID (from 1 to 28) -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -525,7 +515,6 @@ impl MeasurementState { /// Complex correlation structure /// /// Structure containing in-phase and quadrature correlation components. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -566,7 +555,6 @@ impl TrackingChannelCorrelation { /// Complex correlation structure /// /// Structure containing in-phase and quadrature correlation components. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -610,7 +598,6 @@ impl TrackingChannelCorrelationDep { /// /// Tracking channel state for a specific satellite signal and /// measured signal power. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -654,7 +641,6 @@ impl TrackingChannelState { /// Deprecated /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] @@ -698,7 +684,6 @@ impl TrackingChannelStateDepA { /// Deprecated. /// /// Deprecated. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/user.rs b/rust/sbp/src/messages/user.rs index 3ed6f44ba5..9284b605e0 100644 --- a/rust/sbp/src/messages/user.rs +++ b/rust/sbp/src/messages/user.rs @@ -25,7 +25,6 @@ use serde::{Deserialize, Serialize}; /// /// This message can contain any application specific user data up to a /// maximum length of 255 bytes per message. -/// #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/vehicle.rs b/rust/sbp/src/messages/vehicle.rs index 1157685063..d3b9f486a7 100644 --- a/rust/sbp/src/messages/vehicle.rs +++ b/rust/sbp/src/messages/vehicle.rs @@ -24,10 +24,9 @@ use serde::{Deserialize, Serialize}; /// /// Message representing the x component of vehicle velocity in the user frame at the odometry /// reference point(s) specified by the user. The offset for the odometry reference point and -/// the definition and origin of the user frame are defined through the device settings interface. -/// There are 4 possible user-defined sources of this message which are labeled arbitrarily -/// source 0 through 3. -/// +/// the definition and origin of the user frame are defined through the device settings +/// interface. There are 4 possible user-defined sources of this message which are labeled +/// arbitrarily source 0 through 3. #[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/parser/mod.rs b/rust/sbp/src/parser/mod.rs index ae781bbd30..7245d9a695 100644 --- a/rust/sbp/src/parser/mod.rs +++ b/rust/sbp/src/parser/mod.rs @@ -103,7 +103,10 @@ impl Parser { let mut local_buffer = vec![0; Parser::BUF_SIZE]; let read_bytes = input.read(local_buffer.as_mut())?; if read_bytes == 0 { - return Err(crate::Error::IoError(std::io::Error::new(std::io::ErrorKind::UnexpectedEof, ""))); + return Err(crate::Error::IoError(std::io::Error::new( + std::io::ErrorKind::UnexpectedEof, + "", + ))); } self.buffer.extend_from_slice(&local_buffer[..read_bytes]); Ok(read_bytes) @@ -129,7 +132,7 @@ impl Parser { } if self.buffer.is_empty() { - break Err(crate::Error::NotEnoughData) + break Err(crate::Error::NotEnoughData); } } } diff --git a/rust/sbp/tests/auto_check_sbp_acquisition_1.rs b/rust/sbp/tests/auto_check_sbp_acquisition_1.rs index 4598e68228..2348a2ddf4 100644 --- a/rust/sbp/tests/auto_check_sbp_acquisition_1.rs +++ b/rust/sbp/tests/auto_check_sbp_acquisition_1.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqResultDepB.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqResultDepB.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_acquisition_2.rs b/rust/sbp/tests/auto_check_sbp_acquisition_2.rs index 661effde59..d3d1618e95 100644 --- a/rust/sbp/tests/auto_check_sbp_acquisition_2.rs +++ b/rust/sbp/tests/auto_check_sbp_acquisition_2.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqResultDepC.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqResultDepC.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_acquisition_38.rs b/rust/sbp/tests/auto_check_sbp_acquisition_38.rs index 1ef7aba347..38b961a829 100644 --- a/rust/sbp/tests/auto_check_sbp_acquisition_38.rs +++ b/rust/sbp/tests/auto_check_sbp_acquisition_38.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_acquisition.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_acquisition.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_bootload_39.rs b/rust/sbp/tests/auto_check_sbp_bootload_39.rs index f8e7c43a6c..de18262fb7 100644 --- a/rust/sbp/tests/auto_check_sbp_bootload_39.rs +++ b/rust/sbp/tests/auto_check_sbp_bootload_39.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_bootload.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_bootload.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_ext_events_40.rs b/rust/sbp/tests/auto_check_sbp_ext_events_40.rs index ca3449c64e..ed7fd16b1f 100644 --- a/rust/sbp/tests/auto_check_sbp_ext_events_40.rs +++ b/rust/sbp/tests/auto_check_sbp_ext_events_40.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_ext_events.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_ext_events.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_logging_41.rs b/rust/sbp/tests/auto_check_sbp_logging_41.rs index a466571c96..9ce090b1bd 100644 --- a/rust/sbp/tests/auto_check_sbp_logging_41.rs +++ b/rust/sbp/tests/auto_check_sbp_logging_41.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_logging.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_logging.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_logging_42.rs b/rust/sbp/tests/auto_check_sbp_logging_42.rs index c8dcaadb7a..91a936ac7c 100644 --- a/rust/sbp/tests/auto_check_sbp_logging_42.rs +++ b/rust/sbp/tests/auto_check_sbp_logging_42.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_msgFwd.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_msgFwd.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_10.rs b/rust/sbp/tests/auto_check_sbp_navigation_10.rs index 2a6a10db0f..c906647db1 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_10.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_10.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgGPSTime.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgGPSTime.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_11.rs b/rust/sbp/tests/auto_check_sbp_navigation_11.rs index 17c4025ced..9e8e0cb9c0 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_11.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_11.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgGPSTimeDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgGPSTimeDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_12.rs b/rust/sbp/tests/auto_check_sbp_navigation_12.rs index ce20f924a3..0cd8bcc925 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_12.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_12.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosECEF.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosECEF.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_13.rs b/rust/sbp/tests/auto_check_sbp_navigation_13.rs index 1994e8ce7b..66e6e89233 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_13.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_13.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosECEFCov.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosECEFCov.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_14.rs b/rust/sbp/tests/auto_check_sbp_navigation_14.rs index f324e4dfa3..c500acc206 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_14.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_14.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosECEFDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosECEFDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_15.rs b/rust/sbp/tests/auto_check_sbp_navigation_15.rs index b3403e0634..37b9126d90 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_15.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_15.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosLLH.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosLLH.yaml by generate.py. Do not modify by +// hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_16.rs b/rust/sbp/tests/auto_check_sbp_navigation_16.rs index c429a20f8b..f90da628d9 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_16.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_16.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosLLHCov.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosLLHCov.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_17.rs b/rust/sbp/tests/auto_check_sbp_navigation_17.rs index 42deff877e..27cb405585 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_17.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_17.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosLLHDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgPosLLHDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_18.rs b/rust/sbp/tests/auto_check_sbp_navigation_18.rs index 5c3fcb1151..fd1d7d17f0 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_18.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_18.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelBody.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelBody.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_19.rs b/rust/sbp/tests/auto_check_sbp_navigation_19.rs index 3ccca615e7..83b261649e 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_19.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_19.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelECEF.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelECEF.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_20.rs b/rust/sbp/tests/auto_check_sbp_navigation_20.rs index 1238a11137..8431994d10 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_20.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_20.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelECEFCov.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelECEFCov.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_21.rs b/rust/sbp/tests/auto_check_sbp_navigation_21.rs index 39bcfd44fa..a45a39d4b3 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_21.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_21.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelECEFDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelECEFDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_22.rs b/rust/sbp/tests/auto_check_sbp_navigation_22.rs index 62fbd13809..80441916e2 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_22.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_22.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelNED.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelNED.yaml by generate.py. Do not modify by +// hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_23.rs b/rust/sbp/tests/auto_check_sbp_navigation_23.rs index 429fcf0ecf..29be9c2793 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_23.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_23.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelNEDCOV.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelNEDCOV.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_24.rs b/rust/sbp/tests/auto_check_sbp_navigation_24.rs index bd399893ef..bcaeb07446 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_24.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_24.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelNEDDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgVelNEDDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_3.rs b/rust/sbp/tests/auto_check_sbp_navigation_3.rs index 8f592c5592..cddf004117 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_3.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_3.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgAgeCorrections.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgAgeCorrections.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_4.rs b/rust/sbp/tests/auto_check_sbp_navigation_4.rs index 161f83c36d..2b95344cd0 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_4.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_4.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineECEF.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineECEF.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_43.rs b/rust/sbp/tests/auto_check_sbp_navigation_43.rs index 23a6d7b0b0..49b9c54fbf 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_43.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_43.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_navigation.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_navigation.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_5.rs b/rust/sbp/tests/auto_check_sbp_navigation_5.rs index f00b5832ab..6e6cccc7f4 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_5.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_5.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineECEFDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineECEFDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_6.rs b/rust/sbp/tests/auto_check_sbp_navigation_6.rs index 7b1f10be04..650ffc120d 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_6.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_6.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineNED.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineNED.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_7.rs b/rust/sbp/tests/auto_check_sbp_navigation_7.rs index 7761c44c63..103e1bcf9c 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_7.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_7.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineNEDDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgBaselineNEDDepA.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_8.rs b/rust/sbp/tests/auto_check_sbp_navigation_8.rs index 45dc7807b9..b7be64a1fc 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_8.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_8.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgDops.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgDops.yaml +// by generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_navigation_9.rs b/rust/sbp/tests/auto_check_sbp_navigation_9.rs index 06099b5b19..8e5d60db88 100644 --- a/rust/sbp/tests/auto_check_sbp_navigation_9.rs +++ b/rust/sbp/tests/auto_check_sbp_navigation_9.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/navigation/test_MsgDopsDepA.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/navigation/test_MsgDopsDepA.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_observation_25.rs b/rust/sbp/tests/auto_check_sbp_observation_25.rs index 168fbfd983..9f297bbc9f 100644 --- a/rust/sbp/tests/auto_check_sbp_observation_25.rs +++ b/rust/sbp/tests/auto_check_sbp_observation_25.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/observation/test_MsgObsDepC.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/observation/test_MsgObsDepC.yaml by generate.py. Do not modify +// by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_observation_26.rs b/rust/sbp/tests/auto_check_sbp_observation_26.rs index d66b787238..6aee515326 100644 --- a/rust/sbp/tests/auto_check_sbp_observation_26.rs +++ b/rust/sbp/tests/auto_check_sbp_observation_26.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/observation/test_MsgObs_dep_b.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/observation/test_MsgObs_dep_b.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_observation_44.rs b/rust/sbp/tests/auto_check_sbp_observation_44.rs index ee36e7716d..0ed8a8f87d 100644 --- a/rust/sbp/tests/auto_check_sbp_observation_44.rs +++ b/rust/sbp/tests/auto_check_sbp_observation_44.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_observation.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/test_observation.yaml by +// generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_orientation_27.rs b/rust/sbp/tests/auto_check_sbp_orientation_27.rs index 75cb4c0406..b16141419e 100644 --- a/rust/sbp/tests/auto_check_sbp_orientation_27.rs +++ b/rust/sbp/tests/auto_check_sbp_orientation_27.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/orientation/test_MsgAngularRate.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/orientation/test_MsgAngularRate.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_orientation_28.rs b/rust/sbp/tests/auto_check_sbp_orientation_28.rs index 7b3ba25048..a986912a48 100644 --- a/rust/sbp/tests/auto_check_sbp_orientation_28.rs +++ b/rust/sbp/tests/auto_check_sbp_orientation_28.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/orientation/test_MsgOrientEuler.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/orientation/test_MsgOrientEuler.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_orientation_29.rs b/rust/sbp/tests/auto_check_sbp_orientation_29.rs index 62b9f4c155..404aa2e1c2 100644 --- a/rust/sbp/tests/auto_check_sbp_orientation_29.rs +++ b/rust/sbp/tests/auto_check_sbp_orientation_29.rs @@ -9,7 +9,9 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/orientation/test_MsgOrientQuat.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from +// spec/tests/yaml/swiftnav/sbp/orientation/test_MsgOrientQuat.yaml by generate.py. Do not +// modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_piksi_30.rs b/rust/sbp/tests/auto_check_sbp_piksi_30.rs index b93747f1c2..6a3908a43c 100644 --- a/rust/sbp/tests/auto_check_sbp_piksi_30.rs +++ b/rust/sbp/tests/auto_check_sbp_piksi_30.rs @@ -9,7 +9,8 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. -// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/piksi/test_MsgIarState.yaml by generate.py. Do not modify by hand! +// This file was auto-generated from spec/tests/yaml/swiftnav/sbp/piksi/test_MsgIarState.yaml +// by generate.py. Do not modify by hand! extern crate sbp; use sbp::messages::SBPMessage; diff --git a/rust/sbp/tests/auto_check_sbp_piksi_31.rs b/rust/sbp/tests/auto_check_sbp_piksi_31.rs index b7b62dd83bd4a7bba308620f017a6443339162de..f126168e1a980ff54882c7063c0843671e5ded69 100644 GIT binary patch delta 24 dcmaFv{nmQ}I} Date: Wed, 13 Nov 2019 18:57:20 -0800 Subject: [PATCH 11/11] Update changelog --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ Makefile | 1 + 2 files changed, 32 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88cd27b799..36ee3066ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Change Log +## [v2.7.3](https://github.com/swift-nav/libsbp/tree/v2.7.3) + +[Full Changelog](https://github.com/swift-nav/libsbp/compare/v2.7.1...v2.7.3) + +**Closed issues:** + +- sbp2rinex does not generate valid rinex when using toJson\(\) method from SBPMessage.java [\#720](https://github.com/swift-nav/libsbp/issues/720) + +**Merged pull requests:** + +- Allow max reconnects to be specified as a parameter \[ESD-1603\] \[TTI-2\] [\#756](https://github.com/swift-nav/libsbp/pull/756) +- Miscellaneous clean up of Rust bindings [\#754](https://github.com/swift-nav/libsbp/pull/754) +- Get rust example building [\#753](https://github.com/swift-nav/libsbp/pull/753) +- Cannot compare int and NoneType in python3 [\#752](https://github.com/swift-nav/libsbp/pull/752) +- Added check for a couple of needed commands to build rust. [\#750](https://github.com/swift-nav/libsbp/pull/750) +- Added typescript module declaration file [\#749](https://github.com/swift-nav/libsbp/pull/749) +- Changed C++ wrapper to not require non-const access to the buffer when sending [\#748](https://github.com/swift-nav/libsbp/pull/748) +- Added optional serialize feature to rust crate [\#747](https://github.com/swift-nav/libsbp/pull/747) +- Update check [\#746](https://github.com/swift-nav/libsbp/pull/746) +- Add unit tests for Rust [\#745](https://github.com/swift-nav/libsbp/pull/745) +- Fix compiler warnings found in libsettings build [\#743](https://github.com/swift-nav/libsbp/pull/743) +- Import libcheck as submodule [\#742](https://github.com/swift-nav/libsbp/pull/742) +- Use common test targets module [\#740](https://github.com/swift-nav/libsbp/pull/740) +- Add C++ support [\#739](https://github.com/swift-nav/libsbp/pull/739) +- Fix Rust generation to generate in the same order [\#738](https://github.com/swift-nav/libsbp/pull/738) +- \[STAR-789\] Add proposed Protection Level message [\#737](https://github.com/swift-nav/libsbp/pull/737) +- Star 833 [\#736](https://github.com/swift-nav/libsbp/pull/736) +- Generate JSON schema definitions for web clients [\#735](https://github.com/swift-nav/libsbp/pull/735) +- Update libsbp ARM builders [\#733](https://github.com/swift-nav/libsbp/pull/733) +- Modify to work with Rust's bindgen [\#706](https://github.com/swift-nav/libsbp/pull/706) + ## [v2.7.1](https://github.com/swift-nav/libsbp/tree/v2.7.1) [Full Changelog](https://github.com/swift-nav/libsbp/compare/v2.7.0...v2.7.1) diff --git a/Makefile b/Makefile index d181aa4de3..0634d06cd8 100644 --- a/Makefile +++ b/Makefile @@ -395,6 +395,7 @@ release: github_changelog_generator --no-author \ --max-issues $(CHANGELOG_MAX_ISSUES) \ -t $(CHANGELOG_GITHUB_TOKEN)$ \ + --user swift-nav --project libsbp \ -o DRAFT_CHANGELOG.md \ swift-nav/libsbp $(call announce-end,"Added CHANGELOG details to DRAFT_CHANGELOG.md!")