Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
912998e7
Commit
912998e7
authored
6 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Plain Diff
Merge branch 'devel' into 248-processor-constructors-and-creators-requiring-a-sensor-pointer
parents
e560789e
0bba4b53
No related branches found
No related tags found
1 merge request
!313
WIP: Resolve "Processor constructors and creators requiring a sensor pointer?"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
demos/sensor_odom_3D_HQ.yaml
+2
-2
2 additions, 2 deletions
demos/sensor_odom_3D_HQ.yaml
test/gtest_parser_yaml.cpp
+7
-0
7 additions, 0 deletions
test/gtest_parser_yaml.cpp
test/yaml/sensor_odom_3D.yaml
+2
-2
2 additions, 2 deletions
test/yaml/sensor_odom_3D.yaml
with
11 additions
and
4 deletions
demos/sensor_odom_3D_HQ.yaml
+
2
−
2
View file @
912998e7
...
...
@@ -4,5 +4,5 @@ name: "Main odometer" # This is ignored. The name provided to the SensorF
k_disp_to_disp
:
0.000001
# m^2 / m
k_disp_to_rot
:
0.000001
# rad^2 / m
k_rot_to_rot
:
0.000001
# rad^2 / rad
k_min_disp_var
:
0.00000001
# m^2
k_min_rot_var
:
0.00000001
# rad^2
\ No newline at end of file
min_disp_var
:
0.00000001
# m^2
min_rot_var
:
0.00000001
# rad^2
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/gtest_parser_yaml.cpp
+
7
−
0
View file @
912998e7
...
...
@@ -33,6 +33,13 @@ TEST(ParserYAML, ParseMap)
EXPECT_EQ
(
params
[
"processor1/mymap"
],
"[{k1:v1},{k2:v2},{k3:[v3,v4,v5]}]"
);
// EXPECT_EQ(params["processor1/$mymap/k1"], "v1");
}
TEST
(
ParserYAML
,
FollowFile
)
{
auto
parser
=
parse
(
"test/yaml/params1.yaml"
,
wolf_root
);
auto
params
=
parser
.
getParams
();
EXPECT_EQ
(
params
[
"my_proc_test/max_buff_length"
],
"100"
);
EXPECT_EQ
(
params
[
"my_proc_test/voting_active"
],
"false"
);
}
TEST
(
ParserYAML
,
JumpFile
)
{
auto
parser
=
parse
(
"test/yaml/params3.yaml"
,
wolf_root
);
...
...
This diff is collapsed.
Click to expand it.
test/yaml/sensor_odom_3D.yaml
+
2
−
2
View file @
912998e7
...
...
@@ -4,5 +4,5 @@ name: "Main odometer" # This is ignored. The name provided to the SensorF
k_disp_to_disp
:
0.02
# m^2 / m
k_disp_to_rot
:
0.02
# rad^2 / m
k_rot_to_rot
:
0.01
# rad^2 / rad
min_disp_var
:
0.01
# m^2
min_rot_var
:
0.01
# rad^2
min_disp_var
:
0.01
# m^2
min_rot_var
:
0.01
# rad^2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment