| 360 | |
| 361 | struct PlaneSolver { |
| 362 | PlaneSolver(Eigen::Vector3d curr_point_, |
| 363 | Eigen::Vector3d curr_normal_, |
| 364 | Eigen::Vector3d target_point_, |
| 365 | Eigen::Vector3d target_normal_) |
| 366 | : curr_point(curr_point_), |
| 367 | curr_normal(curr_normal_), |
| 368 | target_point(target_point_), |
| 369 | target_normal(target_normal_){}; |
| 370 | template <typename T> |
| 371 | bool operator()(const T *q, const T *t, T *residual) const { |
| 372 | Eigen::Quaternion<T> q_w_curr{q[3], q[0], q[1], q[2]}; |
nothing calls this directly
no outgoing calls
no test coverage detected