Implementation. More...
#include "ClientMainloop.h"
#include "RecomposeTransform.h"
#include "WrapRoute.h"
#include <osvr/Server/ConfigureServerFromFile.h>
#include <osvr/Server/RegisterShutdownHandler.h>
#include <osvr/Common/JSONEigen.h>
#include <osvr/ClientKit/ClientKit.h>
#include <osvr/ClientKit/InterfaceStateC.h>
#include <osvr/Util/EigenInterop.h>
#include <boost/program_options.hpp>
#include <boost/thread/thread.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <json/value.h>
#include <json/reader.h>
#include <iostream>
#include <fstream>
#include <exception>
Go to the source code of this file.
Functions | |
void | handleShutdown () |
Shutdown handler function - forcing the server pointer to be global. | |
void | waitForEnter () |
Json::Value | removeCalibration (std::string const &input) |
int | main (int argc, char *argv[]) |
Variables | |
auto | SETTLE_TIME = boost::posix_time::seconds(2) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Deal with command line errors or requests for help
briefly interrupt the client mainloop so we can get stuff done with the client state.
Give the server and client time to react, and to get their console prints out of the way.
Definition at line 85 of file osvr_calibrate.cpp.