RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
4WD / Transfer Case ControllerAdvanced Coupler ControlAirplane Control SurfacesAxle Lift ControllerBeacon Spin ControllerBeam NavigatorBypass Dampers ControllerController TemplateControl ModesDrag TimerDrive ModesDummy ControllerElectronic Stability Control (ESC)ETK Gauges ControllerVehicle Controllers OverviewHydraulic Suspension ControllerInput/Output Demo ControllerJATO (Jet Assisted Take-Off)Lightbar ControllerLine LockLogger TemplateNitrous Oxide InjectionPlayer ControllerPneumatics System ControllerPower Steering ControllerPyrotechnic Charge ControllerSBR Gauges ControllerShift Lights ControllerTire Pressure ControlTrailer Landing Feet ControllerTwo-Step Launch ControlVivace Gauges ControllerWendover Gauges Controller
Advanced IMU SensorCo-Simulation CouplingGPS SensorIdeal RADAR SensorMesh SensorMQTT Output ControllerPowertrain SensorData RecordersRoads SensorTech Screens ControllerTyre Barrier ControllerVehicle Systems Coupling

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API Referencevecontrollertech

Vehicle Systems Coupling

Bridge interface for connecting vehicle subsystems to external control software. Allows external applications to read vehicle state and inject control commands, enabling hardware-in-the-loop (HIL) testing.

Bridge interface for connecting vehicle subsystems to external control software. Allows external applications to read vehicle state and inject control commands, enabling hardware-in-the-loop (HIL) testing.


Public API

FunctionDescription
initialSetup(config)Sets up the UDP send/receive sockets and calculates synchronization window sizes for stable coupling.
stopCoupling()Closes network sockets and flushes any active debug CSV logs to disk.

Hooks

HookDescription
init(jbeamData)Initializes the co-simulation bridge, ensuring the tech/vehicleSystemsCoupling extension is loaded to manage the lifecycle of the network sockets.
update(dt)The high-frequency synchronization loop. Manages the blocking/non-blocking packet exchange with Simulink, ensuring vehicle state is transmitted and control torques are received within the allowed timing window.
updateWheelsIntermediate(dt)Applies received co-simulation torques directly to the wheel rotators before the physics solver step.

See Also

  • Co-Simulation Coupling — Simulator-level co-simulation
  • MQTT Output — MQTT telemetry

Tyre Barrier Controller

Controls tire barrier objects used in track/course design. Manages the physical behavior and reset logic for deformable tire barriers.

Vehicle Controller

The "brain" of the vehicle — maps player inputs (throttle, brake, clutch) to powertrain actions, manages shifting logic, and handles arcade vs. realistic driving modes. Coordinates between input processing, gear selection, engine control, and dashboard output.

On this page

Public APIHooksSee Also