From 2623e4e8fd6a5f8f580dac94de16eaf394d976bd Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Mon, 22 Jan 2024 09:28:08 +0100 Subject: [PATCH] fix FTBFS --- strand-cam/src/strand-cam.rs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/strand-cam/src/strand-cam.rs b/strand-cam/src/strand-cam.rs index 1f3cab6a2..276c25719 100644 --- a/strand-cam/src/strand-cam.rs +++ b/strand-cam/src/strand-cam.rs @@ -3135,19 +3135,6 @@ where (None, None) }; - // let mainbrain_info = args.mainbrain_internal_addr.map(|addr| { - // let (transmit_msg_tx, transmit_msg_rx) = - // mpsc::channel::(10); - - // MainbrainInfo { - // mainbrain_internal_addr: addr, - // transmit_msg_rx, - // transmit_msg_tx, - // } - // }); - - // let transmit_msg_tx = mainbrain_info.as_ref().map(|i| i.transmit_msg_tx.clone()); - let (cam_args_tx, cam_args_rx) = tokio::sync::mpsc::channel(100); let (led_box_tx_std, mut led_box_rx) = tokio::sync::mpsc::channel(20); @@ -3348,7 +3335,7 @@ where #[cfg(feature = "fiducial")] let format_str_apriltag_csv = args .apriltag_csv_filename_template - .replace("{CAMNAME}", cam_name.as_str()); + .replace("{CAMNAME}", use_camera_name); #[cfg(not(feature = "fiducial"))] let format_str_apriltag_csv = "".into();