Set IMU pin as input pin when using camera
If we don't set this as an input, it interferes with our PWM signal
Also, setting LED duty_cycle to 0.25, to make it less blinding
Change-Id: I6660273753b42141bf72b6617b06d15a4f97071f
Signed-off-by: Jim Ostrowski <yimmy13@gmail.com>
diff --git a/y2022/vision/camera_reader_main.cc b/y2022/vision/camera_reader_main.cc
index d5ba448..f91b07e 100644
--- a/y2022/vision/camera_reader_main.cc
+++ b/y2022/vision/camera_reader_main.cc
@@ -6,7 +6,7 @@
// bazel run //y2022/vision:camera_reader -- --config y2022/aos_config.json
// --override_hostname pi-7971-1 --ignore_timestamps true
DEFINE_string(config, "aos_config.json", "Path to the config file to use.");
-DEFINE_double(duty_cycle, 0.5, "Duty cycle of the LEDs");
+DEFINE_double(duty_cycle, 0.25, "Duty cycle of the LEDs");
DEFINE_uint32(exposure, 5,
"Exposure time, in 100us increments; 0 implies auto exposure");