Commit 87b6d553 authored by Robert Hedman's avatar Robert Hedman

controller output update

parent e6e2c896
......@@ -157,9 +157,9 @@ fn main() {
// get motors current speeds
println!("Controller: requesting pos data.");
controller_request_location_tx.send(10 as u8).unwrap();
state = controller_send_location_rx.recv().unwrap();
//println!("Controller: requesting pos data.");
//controller_request_location_tx.send(10 as u8).unwrap();
//state = controller_send_location_rx.recv().unwrap();
// PID controller
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment