PacketMotionData class
Constructors
-
PacketMotionData({required PacketHeader m_header, required List<
CarMotionData> m_carMotionData, required List<double> m_suspensionPosition, required List<double> m_suspensionVelocity, required List<double> m_suspensionAcceleration, required List<double> m_wheelSpeed, required List<double> m_wheelSlip, required double m_localVelocityX, required double m_localVelocityY, required double m_localVelocityZ, required double m_angularVelocityX, required double m_angularVelocityY, required double m_angularVelocityZ, required double m_angularAccelerationX, required double m_angularAccelerationY, required double m_angularAccelerationZ, required double m_frontWheelsAngle}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- m_angularAccelerationX → double
-
Angular velocity x-component
final
- m_angularAccelerationY → double
-
Angular velocity y-component
final
- m_angularAccelerationZ → double
-
Angular velocity z-component
final
- m_angularVelocityX → double
-
Angular velocity x-component
final
- m_angularVelocityY → double
-
Angular velocity y-component
final
- m_angularVelocityZ → double
-
Angular velocity z-component
final
-
m_carMotionData
→ List<
CarMotionData> -
final
- m_frontWheelsAngle → double
-
Current front wheels angle in radians
final
- m_header → PacketHeader
-
final
- m_localVelocityX → double
-
Velocity in local space(X)
final
- m_localVelocityY → double
-
Velocity in local space(Y)
final
- m_localVelocityZ → double
-
Velocity in local space(Z)
final
-
m_suspensionAcceleration
→ List<
double> -
Acceleration of the suspension at the centre of the car in local space CarWheel
final
-
m_suspensionPosition
→ List<
double> -
Position of the suspension at the centre of the car in local space CarWheel
final
-
m_suspensionVelocity
→ List<
double> -
Velocity of the suspension at the centre of the car in local space CarWheel
final
-
m_wheelSlip
→ List<
double> -
Slip ratio for each wheel CarWheel
final
-
m_wheelSpeed
→ List<
double> -
Speed of each wheel CarWheel
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited