Before proceeding with a request for a research license of BeamNG.tech, I would like to clarify whether it is strictly necessary for accessing vehicle telemetry data. My main goal is to collect telemetry such as speed, position, temperatures from vehicles within the simulation.
Is BeamNG.tech the only supported way to obtain such data via the API (e.g., BeamNGpy), or is there any way to access this information using the standard version of BeamNG.drive?
Additionally, I would like to know if there is support for collecting telemetry or internal parameters specific to electric vehicles (EVs), such as battery status, motor torque, regenerative braking data, and similar signals.
Hello Erick1-618,
Good news: You can collect comprehensive vehicle telemetry data using the standard BeamNG.drive version without requiring a .tech license.
BeamNG.drive (Standard) - Already Available:
- Speed & Position:
electrics.values.wheelspeed, obj:getPosition()
- Temperatures:
electrics.values.oiltemp, electrics.values.watertemp
- Battery Status: electrics.values.fuel (for EVs)
- Regenerative Braking:
electrics.values.regenThrottle
- Power & Range ( exist in vehicles that have the custom electric motor):
customModules.electricMotorData.currentPower, customModules.electricMotorData.remainingRange
BeamNG.tech - Additional Only:
- Physics-step powertrain sensor
- Direct motor/axle torque data via BeamNGpy
- Programmatic automation
- Advanced Interfaces:
- MATLAB/Simulink - Direct integration with MATLAB and Simulink through S-function, and FMI models
- Python - Full BeamNGpy API access
- FMI - Functional Mock-up Interface support for FMI2 and FMI3
- ROS 2 - Robot Operating System v2 integration
- Lua - Enhanced Lua scripting capabilities
- CAN Bus - Controller Area Network bus interface
- MQTT Protocol - Message Queuing Telemetry Transport
- Other Protocols - Additional communication protocols
Let me know if you need any further clarification or additional details.
Best regards,
What are all the telemetry sensors available for collection?
How do I collect data for logging via beamngpy?
Also which data is retrived from this example? Which format, CSV? :
vehicle.logging.start(
“data”
) # it will save the data in the userfolder/
sleep(10.0)
vehicle.logging.stop()
Thank you!
Hello @erick1-618
BeamNG supports a wide range of telemetry sensors for vehicle data collection. The core sources include:
-
Vehicle Stats Logger (VSL) -some signals are outdated: It has a built-in UI App that allows you to inspect and record common telemetry signals such as speed, RPM, throttle input, gear, and more.
-
Additional Sensors: Besides VSL, additional sensor aren’t included in VLS:
-
Mesh, electrics, stats, Roads , IMU, Damage, Power-train GPS, etc.
Data Logging with BeamNGpy:
The following example logs telemetry for 10 seconds:
vehicle.logging.start(“data”) #data willbe the folder name under your user-folder
sleep(10.0)
vehicle.logging.stop()
This will output a CSV file in your BeamNG.tech user folder directory:
The file is structured as a time series, with each row corresponding to a simulation tick and each column representing a telemetry variable.
Additional Resources:
Let me know if you need any further clarification or additional details.
Best regards,
1 Like