Skip to content
Snippets Groups Projects
Commit f2e7a90b authored by Robert Hedman's avatar Robert Hedman
Browse files

Small sleep update

parent bdd68ce4
Branches
No related tags found
No related merge requests found
......@@ -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
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment