Go to the documentation of this file.
23 #include <gtsam_unstable/dllexport.h>
37 class GTSAM_UNSTABLE_EXPORT
Event {
42 inline constexpr
static auto dimension = 4;
45 Event() : time_(0), location_(0, 0, 0) {}
52 : time_(
t), location_(
x,
y,
z) {}
54 double time()
const {
return time_; }
59 static const Matrix14 JacobianZ = (Matrix14() << 0, 0, 0, 1).finished();
60 if (
H) *
H = JacobianZ;
65 void print(
const std::string&
s =
"")
const;
68 bool equals(
const Event&
other,
69 double tol = 1
e-9)
const;
78 return Vector4::Zero();
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange[*:*] noreverse nowriteback set trange[*:*] noreverse nowriteback set urange[*:*] noreverse nowriteback set vrange[*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
const double speed_
signal speed
Array< double, 1, 3 > e(1./3., 0.5, 2.)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Event(double t, double x, double y, double z)
Constructor with doubles.
Both ManifoldTraits and Testable.
Time of arrival to given sensor.
TimeOfArrival(double speed=330)
Constructor with optional speed of signal, in m/sec.
double operator()(const Event &event, const Point3 &sensor, OptionalJacobian< 1, 4 > H1={}, OptionalJacobian< 1, 3 > H2={}) const
Calculate time of arrival, with derivatives.
Point3 location_
Location at time event was generated.
void print(const Matrix &A, const string &s, ostream &stream)
double measure(const Event &event, const Point3 &sensor) const
Calculate time of arrival.
double height(OptionalJacobian< 1, 4 > H={}) const
Event retract(const Vector4 &v) const
Updates a with tangent space delta.
EIGEN_DEVICE_FUNC const Scalar & q
double time_
Time event was generated.
Event()
Default Constructor.
Event(double t, const Point3 &p)
Constructor from time and location.
Array< int, Dynamic, 1 > v
Vector4 localCoordinates(const Event &q) const
Returns inverse retraction.
Double_ distance(const OrientedPlane3_ &p)
double distance3(const Point3 &p1, const Point3 &q, OptionalJacobian< 1, 3 > H1, OptionalJacobian< 1, 3 > H2)
distance between two points
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:01:06