Commit 9a4542ef authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Parse command-line arguments

parent 2b7f6c01
......@@ -27,7 +27,9 @@ int main (int argc, const char* argv[])
ProblemSolverPtr_t problemSolver = ProblemSolver::create ();
problemSolver->pathOptimizers.add ("Walkgen", SmallSteps::create);
CorbaServer corbaServer (problemSolver, argc, argv, true);
WholebodyServer wbsServer (argc, argv, true);
const bool multithread = corbaServer.multiThread();
WholebodyServer wbsServer (argc, argv, multithread);
wbsServer.setProblemSolverMap (corbaServer.problemSolverMap());
try {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment