22 #include <gtsam/nonlinear/ExpressionFactor.h> 44 model, toaMeasurement,
45 Double_(
TimeOfArrival(speed), eventExpression, sensorExpression)) {}
61 static void InsertEvent(
Key key,
const Event& event,
62 std::shared_ptr<Values> values) {
63 values->insert(key, event);
TOAFactor(const Expression< Event > &eventExpression, const Expression< Point3 > &sensorExpression, double toaMeasurement, const SharedNoiseModel &model, double speed=330)
Definition: TOAFactor.h:40
A "Time of Arrival" factor - so little code seems hardly worth it :-)
Definition: TOAFactor.h:28
Definition: chartTesting.h:28
Time of arrival to given sensor.
Definition: Event.h:87
Vector3 Point3
Definition: Point3.h:38
Definition: Expression.h:36
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:102
TOAFactor(const Expression< Event > &eventExpression, const Point3 &sensor, double toaMeasurement, const SharedNoiseModel &model, double speed=330)
Definition: TOAFactor.h:55
noiseModel::Base::shared_ptr SharedNoiseModel
Definition: NoiseModel.h:741