Skip to content

Commit

Permalink
bracket err
Browse files Browse the repository at this point in the history
  • Loading branch information
misha7b committed Jun 9, 2024
1 parent 29e0d7c commit 6e16174
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/navigation/control/navigator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,15 @@ void Navigator::run()

break;
}
}

if (most_recent_keyence_data && most_recent_optical_data && most_recent_accelerometer_data) {
sensor_data_received = true;
if (most_recent_keyence_data && most_recent_optical_data && most_recent_accelerometer_data) {
sensor_data_received = true;
}
}
}

updateSensorData(
most_recent_keyence_data, most_recent_optical_data, most_recent_accelerometer_data);
publishCurrentTrajectory();
updateSensorData(
most_recent_keyence_data, most_recent_optical_data, most_recent_accelerometer_data);
publishCurrentTrajectory();
}
}
} // namespace hyped::navigation

0 comments on commit 6e16174

Please sign in to comment.