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
dd67dce5
Commit
dd67dce5
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Fix installers after merge
parent
46e21a2c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!312
Adress 244: Do not use default yaml params
,
!305
WIP: Resolve "Do not use default YAML params"
Pipeline
#4107
passed
5 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/yaml/processor_odom_3D_yaml.cpp
+1
-1
1 addition, 1 deletion
src/yaml/processor_odom_3D_yaml.cpp
src/yaml/sensor_odom_3D_yaml.cpp
+0
-2
0 additions, 2 deletions
src/yaml/sensor_odom_3D_yaml.cpp
test/yaml/processor_odom_3D.yaml
+2
-1
2 additions, 1 deletion
test/yaml/processor_odom_3D.yaml
with
3 additions
and
4 deletions
src/yaml/processor_odom_3D_yaml.cpp
+
1
−
1
View file @
dd67dce5
...
...
@@ -26,7 +26,6 @@ static ProcessorParamsBasePtr createProcessorOdom3DParams(const std::string & _f
if
(
config
[
"type"
].
as
<
std
::
string
>
()
==
"ODOM 3D"
)
{
ProcessorParamsOdom3DPtr
params
=
std
::
make_shared
<
ProcessorParamsOdom3D
>
();
params
->
time_tolerance
=
config
[
"time_tolerance"
]
.
as
<
Scalar
>
();
...
...
@@ -34,6 +33,7 @@ static ProcessorParamsBasePtr createProcessorOdom3DParams(const std::string & _f
params
->
max_buff_length
=
config
[
"max_buff_length"
]
.
as
<
SizeEigen
>
();
params
->
dist_traveled
=
config
[
"dist_traveled"
]
.
as
<
Scalar
>
();
params
->
angle_turned
=
config
[
"angle_turned"
]
.
as
<
Scalar
>
();
params
->
unmeasured_perturbation_std
=
config
[
"unmeasured_perturbation_std"
].
as
<
Scalar
>
();
return
params
;
}
...
...
This diff is collapsed.
Click to expand it.
src/yaml/sensor_odom_3D_yaml.cpp
+
0
−
2
View file @
dd67dce5
...
...
@@ -26,8 +26,6 @@ static IntrinsicsBasePtr createIntrinsicsOdom3D(const std::string & _filename_do
if
(
config
[
"type"
].
as
<
std
::
string
>
()
==
"ODOM 3D"
)
{
// YAML::Node variances = config["motion_variances"];
IntrinsicsOdom3DPtr
params
=
std
::
make_shared
<
IntrinsicsOdom3D
>
();
params
->
k_disp_to_disp
=
config
[
"k_disp_to_disp"
]
.
as
<
Scalar
>
();
...
...
This diff is collapsed.
Click to expand it.
test/yaml/processor_odom_3D.yaml
+
2
−
1
View file @
dd67dce5
...
...
@@ -5,4 +5,5 @@ time_tolerance: 0.01 # seconds
max_time_span
:
0.2
# seconds
max_buff_length
:
10
# motion deltas
dist_traveled
:
0.5
# meters
angle_turned
:
0.1
# radians (1 rad approx 57 deg, approx 60 deg)
\ No newline at end of file
angle_turned
:
0.1
# radians (1 rad approx 57 deg, approx 60 deg)
unmeasured_perturbation_std
:
0.001
\ No newline at end of file
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