Skip to content

Commit d94ba9a

Browse files
committed
linking problem, now using T_SE3 method from Se3tc
1 parent dd8e078 commit d94ba9a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/timeCont/factors/factorLidarMap2PoseInterpolation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include "mrob/factors/factorLidarMap2PoseInterpolation.hpp"
2525
#include <iostream>
26-
using namespace mrob;
26+
using namespace mrob;
2727

2828
FactorLidarMap2PoseInterpolation::FactorLidarMap2PoseInterpolation(
2929
const Mat51 &observation,
@@ -61,8 +61,8 @@ void FactorLidarMap2PoseInterpolation::interpolate_pose(const SE3tc &T_origin, c
6161
matData_t t1 = T_origin.time();
6262
matData_t t2 = T_target.time();
6363
matData_t taw = (t2 - t_obs)/(t2-t1);
64-
SE3 T_org = SE3(T_origin.T().block<4,4>(0,0));
65-
SE3 T_tar = SE3(T_target.T().block<4,4>(0,0));
64+
SE3 T_org = SE3(T_origin.T_SE3());
65+
SE3 T_tar = SE3(T_target.T_SE3());
6666
Mat61 xi_delta = compute_delta(T_org, T_tar, taw);
6767
T_taw_ = SE3(xi_delta)*T_org;
6868

0 commit comments

Comments
 (0)