Hi, my name is Neverless, im from the BeamMP development team. We have been contacted by a contractual user of BeamNG.tech earlier this year, who have been experimenting combining .tech with BeamMP to extract data from each client and feeding that into their V2X infrastructure.
Throughout their testing they ran into alot of troubles using the BeamNGPy endpoint to archive their goals. Which essentially was just to extract telemetry from each vehicle in such a session.
So we ended up coming to the conclusion to use the LUA endpoint to extract the data and collect them at the server.
Since i think that this user will likely not be the last to try this approach i decided to open source and release my Telemetry collector to github.
For exact details of what data this script provides, how to use and install this please consult the Github page.
Please be aware that BeamMP was not developed for BeamNG.tech but for BeamNG.drive, and that our multiplayer modification is not officially supported by .tech either. However ive heared from multiple sources that it works very well there too.
So for anyone running into the same problematic.. i hope this helps.
Here is a example single readout.
{
"_VERSION": 1,
"config": {
"config": "settings/default.pc",
"id": 41675,
"jbm": "etkc"
},
"electrics": {
"absActive": false,
"escActive": false,
"hasAbs": true,
"hasEsc": true,
"hasTcs": true,
"odometer": 226.2229014,
"signalHazardActive": false,
"signalLeftActive": false,
"signalReverseActive": false,
"signalRightActive": false,
"tcsActive": false,
"twoStepEnabled": false
},
"energy": {
"mainTank": {
"energyCapacity": 1556250000,
"energyDensity": 41500000,
"energyType": "gasoline",
"fluidCapacity": 50,
"leakRate": 0,
"remainingEnergyCapacity": 1550578432,
"remainingFluidCapacity": 49.81778095
}
},
"gameVersion": "0.35.4.0.18091",
"general": {
"accel": 0.08223197677,
"altToMsl": 224.323525,
"altToSurface": 0.09737449605,
"dir": {
"x": 0.3599453568,
"y": 0.9169647098,
"z": -0.1720905304
},
"dirUp": {
"x": 0.09386821836,
"y": 0.1478624642,
"z": 0.9845432043
},
"heading": 21,
"pos": {
"x": 937.226614,
"y": 627.9459108,
"z": 224.323525
},
"rot": {
"w": -0.1866491735,
"x": 0.03254408017,
"y": 0.08172975481,
"z": 0.9784801006
},
"vel": {
"x": 1.031052828,
"y": 10.31431293,
"z": -2.010768175
}
},
"inputs": {
"brake": 0,
"clutch": 0,
"parkingBrake": 0,
"steering": -0.526658696,
"throttle": 1
},
"time": 15087,
"wheels": {
"FL": {
"angularVelocity": -31.86182976,
"brake": {
"absActive": false,
"absFrequency": 100,
"brakeCoolingArea": 0.150529412,
"brakeCoreEnergyCoef": 0.0002989000478,
"brakeCoreTemperature": 286.3500758,
"brakeDiameter": 0.37,
"brakeMaterial": "carbon-ceramic",
"brakeMeltingPoint": 1800,
"brakeSpecHeat": 820,
"brakeSurfaceEnergyCoef": 0.001693766938,
"brakeSurfaceTemperature": 287.1362922,
"brakeThermalEfficiency": 0.9819911854,
"brakeTorque": 2800,
"brakeType": "carbon-ceramic-vented-disc",
"brakingTorque": 0
},
"contactMaterial": "DIRT_DUSTY",
"contactMaterialID": 14,
"downForce": 5914.234863,
"hasTire": true,
"hubRadius": 0.255,
"isBroken": false,
"isDeflated": false,
"radius": 0.33,
"slip": 2.767340422,
"slipEnergy": 4870.25293,
"treadCoef": 0.4,
"wheelSpeed": 10.46989959
},
"FR": {
"angularVelocity": 29.07282639,
"brake": {
"absActive": true,
"absFrequency": 100,
"brakeCoolingArea": 0.150529412,
"brakeCoreEnergyCoef": 0.0002989000478,
"brakeCoreTemperature": 274.1047585,
"brakeDiameter": 0.37,
"brakeMaterial": "carbon-ceramic",
"brakeMeltingPoint": 1800,
"brakeSpecHeat": 820,
"brakeSurfaceEnergyCoef": 0.001693766938,
"brakeSurfaceTemperature": 271.4348818,
"brakeThermalEfficiency": 0.9758834237,
"brakeTorque": 2800,
"brakeType": "carbon-ceramic-vented-disc",
"brakingTorque": 0
},
"contactMaterial": "DIRT_DUSTY",
"contactMaterialID": 14,
"downForce": 0.0002344078093,
"hasTire": true,
"hubRadius": 0.255,
"isBroken": false,
"isDeflated": false,
"radius": 0.33,
"slip": 1.508722663,
"slipEnergy": 0.2433418781,
"treadCoef": 0.4,
"wheelSpeed": 9.625636369
},
"RL": {
"angularVelocity": -47.3743515,
"brake": {
"absActive": false,
"absFrequency": 100,
"brakeCoolingArea": 0.130874823,
"brakeCoreEnergyCoef": 0.0005518154729,
"brakeCoreTemperature": 267.6956301,
"brakeDiameter": 0.345,
"brakeMaterial": "carbon-ceramic",
"brakeMeltingPoint": 1800,
"brakeSpecHeat": 820,
"brakeSurfaceEnergyCoef": 0.003126954346,
"brakeSurfaceTemperature": 259.0945702,
"brakeThermalEfficiency": 0.9699556541,
"brakeTorque": 1500,
"brakeType": "carbon-ceramic-vented-disc",
"brakingTorque": 0
},
"contactMaterial": "ASPHALT",
"contactMaterialID": 10,
"downForce": 1046.509155,
"hasTire": true,
"hubRadius": 0.255,
"isBroken": false,
"isDeflated": false,
"radius": 0.33,
"slip": 5.81640625,
"slipEnergy": 8452.280273,
"treadCoef": 0.4,
"wheelSpeed": 15.60778231
},
"RR": {
"angularVelocity": 44.74794006,
"brake": {
"absActive": false,
"absFrequency": 100,
"brakeCoolingArea": 0.130874823,
"brakeCoreEnergyCoef": 0.0005518154729,
"brakeCoreTemperature": 261.7592303,
"brakeDiameter": 0.345,
"brakeMaterial": "carbon-ceramic",
"brakeMeltingPoint": 1800,
"brakeSpecHeat": 820,
"brakeSurfaceEnergyCoef": 0.003126954346,
"brakeSurfaceTemperature": 253.4404388,
"brakeThermalEfficiency": 0.9668522191,
"brakeTorque": 1500,
"brakeType": "carbon-ceramic-vented-disc",
"brakingTorque": 0
},
"contactMaterial": "DIRT_DUSTY",
"contactMaterialID": 14,
"downForce": 7256.098633,
"hasTire": true,
"hubRadius": 0.255,
"isBroken": false,
"isDeflated": false,
"radius": 0.33,
"slip": 5.902441025,
"slipEnergy": 25653.81445,
"treadCoef": 0.4,
"wheelSpeed": 14.76346935
}
}
}