CarTelemetryData class
Constructors
-
CarTelemetryData({required int m_speed, required double m_throttle, required double m_steer, required double m_brake, required int m_clutch, required int m_gear, required int m_engineRPM, required int m_drs, required int m_revLightsPercent, required int m_revLightsBitValue, required List<
int> m_brakesTemperature, required List<int> m_tyresSurfaceTemperature, required List<int> m_tyresInnerTemperature, required int m_engineTemperature, required List<double> m_tyresPressure, required List<int> m_surfaceType})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- m_brake ↔ double
-
Amount of brake applied (0.0 to 1.0)
getter/setter pair
-
m_brakesTemperature
↔ List<
int> -
Brakes temperature (celsius) CarWheel
getter/setter pair
- m_clutch ↔ int
-
Amount of clutch applied (0 to 100)
getter/setter pair
- m_drs ↔ int
-
0 = off, 1 = on
getter/setter pair
- m_engineRPM ↔ int
-
Engine RPM
getter/setter pair
- m_engineTemperature ↔ int
-
Engine temperature (celsius)
getter/setter pair
- m_gear ↔ int
-
Gear selected (1-8, N=0, R=-1)
getter/setter pair
- m_revLightsBitValue ↔ int
-
Rev lights (bit 0 = leftmost LED, bit 14 = rightmost LED)
getter/setter pair
- m_revLightsPercent ↔ int
-
Rev lights indicator (percentage)
getter/setter pair
- m_speed ↔ int
-
Speed of car in kilometres per hour
getter/setter pair
- m_steer ↔ double
-
Steering (-1.0 (full lock left) to 1.0 (full lock right))
getter/setter pair
-
m_surfaceType
↔ List<
int> -
Driving surface, see appendices CarWheel
getter/setter pair
- m_throttle ↔ double
-
Amount of throttle applied (0.0 to 1.0)
getter/setter pair
-
m_tyresInnerTemperature
↔ List<
int> -
Tyres inner temperature (celsius) CarWheel
getter/setter pair
-
m_tyresPressure
↔ List<
double> -
Tyres pressure (PSI) CarWheel
getter/setter pair
-
m_tyresSurfaceTemperature
↔ List<
int> -
Tyres surface temperature (celsius) CarWheel
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited