OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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>

Go to the source code of this file.

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 }
 

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

Definition in file TrackerParameterFinder.cpp.

Enumeration Type Documentation

enum OptimizationRoutine
strong

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

Definition at line 55 of file TrackerParameterFinder.cpp.

Function Documentation

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)

Definition at line 197 of file TrackerParameterFinder.cpp.