OSVR-Core
Functions | Variables
osvr_calibrate.cpp File Reference

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>

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)
 

Detailed Description

Implementation.

Date
2014
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ main()

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.