Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libsettings
20 changes: 8 additions & 12 deletions src/setting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,21 +334,17 @@ mod tests {
assert_eq!(
Setting::find("solution", "soln_freq"),
Some(&Setting {
name: "soln_freq".into(),
group: "solution".into(),
name: "soln_freq".to_string(),
group: "solution".to_string(),
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()),
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,
digits: None
})
);

Expand Down