Skip to content
Snippets Groups Projects
Commit 4307d83c authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

WIP

parent 85eac11f
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,8 @@ void ProcessorOdomIcp::computeOdometry(Eigen::Isometry2d map_T_sl, Eigen::Isomet
y = so_T_sl.translation().y();
theta = Eigen::Rotation2Dd(so_T_sl.linear()).angle();
WOLF_INFO("DEBUG ICP LAST TRF ", x, " ", y, " ", theta);
Isometry2d map_T_si = map_T_sl * so_T_sl.inverse() * so_T_si;
// Isometry2d map_T_si = map_T_sl * so_T_sl.inverse() * so_T_si;
Isometry2d map_T_si = so_T_sl.inverse() * so_T_si;
odometry_['P'] = map_T_si.translation();
odometry_['O'] = Vector1d(Rotation2Dd(map_T_si.rotation()).angle());
WOLF_INFO("DEBUG ICP ODOM ", odometry_.vector("PO").transpose());
......
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