Skip to content
Snippets Groups Projects
Commit 9cd5e893 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Key string --> char

parent 4edbbc08
No related branches found
No related tags found
1 merge request!24After 2nd RAL submission
...@@ -75,7 +75,7 @@ inline FactorPixelHp::FactorPixelHp(const FeatureBasePtr& _ftr_ptr, ...@@ -75,7 +75,7 @@ inline FactorPixelHp::FactorPixelHp(const FeatureBasePtr& _ftr_ptr,
_ftr_ptr->getCapture()->getSensorP(), _ftr_ptr->getCapture()->getSensorP(),
_ftr_ptr->getCapture()->getSensorO(), _ftr_ptr->getCapture()->getSensorO(),
_landmark_ptr->getP()), _landmark_ptr->getP()),
intrinsic_(_ftr_ptr->getCapture()->getSensor()->getIntrinsic()->getState()) //TODO: intrinsic intrinsic_(_ftr_ptr->getCapture()->getSensor()->getIntrinsic()->getState())
{ {
// std::cout << "FactorPixelHp::Constructor\n"; // std::cout << "FactorPixelHp::Constructor\n";
// obtain some intrinsics from provided sensor // obtain some intrinsics from provided sensor
......
...@@ -206,9 +206,9 @@ FactorTrifocal::FactorTrifocal(const FeatureBasePtr& _feature_1_ptr, ...@@ -206,9 +206,9 @@ FactorTrifocal::FactorTrifocal(const FeatureBasePtr& _feature_1_ptr,
Matrix<double,3,2> J_e_u3 = J_e_m3 * J_m_u; Matrix<double,3,2> J_e_u3 = J_e_m3 * J_m_u;
// Error covariances induced by each of the measurement covariance // canonical units // Error covariances induced by each of the measurement covariance // canonical units
Matrix3d Q1 = J_e_u1 * _feature_1_ptr ->getMeasurementCovariance() * J_e_u1.transpose(); // FIXME: changed getFeaturePrev() by _feature_1_ptr Matrix3d Q1 = J_e_u1 * _feature_1_ptr ->getMeasurementCovariance() * J_e_u1.transpose();
Matrix3d Q2 = J_e_u2 * _feature_2_ptr ->getMeasurementCovariance() * J_e_u2.transpose(); // FIXME: changed getFeatureOther() by _feature_2_ptr Matrix3d Q2 = J_e_u2 * _feature_2_ptr ->getMeasurementCovariance() * J_e_u2.transpose();
Matrix3d Q3 = J_e_u3 * _feature_own_ptr ->getMeasurementCovariance() * J_e_u3.transpose(); // FIXME: changed getFeature() by _feature_own_ptr Matrix3d Q3 = J_e_u3 * _feature_own_ptr ->getMeasurementCovariance() * J_e_u3.transpose();
// Total error covariance // canonical units // Total error covariance // canonical units
Matrix3d Q = Q1 + Q2 + Q3; Matrix3d Q = Q1 + Q2 + Q3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment