diff --git a/src/main.rs b/src/main.rs index b5d6d463f63dd266d35eb725e77723a93cfba681..53b0cd1979ea04da0756546e1c1a7b36ad1f6bdf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,7 +125,7 @@ fn main() { // request lidar data - thread::sleep(time::Duration::new(3,0)); + //thread::sleep(time::Duration::new(3,0)); let stream_write_response = stream.write(&[65 as u8, 66 as u8]); println!("mapper wrote {:?} to stream.", stream_write_response); @@ -146,7 +146,7 @@ fn main() { request_location_tx.send(false).unwrap(); break; } - thread::sleep(time::Duration::new(1,0*50*1000000)); // from ms to ns + thread::sleep(time::Duration::new(2,0*50*1000000)); // from ms to ns };