Skip to content
Snippets Groups Projects

Resolve "Adapt to const nonconst new API"

Merged Joan Vallvé Navarro requested to merge 25-adapt-to-const-nonconst-new-api into devel
Files
10
@@ -478,8 +478,8 @@ inline bool FactorImu::residual(const Eigen::MatrixBase<D1> & _p1,
inline Eigen::VectorXd FactorImu::expectation() const
{
FrameBasePtr frm_current = getFeature()->getFrame();
FrameBasePtr frm_previous = getFrameOther();
auto frm_current = getFeature()->getFrame();
auto frm_previous = getFrameOther();
//get information on current_frame in the FactorImu
const Eigen::Vector3d frame_current_pos = (frm_current->getP()->getState());
Loading