Skip to content
Snippets Groups Projects

WIP: Resolve "Processor constructors and creators requiring a sensor pointer?"

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -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);
Loading