From 244ea20f9c5061552fdb143b016344db5d711b6a Mon Sep 17 00:00:00 2001 From: Vadim Indelman Date: Mon, 8 Apr 2013 22:49:55 +0000 Subject: [PATCH] Clean-up. --- .../EquivInertialNavFactor_GlobalVel.h | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/gtsam_unstable/navigation/EquivInertialNavFactor_GlobalVel.h b/gtsam_unstable/navigation/EquivInertialNavFactor_GlobalVel.h index 910cc8d63..16063844e 100644 --- a/gtsam_unstable/navigation/EquivInertialNavFactor_GlobalVel.h +++ b/gtsam_unstable/navigation/EquivInertialNavFactor_GlobalVel.h @@ -221,7 +221,7 @@ public: /* Rotation term */ Vector body_deltaAngles_body = delta_angles; - // Convert earth-related terms into the body frame + // Convert earth-related terms into the body frame Matrix body_R_world(world_P1_body.rotation().inverse().matrix()); Vector body_rho = body_R_world * world_rho; Vector body_omega_earth = body_R_world * world_omega_earth; @@ -229,14 +229,6 @@ public: // Incorporate earth-related terms. Note - these are assumed to be constant between t1 and t2. body_deltaAngles_body -= (body_rho + body_omega_earth)*dt12; - // debug - // std::cout<<"Pose1.rotation(): "< p_body_P_sensor = boost::none){ // Note: all delta terms refer to an IMU\sensor system at t0 - // Note: Earth-related terms are not accounted here but are incorporate in predict functions. + // Note: Earth-related terms are not accounted here but are incorporated in predict functions. POSE body_P_sensor = POSE(); bool flag_use_body_P_sensor = false;