Merge pull request #401 from borglab/fix/combinedimuparams-equals
CombinedImuParams Equality Comparisonrelease/4.3a0
						commit
						cc7f603c04
					
				|  | @ -44,7 +44,7 @@ void PreintegrationCombinedParams::print(const string& s) const { | |||
| } | ||||
| 
 | ||||
| //------------------------------------------------------------------------------
 | ||||
| bool PreintegrationCombinedParams::equals(const PreintegrationParams& other, | ||||
| bool PreintegrationCombinedParams::equals(const PreintegratedRotationParams& other, | ||||
|                                   double tol) const { | ||||
|   auto e = dynamic_cast<const PreintegrationCombinedParams*>(&other); | ||||
|   return e != nullptr && PreintegrationParams::equals(other, tol) && | ||||
|  |  | |||
|  | @ -88,7 +88,7 @@ struct GTSAM_EXPORT PreintegrationCombinedParams : PreintegrationParams { | |||
|   } | ||||
| 
 | ||||
|   void print(const std::string& s="") const; | ||||
|   bool equals(const PreintegrationParams& other, double tol) const; | ||||
|   bool equals(const PreintegratedRotationParams& other, double tol) const; | ||||
| 
 | ||||
|   void setBiasAccCovariance(const Matrix3& cov) { biasAccCovariance=cov; } | ||||
|   void setBiasOmegaCovariance(const Matrix3& cov) { biasOmegaCovariance=cov; } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue