Package com.highmobility.autoapi
Class Race.State
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Byte>
com.highmobility.value.Bytes
com.highmobility.autoapi.Command
com.highmobility.autoapi.SetCommand
com.highmobility.autoapi.Race.State
- Enclosing class:
- Race
The race state
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.highmobility.autoapi.SetCommand
SetCommand.BaseBuilderNested classes/interfaces inherited from class com.highmobility.autoapi.Command
Command.HandleNotParsedProperty, Command.PropertyIteration, Command.PropertyIterator -
Field Summary
Fields inherited from class com.highmobility.autoapi.Command
BRAND_IDENTIFIER, NONCE_IDENTIFIER, propertyIterator, SIGNATURE_IDENTIFIER, TIMESTAMP_IDENTIFIER, universalPropertyIds, VIN_IDENTIFIERFields inherited from class com.highmobility.value.Bytes
bytesFields inherited from class java.util.AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptiongetAcceleration(Acceleration.Direction direction) Property<com.highmobility.autoapi.value.measurement.Pressure>getBrakeTorqueVectoring(Axle axle) Property<com.highmobility.autoapi.value.measurement.Angle>Property<com.highmobility.autoapi.value.measurement.Angle>Property<com.highmobility.autoapi.value.measurement.AngularVelocity>Methods inherited from class com.highmobility.autoapi.SetCommand
addProperty, createBytes, mandatoryPropertyErrorMessage, optionalPropertyErrorMessageMethods inherited from class com.highmobility.autoapi.Command
findUniversalProperties, findUniversalProperties, getAutoApiVersion, getBrand, getCommandType, getIdentifier, getNonce, getProperties, getProperty, getSignature, getSignedBytes, getTimestamp, getVinMethods inherited from class com.highmobility.value.Bytes
concat, concat, equals, get, getBase64, getBase64UrlSafe, getByteArray, getHex, getLength, getRange, set, set, set, size, toStringMethods inherited from class java.util.AbstractList
add, add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Method Details
-
getAccelerations
- Returns:
- The accelerations
-
getUndersteering
- Returns:
- The understeering percentage between 0.0-1.0 whereas up to 0.2 (20%) is considered OK, up to 0.3 (30%) marginal, over 30% critical
-
getOversteering
- Returns:
- The oversteering percentage between 0.0-1.0 whereas up to 0.2 (20%) is considered OK, up to 30% marginal, over 30% critical
-
getGasPedalPosition
- Returns:
- The gas pedal position between 0.0-1.0, whereas 1.0 (100%) is full throttle
-
getSteeringAngle
- Returns:
- The steering angle, whereas 0.0 is straight ahead, positive number to the right and negative number to the left
-
getBrakePressure
- Returns:
- Brake pressure
-
getYawRate
- Returns:
- Yaw turning rate
-
getRearSuspensionSteering
- Returns:
- Rear suspension steering
-
getElectronicStabilityProgram
- Returns:
- The electronic stability program
-
getBrakeTorqueVectorings
- Returns:
- The brake torque vectorings
-
getGearMode
- Returns:
- The gear mode
-
getSelectedGear
- Returns:
- The selected gear value, if any
-
getBrakePedalPosition
- Returns:
- The brake pedal position between 0.0-1.0, wheras 1.0 (100%) is full brakes
-
getBrakePedalSwitch
- Returns:
- The brake pedal switch
-
getClutchPedalSwitch
- Returns:
- The clutch pedal switch
-
getAcceleratorPedalIdleSwitch
- Returns:
- The accelerator pedal idle switch
-
getAcceleratorPedalKickdownSwitch
- Returns:
- The accelerator pedal kickdown switch
-
getVehicleMoving
- Returns:
- The vehicle moving
-
getDrivetrainState
- Returns:
- State of the drivetrain for starts.
-
getAcceleratorDurations
- Returns:
- Duration during which the accelerator pedal has been pressed more than the given percentage.
-
getAcceleration
- Parameters:
direction- The acceleration type.- Returns:
- Acceleration for the given acceleration type. Null if doesnt exist.
-
getBrakeTorqueVectoring
- Parameters:
axle- The axle.- Returns:
- The Brake Torque Vectoring for the given axle. Null if doesn't exist.
-