diff --git a/src/main.rs b/src/main.rs index d9456e4c3d40cc73ad6c72e2e48a9ad6033b4396..f6b3b6333727264bbb3b08f7547eb38aaf12e4b3 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); }, }