RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Get Ultrasonic Readings (Flowgraph Node)Create Ultrasonic Sensor (Flowgraph Node)

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 ReferenceGE Extensionsflowgraphnodestech

Get Ultrasonic Readings (Flowgraph Node)

- **Node Name:** `Get Ultrasonic Readings`

Overview

  • Node Name: Get Ultrasonic Readings
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/tech/getUltrasonicReadings.lua

Retrieves ultrasonic sensor readings for a previously created sensor.

Pin Schema

Input Pins

PinTypeDescription
sensorIdnumberID of the ultrasonic sensor to read from

Output Pins

None (data is currently dumped to log).

Behavior

  • work() - Calls extensions.tech_sensors.getUltrasonicReadings(sensorId) and dumps the result to the console via dump().

How It Works

  1. First create an ultrasonic sensor using the setupUltrasonicSensor node to get a sensorId.
  2. Connect that ID to this node's sensorId input.
  3. Each frame, the node fetches and logs the sensor readings.
-- The node calls:
local data = extensions.tech_sensors.getUltrasonicReadings(sensorId)
dump(data) -- outputs to console

Notes

  • This node currently only logs readings via dump() - no output pins expose the data.
  • Intended for tech/research sensor workflows.

Key Dependencies

  • extensions.tech_sensors.getUltrasonicReadings() - Retrieves sensor data

Additional Methods

C:init()

Initializes the node, setting up pins and default properties.


See Also

  • Create Ultrasonic Sensor (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

SubString (Flowgraph Node)

- **Node Name:** `SubString`

Create Ultrasonic Sensor (Flowgraph Node)

- **Node Name:** `Create Ultrasonic Sensor`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorHow It WorksNotesKey DependenciesAdditional MethodsC:init()See Also