Commit 0667f045 authored by wangdawei's avatar wangdawei

test

parent 6f8e1bf3
......@@ -306,8 +306,8 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
if(cnt % 10 != 0){
mapPose = mapPose * cloudInfo.filterPoseInfo.increasePose.cast<float>();
}else{
Quaterniond q(mapPose.linear());
Vector3d rpy= RotationQuaternionToEulerVector(q);
Quaternionf q(mapPose.linear());
Vector3f rpy= RotationQuaternionToEulerVector(q);
LOG(INFO) << "guessPose: " << mapPose.translation().transpose()
<< " rpy: " << rpy.transpose();
guessPose.map_point = mapPose.cast<double>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment