kernelvex 0.2.0

VEX Controls library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::util::utils::GroupErrors;

pub trait Tank {
    fn drive_tank(&mut self, left: f64, right: f64) -> Result<(), GroupErrors>;
}

pub trait Arcade {
    fn drive_arcade(&mut self, left: f64, right: f64) -> Result<(), GroupErrors>;
}

pub trait CurvatureDrive {
    fn drive_curvature(&mut self, left: f64, right: f64) -> Result<(), GroupErrors>;
}

pub trait Drivetrain {}