Skip to content

Commit

Permalink
Merge pull request #1735 from MichalNowicki/fix/imu-kitti-example-gps
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Mar 22, 2024
2 parents acf457e + d18b406 commit 16346ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/IMUKittiExampleGPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,14 @@ int main(int argc, char* argv[]) {
"-- Starting main loop: inference is performed at each time step, but we "
"plot trajectory every 10 steps\n");
size_t j = 0;
size_t included_imu_measurement_count = 0;

for (size_t i = first_gps_pose; i < gps_measurements.size() - 1; i++) {
// At each non=IMU measurement we initialize a new node in the graph
auto current_pose_key = X(i);
auto current_vel_key = V(i);
auto current_bias_key = B(i);
double t = gps_measurements[i].time;
size_t included_imu_measurement_count = 0;

if (i == first_gps_pose) {
// Create initial estimate and prior on initial pose, velocity, and biases
Expand Down

0 comments on commit 16346ca

Please sign in to comment.