improved telemetry link
reduced send speed and improved receive logic to recover faster a next step is to try forgoing tokio-serial and the codec trait for (hopefully) better real-time performance
This commit is contained in:
parent
ad1f552151
commit
ad82a25329
1 changed files with 32 additions and 13 deletions
|
|
@ -41,7 +41,7 @@ impl RobotState {
|
|||
}
|
||||
|
||||
/// Safe command to send in uncertian states
|
||||
pub fn stopped() -> Self {
|
||||
pub const fn stopped() -> Self {
|
||||
Self { drive: (0.0, 0.0), underglow: Vector3::new(100, 0, 0) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue