Functions | Variables
TimeOfArrivalExample.cpp File Reference

Track a moving object "Time of Arrival" measurements at 4 microphones. More...

#include <gtsam/nonlinear/LevenbergMarquardtOptimizer.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinear/expressions.h>
#include <gtsam_unstable/geometry/Event.h>
#include <gtsam_unstable/slam/TOAFactor.h>
#include <boost/bind.hpp>
#include <boost/format.hpp>
#include <vector>
Include dependency graph for TimeOfArrivalExample.cpp:

Go to the source code of this file.

Functions

NonlinearFactorGraph createGraph (const vector< Point3 > &microphones, const vector< vector< double >> &simulatedTOA)
 
Values createInitialEstimate (size_t n)
 
vector< EventcreateTrajectory (size_t n)
 
vector< Point3defineMicrophones ()
 
int main (int argc, char *argv[])
 
vector< double > simulateTOA (const vector< Point3 > &microphones, const Event &event)
 
vector< vector< double > > simulateTOA (const vector< Point3 > &microphones, const vector< Event > &trajectory)
 

Variables

static const double cm = 1e-2
 
static const TimeOfArrival kTimeOfArrival (330)
 
static const double ms = 1e-3
 

Detailed Description

Track a moving object "Time of Arrival" measurements at 4 microphones.

Author
Frank Dellaert
Jay Chakravarty
Date
March 2020

Definition in file TimeOfArrivalExample.cpp.

Function Documentation

NonlinearFactorGraph createGraph ( const vector< Point3 > &  microphones,
const vector< vector< double >> &  simulatedTOA 
)

Definition at line 93 of file TimeOfArrivalExample.cpp.

Values createInitialEstimate ( size_t  n)

Definition at line 113 of file TimeOfArrivalExample.cpp.

vector<Event> createTrajectory ( size_t  n)

Definition at line 56 of file TimeOfArrivalExample.cpp.

vector<Point3> defineMicrophones ( )

Definition at line 44 of file TimeOfArrivalExample.cpp.

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

Definition at line 124 of file TimeOfArrivalExample.cpp.

vector<double> simulateTOA ( const vector< Point3 > &  microphones,
const Event event 
)

Definition at line 70 of file TimeOfArrivalExample.cpp.

vector<vector<double> > simulateTOA ( const vector< Point3 > &  microphones,
const vector< Event > &  trajectory 
)

Definition at line 82 of file TimeOfArrivalExample.cpp.

Variable Documentation

const double cm = 1e-2
static

Definition at line 37 of file TimeOfArrivalExample.cpp.

const TimeOfArrival kTimeOfArrival(330)
static
const double ms = 1e-3
static

Definition at line 36 of file TimeOfArrivalExample.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42