@@ -40,6 +45,7 @@ class FactorGnssTdcp3d : public FactorAutodiff<FactorGnssTdcp3d, 3, 3, 4, 3, 4,
_sensor_gnss_ptr->getEnuMapYaw()),
sensor_gnss_ptr_(_sensor_gnss_ptr)
{
assert(_ftr_ptr->getMeasurement().size()==3&&"FactorGnssTdcp3d uses 3d measurements. For FeatureGnssTdcp with also delta clock, use FactorGnssTdcpBatch instead");
WOLF_WARN_COND(!sensor_gnss_ptr_->isEnuDefined(),"Creating a GNSS SingleDiff 3D factor without initializing ENU");
@@ -46,6 +46,7 @@ class FactorGnssTdcpBatch : public FactorAutodiff<FactorGnssTdcpBatch, 4, 3, 4,
_sensor_gnss_ptr->getEnuMapYaw()),
sensor_gnss_ptr_(_sensor_gnss_ptr)
{
assert(_ftr_ptr->getMeasurement().size()==4&&"FactorGnssTdcpBatch uses 4d measurements (pos.displacement, delta clock). For FeatureGnssTdcp with only displacement, use FactorGnssTdcp3d instead");
WOLF_WARN_COND(!sensor_gnss_ptr_->isEnuDefined(),"Creating a GNSS SingleDiff 3D factor without initializing ENU");