TurboMeter - user-grinch/ModelExtras GitHub Wiki

Overview

The Turbo Meter visually represents real-time turbo pressure using an analog-style needle. The needle, identified as x_tm, rotates around the Y-axis to indicate the boost level. This guide outlines how to correctly integrate and configure the Turbo Meter into your vehicle model for accurate simulation on the dashboard.

Needle Naming and Positioning

  1. Needle Naming:

    • Name the needle of your Turbo Meter as x_tm.
  2. Needle Positioning:

    • Position the needle pointing to 0 on the boost scale (i.e., no turbo).

JSONC Configuration Method

Instead of modifying node names manually, use a JSONC configuration file for easier tuning and modularity.

📂 JSONC File Location & Structure

📌 Path: ModelExtras/data/<model_id or model_name>.jsonc
📌 Example File: ModelExtras/data/522.jsonc

{
    "TurboMeter": {
        "MaxTurbo": 15.0,
        "MaxRotation": 180.0
    }
}