Permalink
Browse files

minor style fixes in main

  • Loading branch information...
richardfuchs committed Jul 12, 2016
1 parent 329166b commit 2c334f2824fe3c57cc7876c0e11f3ae6e4b04413
Showing with 4 additions and 9 deletions.
  1. +4 −9 src/main.cpp
View
@@ -80,7 +80,7 @@ int main(int argc, const char* argv[]) {
std::cout <<"Usage: \n"
" \n"
"Usage 1 (Detection) \n"
"FULL/PATH/TO/VIDEO.mp4 \n"
"FULL/PATH/TO/VIDEO \n"
" \n"
"Usage 2: (Detection and communication) \n"
"a) Start the server: \n"
@@ -110,21 +110,16 @@ int main(int argc, const char* argv[]) {
if(argc == 4){
uint16_t port;
if(str_to_uint16(argv[1],&port))
{
if(str_to_uint16(argv[1],&port)){
//MultithreadedController controller(argv[3],port,argv[2]);
Controller controller;
controller.InitilalizeCarConnection(port,argv[2]);
controller.AnalyseVideo(argv[3]);
}
else
{
else{
cerr << "Could not read port" << endl;
}
}
}
return 0;
}

0 comments on commit 2c334f2

Please sign in to comment.