ABCDEFG
1
2
Telemetry Packet Data
3
Primarily for Gran Turismo 7, some may be applicable to GT6 and GT Sport.
4
PLEASE NOTE: This is not in any way an OFFICIAL documentation for the telemetry data sent from Gran Turismo 7. Some of the data is still unknown, or there is a lot of uncertainty on how it is used. Everything you will find here is only possible due to the fine work of several individuals, but maybe first and foremost the work of Nenkai.
5
6
Sourced from the following:
7
https://www.gtplanet.net/forum/threads/gt7-is-compatible-with-motion-rig.410728/post-13799643
8
https://github.com/Nenkai/PDTools/issues/14
9
10
Specifically for EzioDash Pro users who are saving telemetry data from within the app – The data is already decrypted! If you want to use the data, you should be able to just fetch it from the offset and parse it as the datatype for that field. The reason for this is that since it was already decoded once, why put another hurdle in the way of progress? Telemetry data from EzioDash Pro is saved in binary .gt7td files, accompanied by a .json file for some metadata. In the metadata you will find which packet size was saved (see below) as well as the granularity (steps between packets) that was used.
11
12
NameTypeBytesOffsetDescription
13
HEARTBEAT "A"Decryption key 0xDEADBEAF
14
magicUInt3240x0"Magic" value, 0x47375330 for GT Sport and GT7, 0x30533647 for GT6
15
posXFloat3240x4Position X; Y points up, XZ is the race track plane. Origin varies by track.
16
posYFloat3240x8Position Y; Y points up, XZ is the race track plane. Origin varies by track.
17
posZFloat3240xCPosition Z; Y points up, XZ is the race track plane. Origin varies by track.
18
velXFloat3240x10Velocity X; In metres/second, normalized gives vehicle direction.
19
velYFloat3240x14Velocity Y; In metres/second, normalized gives vehicle direction.
20
velZFloat3240x18Velocity Z; In metres/second, normalized gives vehicle direction.
21
rotXFloat3240x1CSeems to be the a unit quaternion that gives the rotation of the car relative to the track coordinate system.
22
rotWFloat3240x20Seems to be the a unit quaternion that gives the rotation of the car relative to the track coordinate system.
23
rotYFloat3240x24Seems to be the a unit quaternion that gives the rotation of the car relative to the track coordinate system.
24
rotZFloat3240x28Seems to be the a unit quaternion that gives the rotation of the car relative to the track coordinate system.
25
angXFloat3240x2CAngular velocity; In radians/second, how fast the car turns about an axis.
26
angYFloat3240x30Angular velocity; In radians/second, how fast the car turns about an axis.
27
angZFloat3240x34Angular velocity; In radians/second, how fast the car turns about an axis.
28
rideHeightFloat3240x38Ride/body height; seems to include suspension effects, not completely sure what is measured here.
29
engineRpmFloat3240x3CEngine RPM.
30
IVUInt3240x40Code used to decode the raw packets – you can ignore this.
31
fuelLevelFloat3240x44Amount of of fuel left, starts at Fuel Capacity at start of race. Unreliable for EVs.
32
fuelCapacityFloat3240x48Amount of fuel that can fit in the tank, usually 100 for fossil fuel cars, 5 for the kart. Unreliable for EVs.
33
speedFloat3240x4CSpeed in metres/second, positive even when going in reverse.
34
turboBoostFloat3240x50This value - 1 gives the Turbo Boost display.
35
oilPressureFloat3240x54Oil pressure – Never changes.
36
waterTemperatureFloat3240x58Water temperature – Never changes.
37
oilTemperatureFloat3240x5COil temperature – Never changes.
38
tyreTempFLFloat3240x60Tyre temperature in degrees celsius.
39
tyreTempFRFloat3240x64Tyre temperature in degrees celsius.
40
tyreTempRLFloat3240x68Tyre temperature in degrees celsius.
41
tyreTempRRFloat3240x6CTyre temperature in degrees celsius.
42
packetNumberUInt3240x70Incremental packet number, increases as long as the game is running.
43
currentLapUInt1620x72Current lap in a race, is 0 before starting first lap. 65535 while not on track.
44
raceLapsUInt1620x74Number of laps in a race, remains at 0 for endurance races and time trials.
45
bestLapTimeUInt3240x78Best lap time so far, for the current race. Given in milliseconds.
46
lastLapTimeUInt3240x7CLast lap time set for the current race. Given in milliseconds.
47
timeOfDayUInt3240x80Timestamp in milliseconds for time of day on track. Affected by time progression speed. Useless for timing.
48
racePositionUInt1620x82Position in the race.
49
numberOfCarsUInt1620x84Number of cars in the race.
50
rpmFlashingUInt1620x86RPM for when the rev indicator starts flashing.
51
rpmRevLimiterUInt1620x88RPM for when the rev limiter kicks in.
52
maximumSpeedUInt1620x8AIn-game "maximum speed" – affected by in-game setting for speed units (kph, mph).
53
miscFlagsUInt1620x8CBit field for various things (see ◼︎ below).
54
gearsUInt810x8DTwo 4-bit integers, lower nibble is current gear, upper nibble is suggested gear (see ◼︎ below).
55
throttleInputUInt810x8EThrottle input value as 0-255. See also ◼︎ below.
56
brakeInputUInt810x8FBrake input value as 0-255. See also ◼︎ below.
57
unknown0x93UInt810x90Likely only used for padding.
58
roadPlaneXFloat3240x94Possibly a road plane quaternion – not determined.
59
roadPlaneWFloat3240x98Possibly a road plane quaternion – not determined.
60
roadPlaneYFloat3240x9CPossibly a road plane quaternion – not determined.
61
roadPlaneZFloat3240xA0Possibly a road plane quaternion – not determined.
62
tyreSpeedFLFloat3240xA4Angular speed of the tyre in radians/second, sign opposite to vehicle speed.
63
tyreSpeedFRFloat3240xA8Angular speed of the tyre in radians/second, sign opposite to vehicle speed.
64
tyreSpeedRLFloat3240xACAngular speed of the tyre in radians/second, sign opposite to vehicle speed.
65
tyreSpeedRRFloat3240xB0Angular speed of the tyre in radians/second, sign opposite to vehicle speed.
66
tyreRadiusFLFloat3240xB4Tyre radius in metres, multiply by angular speed to get tyre speed in metres/second.
67
tyreRadiusFRFloat3240xB8Tyre radius in metres, multiply by angular speed to get tyre speed in metres/second.
68
tyreRadiusRLFloat3240xBCTyre radius in metres, multiply by angular speed to get tyre speed in metres/second.
69
tyreRadiusRRFloat3240xC0Tyre radius in metres, multiply by angular speed to get tyre speed in metres/second.
70
suspensionTravelFLFloat3240xC4Likely suspension travel in metres – not determined.
71
suspensionTravelFRFloat3240xC8Likely suspension travel in metres – not determined.
72
suspensionTravelRLFloat3240xCCLikely suspension travel in metres – not determined.
73
suspensionTravelRRFloat3240xD0Likely suspension travel in metres – not determined.
74
unknown0xD4???40xD4Unknown use.
75
unknown0xD8???40xD8Unknown use.
76
unknown0xDC???40xDCUnknown use.
77
unknown0xE0???40xE0Unknown use.
78
unknown0xE4???40xE4Unknown use.
79
unknown0xE8???40xE8Unknown use.
80
unknown0xEC???40xECUnknown use.
81
unknown0xF0???40xF0Unknown use.
82
clutchFloat3240xF4Clutch.
83
clutchEngagedFloat3240xF8Likely clutch engagement.
84
rpmAfterClutchFloat3240xFCRPM after clutch.
85
transmissionTopSpeedFloat3240x100Gear ratio that seem to correspond to the top speed setting of a customizable gear box.
86
gearRatio1stFloat3240x104Gear ratio for 1st gear.
87
gearRatio2ndFloat3240x108Gear ratio for 2nd gear.
88
gearRatio3rdFloat3240x10CGear ratio for 3rd gear.
89
gearRatio4thFloat3240x110Gear ratio for 4th gear.
90
gearRatio5thFloat3240x114Gear ratio for 5th gear.
91
gearRatio6thFloat3240x118Gear ratio for 6th gear.
92
gearRatio7thFloat3240x11CGear ratio for 7th gear.
93
gearRatio8thFloat3240x120Gear ratio for 8th gear.
94
carIdUInt3240x124In-game car id; see https://www.gran-turismo.com/common/dist/gt7/companion/localize16.js
95
PACKET SIZE296
96
97
NameTypeBytesOffsetDescription
98
HEARTBEAT "B"Decryption key 0xDEADBEEF
99
wheelRotationRadiansFloat3240x128This is the steering angle in radians.
100
unknown0x12CFloat3240x12CPossibly lateral slip angle.