Handling naming of IMU Orin and exiting data collection
Orin2 changed to imu, so need to find way to handle it. This won't
work for other years that have 2 cpus named orin, but will for 2024
Also, when trying to quit, we need to shut down processing to give
the event loop time to exit.
Change-Id: Icc9599456ce82f4b6d1a16f3046d762f26d17f58
Signed-off-by: Jim Ostrowski <yimmy13@gmail.com>
diff --git a/frc971/vision/intrinsics_calibration_lib.h b/frc971/vision/intrinsics_calibration_lib.h
index 605741f..faa82e9 100644
--- a/frc971/vision/intrinsics_calibration_lib.h
+++ b/frc971/vision/intrinsics_calibration_lib.h
@@ -77,6 +77,8 @@
const bool display_undistorted_;
const std::string calibration_folder_;
aos::ExitHandle *exit_handle_;
+
+ bool exit_collection_;
};
} // namespace frc971::vision