From dc0ccafb05ae389170101e7ca1a08a9a4f4700c2 Mon Sep 17 00:00:00 2001 From: Tongo Hiti Date: Mon, 3 Sep 2018 20:14:48 +0300 Subject: [PATCH] Adjusting json model - replaced max_angular_speed with torque --- madcars/examples/rust/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/madcars/examples/rust/main.rs b/madcars/examples/rust/main.rs index d6ecd1c..2b07e05 100755 --- a/madcars/examples/rust/main.rs +++ b/madcars/examples/rust/main.rs @@ -148,7 +148,7 @@ mod model { pub car_body_friction: f64, pub car_body_elasticity: f64, pub max_speed: f64, - pub max_angular_speed: f64, + pub torque: f64, pub drive: u32, // Drive type: 1=FF, 2=FR, 3=AWD pub rear_wheel_mass: f64,