Skip to content
Snippets Groups Projects
Commit 9d6cc57c authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Add _WOLF_ROOT_DIR to ParserYAML( )

parent 383ec36c
No related branches found
No related tags found
1 merge request!313WIP: Resolve "Processor constructors and creators requiring a sensor pointer?"
Pipeline #4178 passed
...@@ -107,7 +107,7 @@ int main() ...@@ -107,7 +107,7 @@ int main()
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";
// parse file into params server: each param will be retrievable from this params server: // parse file into params server: each param will be retrievable from this params server:
ParserYAML parser = ParserYAML(file); ParserYAML parser = ParserYAML(file, std::string(_WOLF_ROOT_DIR));
parser.parse(); parser.parse();
ParamsServer server = ParamsServer(parser.getParams(), parser.sensorsSerialization(), parser.processorsSerialization()); ParamsServer server = ParamsServer(parser.getParams(), parser.sensorsSerialization(), parser.processorsSerialization());
......
...@@ -15,9 +15,7 @@ config: ...@@ -15,9 +15,7 @@ config:
name: "sen odom" name: "sen odom"
extrinsic: extrinsic:
pose: [0,0, 0] pose: [0,0, 0]
#follow: "/Users/jsola/dev/wolf_lib/core/hello_wolf/sensor_odom_2D.yaml" follow: "hello_wolf/sensor_odom_2D.yaml"
k_disp_to_disp: 0.1
k_rot_to_rot: 0.1
- -
type: "RANGE BEARING" type: "RANGE BEARING"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment