CarMotionData class
Constructors
- CarMotionData({required double m_worldPositionX, required double m_worldPositionY, required double m_worldPositionZ, required double m_worldVelocityX, required double m_worldVelocityY, required double m_worldVelocityZ, required int m_worldForwardDirX, required int m_worldForwardDirY, required int m_worldForwardDirZ, required int m_worldRightDirX, required int m_worldRightDirY, required int m_worldRightDirZ, required double m_gForceLateral, required double m_gForceLongitudinal, required double m_gForceVertical, required double m_yaw, required double m_pitch, required double m_roll})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- m_gForceLateral → double
-
Lateral G-Force component
final
- m_gForceLongitudinal → double
-
Longitudinal G-Force component
final
- m_gForceVertical → double
-
Vertical G-Force component
final
- m_pitch → double
-
Pitch angle in radians
final
- m_roll → double
-
Roll angle in radians
final
- m_worldForwardDirX → int
-
World space forward X direction (normalised)
final
- m_worldForwardDirY → int
-
World space forward Y direction (normalised)
final
- m_worldForwardDirZ → int
-
World space forward Z direction (normalised)
final
- m_worldPositionX → double
-
World space X position
final
- m_worldPositionY → double
-
World space Y position
final
- m_worldPositionZ → double
-
World space Z position
final
- m_worldRightDirX → int
-
World space right X direction (normalised)
final
- m_worldRightDirY → int
-
World space right Y direction (normalised)
final
- m_worldRightDirZ → int
-
World space right Z direction (normalised)
final
- m_worldVelocityX → double
-
Velocity in world space X
final
- m_worldVelocityY → double
-
Velocity in world space Y
final
- m_worldVelocityZ → double
-
Velocity in world space Z
final
- m_yaw → double
-
Yaw angle in radians
final
- 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