Unit tests for space time "Event". More...
#include <gtsam/base/numericalDerivative.h>#include <gtsam/nonlinear/Expression.h>#include <gtsam/geometry/Event.h>#include <CppUnitLite/TestHarness.h>
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, Derivatives) | |
| TEST (Event, Expression) | |
| TEST (Event, Retract) | |
| TEST (Event, Toa1) | |
| TEST (Event, Toa2) | |
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 33 of file testEvent.cpp.
| int main | ( | ) |
Definition at line 99 of file testEvent.cpp.
|
static |
|
static |
| TEST | ( | Event | , |
| Constructor | |||
| ) |
Definition at line 44 of file testEvent.cpp.
| TEST | ( | Event | , |
| Derivatives | |||
| ) |
Definition at line 63 of file testEvent.cpp.
| TEST | ( | Event | , |
| Expression | |||
| ) |
Definition at line 78 of file testEvent.cpp.
| TEST | ( | Event | , |
| Retract | |||
| ) |
Definition at line 91 of file testEvent.cpp.
| TEST | ( | Event | , |
| Toa1 | |||
| ) |
Definition at line 50 of file testEvent.cpp.
| TEST | ( | Event | , |
| Toa2 | |||
| ) |
Definition at line 57 of file testEvent.cpp.
|
static |
Definition at line 32 of file testEvent.cpp.
|
static |
|
static |
Definition at line 40 of file testEvent.cpp.
|
static |
|
static |
Definition at line 31 of file testEvent.cpp.
|
static |
Definition at line 36 of file testEvent.cpp.