From 0354179332800cfc31bb637480316c20de932e57 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 24 Jul 2023 15:52:25 -0700 Subject: [PATCH 1/6] submodules: bump libsettings [DIP-59] --- src/libsettings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsettings b/src/libsettings index cd82403..2771773 160000 --- a/src/libsettings +++ b/src/libsettings @@ -1 +1 @@ -Subproject commit cd824037248f24404e9bfb7319c837eb04aa28a8 +Subproject commit 277177363fd747fbc0c26afa0f4c2ec40cdea813 From 8cfc9a3e35fe5812e82643d9e6e3f9c03503ce0e Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 24 Jul 2023 15:58:27 -0700 Subject: [PATCH 2/6] fix test --- src/setting.rs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/setting.rs b/src/setting.rs index 139edb9..24e7ea9 100644 --- a/src/setting.rs +++ b/src/setting.rs @@ -333,23 +333,7 @@ mod tests { fn test_find_setting() { assert_eq!( Setting::find("solution", "soln_freq"), - Some(&Setting { - name: "soln_freq".into(), - group: "solution".into(), - kind: SettingKind::Integer, - readonly: false, - expert: false, - units: Some("Hz".into()), - default_value: Some("10".into()), - description: Some("The frequency at which GNSS navigation solution is computed.\n".into()), - notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used \ - satellites. \nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute \ - maximum with \na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi \ - Multi Inertial) can output position at a higher rate \nthan the GNSS-only solution. See \ - fused_soln_freq in the INS group.\n".into()), - enumerated_possible_values: None, - digits: None, - }) + Some(&Setting { name: "soln_freq".to_string(), group: "solution".to_string(), kind: SettingKind::Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites. \nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with \na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate \nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None }) ); assert_eq!(Setting::find("solution", "froo_froo"), None); From fd10c1302621fe156fdfa6ab9ef4eb5b2c69081b Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 24 Jul 2023 16:08:37 -0700 Subject: [PATCH 3/6] bump --- src/setting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setting.rs b/src/setting.rs index 24e7ea9..9a2fe65 100644 --- a/src/setting.rs +++ b/src/setting.rs @@ -333,7 +333,7 @@ mod tests { fn test_find_setting() { assert_eq!( Setting::find("solution", "soln_freq"), - Some(&Setting { name: "soln_freq".to_string(), group: "solution".to_string(), kind: SettingKind::Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites. \nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with \na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate \nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None }) + Some(&Setting { name: "soln_freq", group: "solution", kind: Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None } ); assert_eq!(Setting::find("solution", "froo_froo"), None); From 4a6eb0b1a38034118c227f757e4e4e5caa7ac3e3 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 24 Jul 2023 16:11:05 -0700 Subject: [PATCH 4/6] syntax --- src/setting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setting.rs b/src/setting.rs index 9a2fe65..ee740ab 100644 --- a/src/setting.rs +++ b/src/setting.rs @@ -333,7 +333,7 @@ mod tests { fn test_find_setting() { assert_eq!( Setting::find("solution", "soln_freq"), - Some(&Setting { name: "soln_freq", group: "solution", kind: Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None } + Some(&Setting { name: "soln_freq", group: "solution", kind: Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None }) ); assert_eq!(Setting::find("solution", "froo_froo"), None); From d5033582a6bf3d866fae0156abf88591919c8957 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 24 Jul 2023 16:26:29 -0700 Subject: [PATCH 5/6] morp --- src/setting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setting.rs b/src/setting.rs index ee740ab..9a299f6 100644 --- a/src/setting.rs +++ b/src/setting.rs @@ -333,7 +333,7 @@ mod tests { fn test_find_setting() { assert_eq!( Setting::find("solution", "soln_freq"), - Some(&Setting { name: "soln_freq", group: "solution", kind: Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None }) + Some(&Setting { name: "soln_freq".to_string(), group: "solution".to_string(), kind: SettingKind::Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None }) ); assert_eq!(Setting::find("solution", "froo_froo"), None); From e47a5fa60901329c4ee2913a3f2d6d48ba612a95 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 24 Jul 2023 17:14:34 -0700 Subject: [PATCH 6/6] format --- src/setting.rs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/setting.rs b/src/setting.rs index 9a299f6..b2a94d7 100644 --- a/src/setting.rs +++ b/src/setting.rs @@ -333,7 +333,19 @@ mod tests { fn test_find_setting() { assert_eq!( Setting::find("solution", "soln_freq"), - Some(&Setting { name: "soln_freq".to_string(), group: "solution".to_string(), kind: SettingKind::Integer, expert: false, readonly: false, description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), default_value: Some("10".to_string()), notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), units: Some("Hz".to_string()), enumerated_possible_values: None, digits: None }) + Some(&Setting { + name: "soln_freq".to_string(), + group: "solution".to_string(), + kind: SettingKind::Integer, + expert: false, + readonly: false, + description: Some("The frequency at which GNSS navigation solution is computed.\n".to_string()), + default_value: Some("10".to_string()), + notes: Some("Minimum is 1 Hz. Maximum is 10 Hz for RTK positioning with a maximum of 15 used satellites.\nAt 5 Hz and lower the maximum number of used satellites is 22. 20 Hz is an absolute maximum with\na limit of 5 used satellites.\n\nSystem with inertial fusion (Duro Inertial, Piksi Multi Inertial) can output position at a higher rate\nthan the GNSS-only solution. See fused_soln_freq in the INS group.\n".to_string()), + units: Some("Hz".to_string()), + enumerated_possible_values: None, + digits: None + }) ); assert_eq!(Setting::find("solution", "froo_froo"), None);