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
6440480c
Commit
6440480c
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Update hello_wolf_autoconf.cpp
parent
0ca84b1f
No related branches found
No related tags found
2 merge requests
!312
Adress 244: Do not use default yaml params
,
!305
WIP: Resolve "Do not use default YAML params"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hello_wolf/hello_wolf_autoconf.cpp
+2
-1
2 additions, 1 deletion
hello_wolf/hello_wolf_autoconf.cpp
with
2 additions
and
1 deletion
hello_wolf/hello_wolf_autoconf.cpp
+
2
−
1
View file @
6440480c
...
@@ -101,7 +101,7 @@ int main()
...
@@ -101,7 +101,7 @@ int main()
using
namespace
wolf
;
using
namespace
wolf
;
WOLF_TRACE
(
"======== CONFIGURE PROBLEM ======="
)
WOLF_TRACE
(
"======== CONFIGURE PROBLEM ======="
)
;
// Config file to parse. Here is where all the problem is defined:
// Config file to parse. Here is where all the problem is defined:
std
::
string
file
=
std
::
string
(
_WOLF_ROOT_DIR
)
+
"/hello_wolf/hello_wolf_config.yaml"
;
std
::
string
file
=
std
::
string
(
_WOLF_ROOT_DIR
)
+
"/hello_wolf/hello_wolf_config.yaml"
;
...
@@ -110,6 +110,7 @@ int main()
...
@@ -110,6 +110,7 @@ int main()
ParserYAML
parser
=
ParserYAML
(
file
);
ParserYAML
parser
=
ParserYAML
(
file
);
parser
.
parse
();
parser
.
parse
();
ParamsServer
server
=
ParamsServer
(
parser
.
getParams
(),
parser
.
sensorsSerialization
(),
parser
.
processorsSerialization
());
ParamsServer
server
=
ParamsServer
(
parser
.
getParams
(),
parser
.
sensorsSerialization
(),
parser
.
processorsSerialization
());
server
.
print
();
// Wolf problem: automatically build the left branch of the wolf tree from the contents of the params server:
// Wolf problem: automatically build the left branch of the wolf tree from the contents of the params server:
ProblemPtr
problem
=
Problem
::
autoSetup
(
server
);
ProblemPtr
problem
=
Problem
::
autoSetup
(
server
);
...
...
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