OSVR-Core
Classes | Namespaces | Typedefs | Enumerations | Functions
TrackerParameterFinder.cpp File Reference

Implementation. More...

#include "LoadRows.h"
#include "ParamFindingRoutine.h"
#include "ParameterSets.h"
#include "TransformFindingRoutine.h"
#include <osvr/TypePack/ForEachType.h>
#include <osvr/TypePack/Head.h>
#include <osvr/TypePack/List.h>
#include <boost/algorithm/string/predicate.hpp>
#include <iostream>

Classes

struct  PrintParamSetOptions
 
class  ParseArgumentAsParamSet< RefSource >
 

Namespaces

 ps
 Define to add a "press enter to exit" thing at the end.
 

Typedefs

using ps::ParamSets = osvr::typepack::list< ProcessNoiseAndDecay, ProcessNoiseVarianceAndDecay, BrightAndNew, HighResidual, VariancePenalties >
 
using ps::DefaultParamSet = osvr::typepack::head< ps::ParamSets >
 

Enumerations

enum  OptimizationRoutine { RefTracker, ParamViaRansac, ParamViaRefTracker, Unrecognized = -1 }
 Adding a new entry here means you must also add it to RECOGNIZED_ROUTINES, routineToString, and the switch in main(). More...
 

Functions

const char * routineToString (OptimizationRoutine routine)
 
OptimizationRoutine stringToRoutine (const char *routineName)
 
int usage (const char *argv0)
 
template<typename RefSource >
int parseParamSetForParamOptimizer (osvr::vbtracker::ParamOptimizerFunc &func, bool &costOnly, int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Detailed Description

Implementation.

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

Enumeration Type Documentation

§ OptimizationRoutine

enum OptimizationRoutine
strong

Adding a new entry here means you must also add it to RECOGNIZED_ROUTINES, routineToString, and the switch in main().

Function Documentation

§ main()

int main ( int  argc,
char *  argv[] 
)

Didn't recognize that.

Hey, we did recognize that!

There was an error, and the function already told the user about it.

There was an error, and the function already told the user about it.

no param set here

Use optimizer to compute the transforms for the reference tracker, which is mounted effectively rigidly to the desired tracker, but in an unknown relative pose (and a different base coordinate system)