Next batch of changes to support the vision code on the orin
Set up separate camera1 and camera2 data streams.
This includes both argus_camera and april tag detection
Enable channel selection for foxglove image converter
Build and deploy viewer app
Compile multi-camera calibration
Change-Id: I976f7b7594903d632c7481b06784d03c2c05190e
Signed-off-by: Jim Ostrowski <yimmy13@gmail.com>
diff --git a/y2024/vision/foxglove_image_converter.cc b/y2024/vision/foxglove_image_converter.cc
index bfaafc8..c004ac0 100644
--- a/y2024/vision/foxglove_image_converter.cc
+++ b/y2024/vision/foxglove_image_converter.cc
@@ -3,6 +3,7 @@
#include "frc971/vision/foxglove_image_converter_lib.h"
DEFINE_string(config, "aos_config.json", "Path to the config file to use.");
+DEFINE_string(channel, "/camera", "Input/Output channel to use.");
int main(int argc, char *argv[]) {
aos::InitGoogle(&argc, &argv);
@@ -13,7 +14,7 @@
aos::ShmEventLoop event_loop(&config.message());
frc971::vision::FoxgloveImageConverter converter(
- &event_loop, "/camera", "/camera",
+ &event_loop, FLAGS_channel, FLAGS_channel,
frc971::vision::ImageCompression::kJpeg);
event_loop.Run();