Typedefs | Functions | Variables
testEvent.cpp File Reference

Unit tests for space time "Event". More...

#include <gtsam/base/numericalDerivative.h>
#include <gtsam/nonlinear/Expression.h>
#include <gtsam_unstable/geometry/Event.h>
#include <CppUnitLite/TestHarness.h>
#include <boost/bind.hpp>
Include dependency graph for testEvent.cpp:

Go to the source code of this file.

Typedefs

typedef Eigen::Matrix< double, 1, 1 > Vector1
 

Functions

int main ()
 
static const Point3 microphoneAt0 (0, 0, 0)
 
static SharedNoiseModel model (noiseModel::Isotropic::Sigma(1, 0.5 *ms))
 
 TEST (Event, Constructor)
 
 TEST (Event, Toa1)
 
 TEST (Event, Toa2)
 
 TEST (Event, Derivatives)
 
 TEST (Event, Expression)
 
 TEST (Event, Retract)
 

Variables

static const double cm = 1e-2
 
static const Event exampleEvent (timeOfEvent, 1, 0, 0)
 
static const double kSpeedOfSound = 340
 
static const TimeOfArrival kToa (kSpeedOfSound)
 
static const double ms = 1e-3
 
static const double timeOfEvent = 25
 

Detailed Description

Unit tests for space time "Event".

Author
Frank Dellaert
Jay Chakravarty
Date
December 2014

Definition in file testEvent.cpp.

Typedef Documentation

typedef Eigen::Matrix<double, 1, 1> Vector1

Definition at line 34 of file testEvent.cpp.

Function Documentation

int main ( void  )

Definition at line 100 of file testEvent.cpp.

static const Point3 microphoneAt0 ( ,
,
 
)
static
static SharedNoiseModel model ( noiseModel::Isotropic::Sigma(1, 0.5 *ms )
static
TEST ( Event  ,
Constructor   
)

Definition at line 45 of file testEvent.cpp.

TEST ( Event  ,
Toa1   
)

Definition at line 51 of file testEvent.cpp.

TEST ( Event  ,
Toa2   
)

Definition at line 58 of file testEvent.cpp.

TEST ( Event  ,
Derivatives   
)

Definition at line 64 of file testEvent.cpp.

TEST ( Event  ,
Expression   
)

Definition at line 79 of file testEvent.cpp.

TEST ( Event  ,
Retract   
)

Definition at line 92 of file testEvent.cpp.

Variable Documentation

const double cm = 1e-2
static

Definition at line 33 of file testEvent.cpp.

const Event exampleEvent(timeOfEvent, 1, 0, 0)
static
const double kSpeedOfSound = 340
static

Definition at line 41 of file testEvent.cpp.

const TimeOfArrival kToa(kSpeedOfSound)
static
const double ms = 1e-3
static

Definition at line 32 of file testEvent.cpp.

const double timeOfEvent = 25
static

Definition at line 37 of file testEvent.cpp.



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