Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作者,您好,有个问题请教一下 #44

Open
znzouxiaqu opened this issue May 7, 2022 · 0 comments
Open

作者,您好,有个问题请教一下 #44

znzouxiaqu opened this issue May 7, 2022 · 0 comments

Comments

@znzouxiaqu
Copy link

znzouxiaqu commented May 7, 2022

想问一下这个函数的作用:TrajectoryManager::evaluateLidarPose(),包括这里的q_LtoG变量和p_LinG变量的含义,还有result->orientation的含义,感谢,都来自于下面的代码里
bool TrajectoryManager::evaluateLidarPose(double lidar_time,
Eigen::Quaterniond &q_LtoG,
Eigen::Vector3d &p_LinG) const {
double traj_time = lidar_time + lidar_->time_offset();
if (traj_->MinTime() > traj_time || traj_->MaxTime() <= traj_time)
return false;
Result result = traj_->Evaluate( traj_time, EvalOrientation | EvalPosition);
q_LtoG = result->orientation * calib_param_manager->q_LtoI;
p_LinG = result->orientation * calib_param_manager->p_LinI + result->position;
return true;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant