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>
Go to the source code of this file.
Functions | |
NonlinearFactorGraph | createGraph (const vector< Point3 > µphones, const vector< vector< double >> &simulatedTOA) |
Values | createInitialEstimate (size_t n) |
vector< Event > | createTrajectory (size_t n) |
vector< Point3 > | defineMicrophones () |
int | main (int argc, char *argv[]) |
vector< double > | simulateTOA (const vector< Point3 > µphones, const Event &event) |
vector< vector< double > > | simulateTOA (const vector< Point3 > µphones, const vector< Event > &trajectory) |
Variables | |
static const double | cm = 1e-2 |
static const TimeOfArrival | kTimeOfArrival (330) |
static const double | ms = 1e-3 |
Track a moving object "Time of Arrival" measurements at 4 microphones.
Definition in file TimeOfArrivalExample.cpp.
NonlinearFactorGraph createGraph | ( | const vector< Point3 > & | microphones, |
const vector< vector< double >> & | simulatedTOA | ||
) |
Definition at line 93 of file TimeOfArrivalExample.cpp.
Definition at line 113 of file TimeOfArrivalExample.cpp.
Definition at line 56 of file TimeOfArrivalExample.cpp.
vector<Point3> defineMicrophones | ( | ) |
Definition at line 44 of file TimeOfArrivalExample.cpp.
Definition at line 124 of file TimeOfArrivalExample.cpp.
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.
|
static |
Definition at line 37 of file TimeOfArrivalExample.cpp.
|
static |
|
static |
Definition at line 36 of file TimeOfArrivalExample.cpp.