1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//! Fahrzeugphysik und Zugbildung.
//!
//! Vehicle physics and train composition.
pub use *;
/// Gibt die Geschwindigkeit über Grund entlang der Fahrzeuglängsachse in m/s zurück.
/// Schlupfende Räder werden nicht berücksichtigt.
///
/// Returns velocity over ground along the vehicle in m/s.
/// Spinning wheels are not taken into account.
/// Gibt die Beschleunigung über Grund entlang der Fahrzeuglängsachse in m/s² zurück.
/// Schlupfende Räder werden nicht berücksichtigt.
///
/// Returns acceleration over ground along the vehicle in m/s².
/// Spinning wheels are not taken into account.
/// Setzt die Lenkkraft der ersten Achse bei Straßenfahrzeugen in Grad.
///
/// Sets the steering force of the first axle for road vehicles, in degrees.
/// Gibt die Kraft zurück, die die Räder in die Lenkung einspeisen.
///
/// Der Wert stammt aus dem letzten Physikschritt und liegt in der normierten
/// Einheit des Lenkkraftspeichers (Trägheit 1). Ein positiver Wert dreht die
/// Lenkung zum rechten Anschlag, ein negativer zum linken. Der eigene Sollwert
/// aus [`set_road_steering_force`] ist nicht enthalten; die Engine multipliziert
/// ihn mit 10, bevor sie ihn in denselben Speicher schreibt.
///
/// Ohne Fahrzeugkontext ist der Wert `NaN`, sonst `0`, wenn keine Radkraft anliegt.
///
/// Returns the force the wheels feed into the steering.
///
/// The value comes from the last physics step, in the normalized steering-force
/// unit (inertia 1). Positive turns the steering toward the right stop, negative
/// toward the left. The command from [`set_road_steering_force`] is not included;
/// the engine multiplies that command by 10 before adding it to the same accumulator.
///
/// Without a vehicle context the value is `NaN`, otherwise `0` when no wheel force is applied.
/// Setzt den Lenkwinkel der ersten Achse direkt, ohne Feder, Dämpfer oder äußere Kräfte.
///
/// `-1.0` ist der linke Anschlag, `+1.0` der rechte. Der Wert gilt nur für den aktuellen Tick.
///
/// Sets the first-axle steering angle directly, bypassing spring, damper and external forces.
///
/// `-1.0` is the left stop, `+1.0` the right stop. The value applies only to the current tick.
/// Manipuliert Federsteifigkeit und Dämpfung der Straßenlenkung.
///
/// Manipulates steering spring stiffness and damping for road vehicles.