Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predict braking distance with wheel encoder #110

Merged
merged 14 commits into from
Jun 1, 2024
Prev Previous commit
Next Next commit
cln
ryescholin committed Jun 1, 2024
commit 1591bcc3858783b64dbcb183c18d3597e8881767
2 changes: 1 addition & 1 deletion pod-operation/src/state_machine.rs
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ use crate::components::wheel_encoder::WheelEncoder;
const TICK_INTERVAL: Duration = Duration::from_millis(10);
const STOP_THRESHOLD: f32 = 37.0; // Meters
const MIN_PRESSURE: f32 = 126.0; // PSI
const END_OF_TRACK: f32 = 8.7; // Metersconst BRAKING_THRESHOLD: f32 = 9.1; // Meters
const END_OF_TRACK: f32 = 8.7; // Meters
const LIM_TEMP_THRESHOLD: f32 = 71.0; //°C
const BRAKING_THRESHOLD: f32 = 9.1; // Meters
const BRAKING_DECELERATION: f32 = -15.14; // m/s^2