recv control input on northbridge
This commit is contained in:
parent
e717238727
commit
b012a83ee0
1 changed files with 28 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
pub const BAUDRATE: u32 = 115200;
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub enum Command {
|
||||
/// Forward, clockwise
|
||||
Twist(f32,f32),
|
||||
|
|
|
|||
Loading…
Reference in a new issue