HKUST-Aerial-Robotics / VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
GNU General Public License v3.0
4.82k stars 2.07k forks source link

about Utility::deltaQ() #186

Open ghost opened 6 years ago

ghost commented 6 years ago
  1. hi, i donot think why to calculate deltaQ() dq = [1 theta/2];

  2. i think dq should be calculate in this way, do you think so? Eigen::Quaternion dq; const double norm_theta = theta.norm(); const double sin_delta_by_delta = (sin(norm_theta/2) / norm_theta); dq.w() = cos(norm_theta/2); dq.x() = sin_delta_by_delta theta(0); dq.y() = sin_delta_by_delta theta(1); dq.z() = sin_delta_by_delta * theta(2);

jian-li commented 6 years ago

just approximation, the error can be neglected.

chennuo0125-HIT commented 4 years ago

@jian-li how to understand "neglected" ? i dont understand which components can be neglected, hope for your reply