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>
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 |
typedef Eigen::Matrix<double, 1, 1> Vector1 |
Definition at line 34 of file testEvent.cpp.
int main | ( | void | ) |
Definition at line 100 of file testEvent.cpp.
|
static |
|
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.
|
static |
Definition at line 33 of file testEvent.cpp.
|
static |
|
static |
Definition at line 41 of file testEvent.cpp.
|
static |
|
static |
Definition at line 32 of file testEvent.cpp.
|
static |
Definition at line 37 of file testEvent.cpp.