Forward JoystickState to vision pis
This is so the roborio only has to send JoystickState to one node, in order to reduce load.
Signed-off-by: Yash Chainani <yashchainani28@gmail.com>
Change-Id: I098f65ac8a157289a6ad4c4522f45afa46b04453
diff --git a/y2023/vision/image_logger.cc b/y2023/vision/image_logger.cc
index b87cec0..d90f9c2 100644
--- a/y2023/vision/image_logger.cc
+++ b/y2023/vision/image_logger.cc
@@ -62,7 +62,7 @@
});
event_loop.MakeWatcher(
- "/roborio/aos", [&](const aos::JoystickState &joystick_state) {
+ "/imu/aos", [&](const aos::JoystickState &joystick_state) {
const auto timestamp = event_loop.context().monotonic_event_time;
// Store the last time we got disabled
if (enabled && !joystick_state.enabled()) {