Add grpc initalisation, start adding streaming grpc control

This commit is contained in:
piv
2022-08-07 16:04:07 +09:30
parent d876fcbb2e
commit f48518e88f
5 changed files with 71 additions and 33 deletions

View File

@@ -10,7 +10,7 @@ pub trait Servo {
fn set_frequency(&self, frequency: f64);
}
pub trait Vechicle<T: Servo> {
pub trait Vehicle<T: Servo> {
fn get_throttle_servo() -> T;
fn get_steering_servo() -> T;
}