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

Cosmetics

parent 1be38ec6
No related branches found
No related tags found
1 merge request!346Resolve "Frame/Capture/Feature/Landmark Other as list/vectors in FactorBase"
Pipeline #5035 failed
This commit is part of merge request !346. Comments created here will be created in the context of that merge request.
...@@ -140,10 +140,12 @@ inline bool FactorDiffDrive::operator ()(const T* const _p1, const T* const _o1, ...@@ -140,10 +140,12 @@ inline bool FactorDiffDrive::operator ()(const T* const _p1, const T* const _o1,
inline Eigen::VectorXd FactorDiffDrive::residual() inline Eigen::VectorXd FactorDiffDrive::residual()
{ {
VectorXd residual(3); VectorXd residual(3);
operator ()(getFrameOther()->getP()->getState().data(), getFrameOther()->getO()->getState().data(), operator ()(getFrameOther() ->getP() ->getState() .data(),
getCapture()->getFrame()->getP()->getState().data(), getFrameOther() ->getO() ->getState() .data(),
getCapture()->getFrame()->getO()->getState().data(), getFrame() ->getP() ->getState() .data(),
getCaptureOther()->getSensorIntrinsic()->getState().data(), residual.data()); getFrame() ->getO() ->getState() .data(),
getCaptureOther() ->getSensorIntrinsic() ->getState() .data(),
residual.data());
return residual; return residual;
} }
......
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