OSVR-Core
Namespaces | Macros | Functions
ConfigurationParser.h File Reference

Header. More...

#include "GetOptionalParameter.h"
#include "OptionalStream.h"
#include "Types.h"
#include <ParseBlobParams.h>
#include <boost/optional.hpp>
#include <json/value.h>
#include <initializer_list>
#include <iostream>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 

Macros

#define PARAMNAME(X)   "'" << X << "'"
 

Functions

const char * osvr::vbtracker::getConfigStringForTargetSet (BuiltInTargetSets target)
 
template<typename EnumType , typename StringifyFunctor >
std::pair< boost::optional< EnumType >, boost::optional< std::string > > osvr::vbtracker::getEnumFromStringParameter (Json::Value const &root, const char memberName[], StringifyFunctor &&stringifyEnum, std::initializer_list< EnumType > const &possibleValues)
 
ConfigParams osvr::vbtracker::parseConfigParams (Json::Value const &root)
 

Detailed Description

Header.

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

Function Documentation

§ getEnumFromStringParameter()

template<typename EnumType , typename StringifyFunctor >
std::pair<boost::optional<EnumType>, boost::optional<std::string> > osvr::vbtracker::getEnumFromStringParameter ( Json::Value const &  root,
const char  memberName[],
StringifyFunctor &&  stringifyEnum,
std::initializer_list< EnumType > const &  possibleValues 
)
inline

found it!

§ parseConfigParams()

ConfigParams osvr::vbtracker::parseConfigParams ( Json::Value const &  root)
inline
Todo:
maybe load a file based on this, in the future

Rear panel stuff

General parameters

Fusion/Calibration parameters

Kalman-related parameters

"Soft Reset" (RANSAC Kalman) parameters

Blob-detection parameters

IMU-related parameters

Rear panel stuff

General parameters

Kalman-related parameters

Blob-detection parameters

Rear panel stuff

General parameters

Kalman-related parameters

Blob-detection parameters