Move y2023 vision code over to using constants sender
This removes the need for the generated calibration_data.h
Not tested on a pi yet, so I may've messed something up with the
deployment.
Change-Id: Ic46ba861db25033ac21f33f4898cf52afe02f1ab
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/y2023/vision/vision_util.h b/y2023/vision/vision_util.h
new file mode 100644
index 0000000..58f9a7f
--- /dev/null
+++ b/y2023/vision/vision_util.h
@@ -0,0 +1,11 @@
+#ifndef Y2023_VISION_VISION_UTIL_H_
+#define Y2023_VISION_VISION_UTIL_H_
+#include <string_view>
+
+#include "y2023/constants/constants_generated.h"
+namespace y2023::vision {
+
+const frc971::vision::calibration::CameraCalibration *FindCameraCalibration(
+ const y2023::Constants &calibration_data, std::string_view node_name);
+}
+#endif // Y2023_VISION_VISION_UTIL_H_