From a9d88657580ccc310f16c836d23cc1d71ef59f9f Mon Sep 17 00:00:00 2001 From: Robert Hedman <robert.hedman@mac.com> Date: Mon, 18 Dec 2017 11:19:10 +0100 Subject: [PATCH] small update --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index d9456e4..f6b3b63 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,8 +26,8 @@ const LIDAR_ADDRESS: &str = "127.0.0.1:8080"; const LIDAR_BUF_SIZE: usize = 4096; //Arduinos -const COUNTER_SERIAL_PORT: &str = "/dev/ttyACM0"; -const DRIVER_SERIAL_PORT: &str = "/dev/ttyACM1"; +const COUNTER_SERIAL_PORT: &str = "/dev/ttyACM1"; +const DRIVER_SERIAL_PORT: &str = "/dev/ttyACM0"; //controller const REMOTE_OPERATOR_ADDRESS: &str = "10.9.0.3:50007"; // remember to double check port! @@ -265,7 +265,7 @@ fn main() { println!("R: {}", state.1); }, Err(e) => { - println!("Could not read all bytes: {:?}", e); + println!("Tracker: Could not read all bytes: {:?}", e); }, } -- GitLab