send tof status to gui
This commit is contained in:
parent
79b22b3cb7
commit
bb974c2015
1 changed files with 27 additions and 6 deletions
|
|
@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
|
|||
/// -1..1
|
||||
pub type Speed = f32;
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub enum ControlPacket {
|
||||
/// Forward, Clockwise
|
||||
Twist(Speed, Speed),
|
||||
|
|
|
|||
Loading…
Reference in a new issue