44 model, toaMeasurement,
45 Double_(
TimeOfArrival(speed), eventExpression, sensorExpression)) {}
62 boost::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)
noiseModel::Diagonal::shared_ptr model
A "Time of Arrival" factor - so little code seems hardly worth it :-)
Expression< double > Double_
Time of arrival to given sensor.
static void InsertEvent(Key key, const Event &event, boost::shared_ptr< Values > values)
std::uint64_t Key
Integer nonlinear key type.
TOAFactor(const Expression< Event > &eventExpression, const Point3 &sensor, double toaMeasurement, const SharedNoiseModel &model, double speed=330)
noiseModel::Base::shared_ptr SharedNoiseModel