From 853d327725387c34ef8e5176469da71683661118 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 9 Jun 2016 00:19:40 -0700 Subject: [PATCH] Deal with Point3 changes --- examples/ImuFactorsExample.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ImuFactorsExample.cpp b/examples/ImuFactorsExample.cpp index 5ede4093b..fe0123bcc 100644 --- a/examples/ImuFactorsExample.cpp +++ b/examples/ImuFactorsExample.cpp @@ -225,7 +225,7 @@ int main(int argc, char* argv[]) // prev_bias.print(); // Print out the position and orientation error for comparison. - Vector3d gtsam_position = prev_state.pose().translation().vector(); + Vector3d gtsam_position = prev_state.pose().translation(); Vector3d position_error = gtsam_position - gps.head<3>(); //cout << "gtsam_position " << gtsam_position.transpose() << endl; //cout << " gps_position " << gps.head<3>().transpose() << endl;