535 if (!conf.DoParse(argc, argv,
PrintHelp))
541 if (!conf.Has(
"console"))
543 if (conf.Get<
bool>(
"no-dim"))
544 return RunShell<LocalStream, StateMachine, ConnectionLidar>(conf);
546 return RunShell<LocalStream, StateMachineDim, ConnectionDimLidar>(conf);
549 if (conf.Get<
bool>(
"no-dim"))
551 if (conf.Get<
int>(
"console")==0)
552 return RunShell<LocalShell, StateMachine, ConnectionLidar>(conf);
554 return RunShell<LocalConsole, StateMachine, ConnectionLidar>(conf);
558 if (conf.Get<
int>(
"console")==0)
559 return RunShell<LocalShell, StateMachineDim, ConnectionDimLidar>(conf);
561 return RunShell<LocalConsole, StateMachineDim, ConnectionDimLidar>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.