|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ctdp.rfdynhud.gamedata._TelemetryDataCapsule
public abstract class _TelemetryDataCapsule
Our world coordinate system is left-handed, with +y pointing up. The local vehicle coordinate system is as follows: +x points out the left side of the car (from the driver's perspective) +y points out the roof +z points out the back of the car Rotations are as follows: +x pitches up +y yaws to the right +z rolls to the right
Constructor Summary | |
---|---|
protected |
_TelemetryDataCapsule()
|
Method Summary | |
---|---|
abstract float |
getBrakeTemperature(Wheel wheel)
|
abstract byte[] |
getBuffer()
|
abstract float |
getClutchRPM()
|
abstract short |
getCurrentGear()
|
abstract int |
getCurrentLapNumber()
|
abstract float |
getDeltaTime()
|
abstract short[] |
getDentSevirity()
|
abstract float |
getEngineMaxRPM()
|
abstract float |
getEngineOilTemperature()
|
abstract float |
getEngineRPM()
|
abstract float |
getEngineWaterTemperature()
|
abstract float |
getFuel()
|
abstract float |
getGripFraction(Wheel wheel)
|
abstract float |
getLapStartET()
|
abstract float |
getLastImpactMagnitude()
|
abstract TelemVect3 |
getLastImpactPosition(TelemVect3 lastImpactPos)
location of last impact |
abstract float |
getLastImpactTime()
|
abstract float |
getLateralAcceleration()
|
abstract float |
getLateralForce(Wheel wheel)
|
abstract TelemVect3 |
getLocalAcceleration(TelemVect3 localAccel)
acceleration (meters/sec^2) in local vehicle coordinates |
abstract TelemVect3 |
getLocalRotation(TelemVect3 localRot)
rotation (radians/sec) in local vehicle coordinates |
abstract TelemVect3 |
getLocalRotationalAcceleration(TelemVect3 localRotAccel)
rotational acceleration (radians/sec^2) in local vehicle coordinates |
abstract TelemVect3 |
getLocalVelocity(TelemVect3 localVel)
velocity (meters/sec) in local vehicle coordinates |
abstract float |
getLongitudinalAcceleration()
|
abstract short |
getNumberOfScheduledPitstops()
|
abstract TelemVect3 |
getOrientationX(TelemVect3 oriX)
top row of orientation matrix (also converts local vehicle vectors into world X using dot product) |
abstract TelemVect3 |
getOrientationY(TelemVect3 oriY)
mid row of orientation matrix (also converts local vehicle vectors into world Y using dot product) |
abstract TelemVect3 |
getOrientationZ(TelemVect3 oriZ)
bot row of orientation matrix (also converts local vehicle vectors into world Z using dot product) |
abstract TelemVect3 |
getPosition(TelemVect3 position)
world position in meters |
abstract float |
getPositionX()
|
abstract float |
getPositionY()
|
abstract float |
getPositionZ()
|
abstract float |
getRideHeight(Wheel wheel)
|
abstract float |
getScalarVelocity()
|
abstract float |
getSteeringArmForce()
|
abstract SurfaceType |
getSurfaceType(Wheel wheel)
|
abstract java.lang.String |
getTerrainName(Wheel wheel)
|
abstract float |
getTireLoad(Wheel wheel)
|
abstract float |
getTirePressure(Wheel wheel)
|
abstract float |
getTireTemperature(Wheel wheel,
WheelPart part)
|
abstract float |
getTireWear(Wheel wheel)
|
abstract java.lang.String |
getTrackName()
|
abstract float |
getUnfilteredBrake()
|
abstract float |
getUnfilteredClutch()
|
abstract float |
getUnfilteredSteering()
|
abstract float |
getUnfilteredThrottle()
|
long |
getUpdateId()
This is incremented every time the info is updated. |
abstract java.lang.String |
getVehicleName()
|
abstract float |
getWheelRotation(Wheel wheel)
|
abstract float |
getWheelSuspensionDeflection(Wheel wheel)
|
abstract boolean |
isAnythingDetached()
|
abstract boolean |
isOverheating()
|
abstract boolean |
isWheelDetached(Wheel wheel)
|
abstract boolean |
isWheelFlat(Wheel wheel)
|
abstract void |
loadFromStream(java.io.InputStream in)
|
protected void |
onDataUpdated()
Increments the update ID. |
abstract void |
writeToStream(java.io.OutputStream out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected _TelemetryDataCapsule()
Method Detail |
---|
public abstract byte[] getBuffer()
public final long getUpdateId()
protected void onDataUpdated()
public abstract void loadFromStream(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public abstract void writeToStream(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public abstract float getDeltaTime()
public abstract int getCurrentLapNumber()
public abstract float getLapStartET()
public abstract java.lang.String getVehicleName()
public abstract java.lang.String getTrackName()
public abstract TelemVect3 getPosition(TelemVect3 position)
position
- output buffer
public abstract float getPositionX()
public abstract float getPositionY()
public abstract float getPositionZ()
public abstract TelemVect3 getLocalVelocity(TelemVect3 localVel)
localVel
- output buffer
getScalarVelocity()
public abstract float getScalarVelocity()
getLocalVelocity(TelemVect3)
public abstract TelemVect3 getLocalAcceleration(TelemVect3 localAccel)
localAccel
- output buffer
public abstract float getLongitudinalAcceleration()
public abstract float getLateralAcceleration()
public abstract TelemVect3 getOrientationX(TelemVect3 oriX)
oriX
- output buffer
public abstract TelemVect3 getOrientationY(TelemVect3 oriY)
oriY
- output buffer
public abstract TelemVect3 getOrientationZ(TelemVect3 oriZ)
oriZ
- output buffer
public abstract TelemVect3 getLocalRotation(TelemVect3 localRot)
localRot
- output buffer
public abstract TelemVect3 getLocalRotationalAcceleration(TelemVect3 localRotAccel)
localRotAccel
- output buffer
public abstract short getCurrentGear()
public abstract float getEngineRPM()
public abstract float getEngineWaterTemperature()
public abstract float getEngineOilTemperature()
public abstract float getClutchRPM()
public abstract float getUnfilteredThrottle()
public abstract float getUnfilteredBrake()
public abstract float getUnfilteredClutch()
public abstract float getUnfilteredSteering()
public abstract float getSteeringArmForce()
public abstract float getFuel()
public abstract float getEngineMaxRPM()
public abstract short getNumberOfScheduledPitstops()
public abstract boolean isOverheating()
public abstract boolean isAnythingDetached()
public abstract short[] getDentSevirity()
public abstract float getLastImpactTime()
public abstract float getLastImpactMagnitude()
public abstract TelemVect3 getLastImpactPosition(TelemVect3 lastImpactPos)
lastImpactPos
- output buffer
public abstract float getWheelRotation(Wheel wheel)
wheel
- the requested wheel
public abstract float getWheelSuspensionDeflection(Wheel wheel)
wheel
- the requested wheel
public abstract float getRideHeight(Wheel wheel)
wheel
- the requested wheel
public abstract float getTireLoad(Wheel wheel)
wheel
- the requested wheel
public abstract float getLateralForce(Wheel wheel)
wheel
- the requested wheel
public abstract float getGripFraction(Wheel wheel)
wheel
- the requested wheel
public abstract float getBrakeTemperature(Wheel wheel)
wheel
- the requested wheel
public abstract float getTirePressure(Wheel wheel)
wheel
- the requested wheel
public abstract float getTireTemperature(Wheel wheel, WheelPart part)
wheel
- the requested wheelpart
- the requested wheel part
public abstract float getTireWear(Wheel wheel)
wheel
- the requested wheel
public abstract java.lang.String getTerrainName(Wheel wheel)
wheel
- the requested wheel
public abstract SurfaceType getSurfaceType(Wheel wheel)
wheel
- the requested wheel
public abstract boolean isWheelFlat(Wheel wheel)
wheel
- the requested wheel
public abstract boolean isWheelDetached(Wheel wheel)
wheel
- the requested wheel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |