GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <Event.h>
Public Types | |
enum | { dimension = 4 } |
Public Member Functions | |
Event () | |
Default Constructor. | |
Event (double t, const Point3 &p) | |
Constructor from time and location. | |
Event (double t, double x, double y, double z) | |
Constructor with doubles. | |
double | time () const |
Point3 | location () const |
double | height (OptionalJacobian< 1, 4 > H={}) const |
GTSAM_UNSTABLE_EXPORT void | print (const std::string &s="") const |
GTSAM_UNSTABLE_EXPORT bool | equals (const Event &other, double tol=1e-9) const |
Event | retract (const Vector4 &v) const |
Updates a with tangent space delta. | |
Vector4 | localCoordinates (const Event &q) const |
Returns inverse retraction. | |
A space-time event models an event that happens at a certain 3D location, at a certain time. One use for it is in sound-based or UWB-ranging tracking or SLAM, where we have "time of arrival" measurements at a set of sensors. The TOA functor below provides a measurement function for those applications.
GTSAM_UNSTABLE_EXPORT bool gtsam::Event::equals | ( | const Event & | other, |
double | tol = 1e-9 |
||
) | const |
equals with an tolerance
GTSAM_UNSTABLE_EXPORT void gtsam::Event::print | ( | const std::string & | s = "" | ) | const |
print with optional string