Struct VehicleChassisConfig
#[repr(C)]pub struct VehicleChassisConfig {
pub mass: f32,
pub wheelbase: f32,
pub track_width: f32,
pub com_height: f32,
pub max_steering_angle: f32,
pub max_drive_torque: f32,
pub max_brake_torque: f32,
pub rolling_resistance: f32,
pub aerodynamic_drag: f32,
}Expand description
Vehicle chassis physical specifications.
Fields§
§mass: f32Total chassis mass in kg.
wheelbase: f32Wheelbase length (front-to-rear axle distance) in meters.
track_width: f32Track width (left-to-right wheel separation) in meters.
com_height: f32Center-of-mass height above ground in meters.
max_steering_angle: f32Maximum steering lock angle in radians (e.g. 0.61 rad ≈ 35°).
max_drive_torque: f32Maximum engine drive torque in N·m.
max_brake_torque: f32Maximum braking torque in N·m.
rolling_resistance: f32Rolling resistance coefficient $C_{rr}$.
aerodynamic_drag: f32Drag area coefficient $C_d \cdot A$.
Trait Implementations§
§impl Clone for VehicleChassisConfig
impl Clone for VehicleChassisConfig
§fn clone(&self) -> VehicleChassisConfig
fn clone(&self) -> VehicleChassisConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VehicleChassisConfig
§impl Debug for VehicleChassisConfig
impl Debug for VehicleChassisConfig
§impl Default for VehicleChassisConfig
impl Default for VehicleChassisConfig
§fn default() -> VehicleChassisConfig
fn default() -> VehicleChassisConfig
Returns the “default value” for a type. Read more
§impl PartialEq for VehicleChassisConfig
impl PartialEq for VehicleChassisConfig
impl StructuralPartialEq for VehicleChassisConfig
Auto Trait Implementations§
impl Freeze for VehicleChassisConfig
impl RefUnwindSafe for VehicleChassisConfig
impl Send for VehicleChassisConfig
impl Sync for VehicleChassisConfig
impl Unpin for VehicleChassisConfig
impl UnsafeUnpin for VehicleChassisConfig
impl UnwindSafe for VehicleChassisConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more