Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+36
@@ -0,0 +1,36 @@
|
||||
#include <iostream>
|
||||
#include <thread>
|
||||
|
||||
#include <TmsIfAdapter/tms_if.h>
|
||||
|
||||
|
||||
int main(int , char *[])
|
||||
{
|
||||
std::cout << "App started ..." << std::endl;
|
||||
|
||||
UAS::TmsIfAdapter::get().test();
|
||||
|
||||
std::cout << "Now waiting ..." << std::endl;
|
||||
|
||||
|
||||
// keep app running:
|
||||
while(true){std::this_thread::sleep_for(std::chrono::milliseconds(500));}
|
||||
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
|
||||
// std::string blub;
|
||||
// std::cin >> blub;
|
||||
|
||||
std::cout << "Stopping ..." << std::endl;
|
||||
|
||||
UAS::TmsIfAdapter::stop();
|
||||
|
||||
std::cout << "Stopped ..." << std::endl;
|
||||
|
||||
// std::this_thread::sleep_for(std::chrono::milliseconds(2000));
|
||||
|
||||
std::cout << "Exit ..." << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user